yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] temporizer:
I am able to flash a customized rom only after I flash an unaltered rom. I think it idoes mess the manifest up...

I agree with ScottGood on this one. I usually only flash at home, so I made a batch file on my pc, that I just double click on and everything is transfered.

Great job cyanogen!!! This is the best and most stable build thus far, and I've been with you a while.

Am I able to make a theme now without anticipating a new "optimization" lol :p"?

Good work.

Apply at google.

You'd be a push in with this resume.
[G1 Android Development] njuncos:
i believe cyan has said that he has applied at google before to no avail.
[G1 Android Development] Droid8Apple:
wifi

i turned the wifi "on" which as you know it doesn't say it is on but it is. then i powered off phone and did a hard reset for 10 minutes (i usually do this once every 2 days to give things a rest). when i turned it back on the wifi was actually on and working perfectly. sometimes a reboot or wipe isn't always the answer... go old shool :-)

________________________________________________________________

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] temporizer:
you guys are quick, before I even get done posting...

I had suggested this a while ago, maybe adding a checkmark inquiring "Recovery?" to the shutdown menu.

I would have to agree. Its great at first. But then it really slows down, bad enough that I have to restart my g1, then its really great, then rrreeeaaallllyyyy ssssslllloooowwwww.

My 2 cents ^^ :D
[G1 Android Development] poe11371:
Getting a fc when I try to adjust ringer volume from settings menu.

Did a wipe/flash, on current build, only mod is the PalmPre theme.

Anyone else?
[G1 Android Development] njuncos:
no FC here, but i think it is your theme most likely
[G1 Android Development] iflyabeech:
Why don't you just turn it off?
[G1 Android Development] temporizer:
Yeah, I know, but not with this resume: taking something that Google created and making it 1000 times better.

Done and done.

2 thumbs up.
[G1 Android Development] dwang:
Imo 3.6.5 is the fastest and most lag free version I've used
[G1 Android Development] jklong03:
Sorry, I was addressing the userinit.sh issue and overlooked the referring to the windows signing thread. Excellent work by Stericson!

I have to admit you are right about the time factor of adb vs unzipping and rezipping and resigning. I was more interested in an academic sense and to try and get a better handle on how these updates are processed. Plus just wanted to see if it could be done!

On a side note: take a look at many of my past posts, espically in the old thread, and you can understand my embarrasement of someone "repeating themself once more" about looking at another thread or searching.

BTW, you said post #2 which I quote in its entirety:

Were you implying that adb reference would answer my question about the manifest? :) Just busting your chops, I am sure the #2 was just a typo.
[G1 Android Development] 281:
its great but my house wi fi is not working it says unsucessful every time and then tries to reconnect... its pissing me off i push the wlan.ko and it didnt fix i tried from another build and it said unable to turn on wifi so i pushed back the original hoping for fix but still it doesnt work... any fixes? wwhats going on? btw my network is on wpa 2
[G1 Android Development] Maisum:
is compcache and swapper the same thing?

if so should i turn off swapper?
[G1 Android Development] ubernicholi:
Put audio files here.

/system/sd/media/audio/"notifications""alarms""ringtones""ui"

Those 4 are seperate folders. All lower case.

Then use the userinit.sh posted in the compcache thread, check it it shouls say /system/sd/media /system/media nea the bottom

Then you are good to go.

You can set it up yo copy the audio mod files from something like /system/sd/audiomod to the proper folder. The commands should be in the meltus audio mod/hack thread.

Pm me if you need more help
[G1 Android Development] 281:
plz i really need to use this wifi, mine is unable to connect
[G1 Android Development] ubernicholi:
It would be wise to disable swapper. Also compcache doesnt wear your sd card out
[G1 Android Development] ubernicholi:
did you try to wipe and reflash 3.6.7.2
[G1 Android Development] 281:
yes this is my 2nd time, that was my first thought and still unsucessful
[G1 Android Development] Maisum:
will do...

does it matter when i do the compcache? cause for some stupiiddd reason i did it before i flased -.-..(no wipe)

so is it still in effect?
[G1 Android Development] innerspace:
a thought on compcache and our issues...

There's a chance that the issues we're seeing with compcache might be user-error related. I notice that temporizer and I share a common configuration... we both have linux-swap partitions. Now I've developed some confusion over this configuration. My initial thoughts were that enabling compcache is a good thing, as you get "virtual ram" by compressing the paged files (ie: a 24MB compcache partition will yield you ~72Mb of storage), and that keeping a secondary linux-swap partition would also be good. In the event that the compcache becomes "full" Android would be able to leverage the linux-swap partition as a sort of "secondary storage".

I asked some questions about this is the existing compcache thread here and followed along until the user that was guiding me logged off. I haven't gotten a reply to this question there so I'll pose it here for Cyanogen, master of all that is confusing and addictive.

@Cyanogen:

When I run "free" from adb shell I get output that shows my 24Mb swap partition is active and data is being written to it.

when I run cat /proc/ramzswap from adb shell I get output that shows compcache is active and functioning properly.

This initially led me to believe Android was utilizing both compcache AND the linux-swap partition, however I've been led to believe that the "free" command will yield misleading results and that the current userinit.sh file being offered in the compcache thread actually disables the swap partition.

So, long story short, if we choose to use a linux-swap partition, how do we ensure its not causing issues and that the system is configured correctly.

Alright, someones gabbing in my ear, any insight on this issue would be appreciated. I'll continue this dialogue later.
[G1 Android Development] cjsimokat:
I switched to 3.6.7.1 for compcache and c-groups, but pulled in launcher from 3.6.5 and pulled camera and music from 3.6.7.2, everything is quick as it ever was after these changes.

I do notice the launcher from 3.6.6 and 3.6.7 has a slight lag to it, which may make the overall experience seem laggy, but outside of launcher, all apps are very smooth.
[G1 Android Development] ubernicholi:
are you using a userinit.sh file that is located in system/sd/

if so it will be activated every time you boot.

if not you will have to activate it manually every time you boot.

go here to get the userinit.sh
[G1 Android Development] Maisum:
yeah i did that tutorial..so im good?

i heard someone mentioned something about cgroup or something..

care to tell me what that is?
[G1 Android Development] inoah:
Those of you using compache and noticing sluggish behavior or warm back s after sustained usage: please try lowering swappiness to something like 20. That's what I've been using and I'm not perceiving lag after several hours. Battery is draining but not perceptibly faster than any other time I use wifi, and the back of my phone is not noticably warm.

I'm almost certain that 60 is way too agressive.

DiskSize:	32768 kB
NumReads:	2084
NumWrites:	2696
FailedReads:	0
FailedWrites:	0
InvalidIO:	0
PagesDiscard:	0
ZeroPages:	115
GoodCompress:	70 %
NoCompress:	5 %
PagesStored:	2581
PagesUsed:	929
OrigDataSize:	10324 kB
ComprDataSize:	3682 kB
MemUsedTotal:	3716 kB
[G1 Android Development] 281:
yes i did it twice and it is still unsucssessful?
[G1 Android Development] dwang:
I use the android browser about 80% of the time when I'm on my phone, so the criteria I use for speed and performance is how smoothly the browser scrolls in the xda forums. I also test for how smoothly screen swipes happen in the home app.

I've been switching between 3.6.5 and 3.6.7.2, and 3.6.5 definitely scrolls more smoothly than 3.6.7.2.

I've gone back to 3.6.5 and I've given up on compcache. I thought compcache would be the holy grail but it hasn't turned out that way. A straight swap partition seems to give better performance and battery life than using compcache.

The combination that I've found to give me the best performance is 3.6.5 with a 32meg swap partition and 60 swappiness (after a ton of experimentation). That gives me really smooth browser scrolling and very little browser refresh when I switch in and out of the browser. Using 3.6.7.x and 32/60 swap doesn't yield the same performance results, its slower and more laggy.

It will start lagging a bit after a day or so, but its no where as bad as compcache and I've found that using "advanced task manager" and doing a kill all, or one of those other "kill all" apps will restore the phone's speed immediately.

For some reason, doing a kill all while using a compcache swap, doesn't seem to restore the phone's speed very much. I'm not sure why. I think the problem with compcache is it just takes too much memory away and compression/decompression just isn't fast enough on the 528mhz cpu.

As usual YMMV.

Dave
[G1 Android Development] Nedlinin:
It's more of a curiosity sake - Knowing which direction the ROM is headed and if one should be able to erase their linux-swap partition or not and the like.
[G1 Android Development] njuncos:
i'll put your idea to the test
[G1 Android Development] miketuesday:
Anyone else have a problem with Google Gears not working in 3.6.7.2 ?
[G1 Android Development] miketuesday:
NVM - I pushed Browser.apk from 3.6.5 and it works fine now.
[G1 Android Development] temporizer:
This is ONLY if you have the "dangerSPL". It gives you larger sizes, any other spl will give you "not enough memory"

I have my compcache enabled without the swap, and when I type "free" I get 24 mb swap. I think the compcache replaces the swap partition. And that's what shows instead. I am curious tho: what is the purpose of, and how do I enable, the swap partition backup??
[G1 Android Development] angelogiuffrida:
Brilliant!

Thanks for finding that post (I was just looking for it). :)
[G1 Android Development] Audinator:
I am also having a horrible battery drain issue ever since i switched to 3.6.7.X. lasted about 4 hours, didn't use phone at all, was at work.
[G1 Android Development] ggrant3876:
Don't see an option for fix permissions.
[G1 Android Development] kyralak:
I know they said first boot takes a while..

Its been 25 minutes since flashing CyanogenMod for the firs time... im doing ADB logcat and i am seeing information scrolling really quickly, but it looks like its just doing the same things over and over (cant really tell). The phone itself is at the stage showing blue ANDROID text which is animating.. but this doesnt seem to be going anywhere.

I'm assuming something is wrong, windows doesn't even take this long to install anymore. Is it safe to restart the phone at this point, and try a different rom, or should i wait longer?
[G1 Android Development] renegadedj:
When u reboot into recovery and pick the last option which is console, simply hit enter, type "fix_permissions", enter
[G1 Android Development] innerspace:
i love the 1st post, mods should force it to be stickied on every page.

Thanks for another quick update, will flash in a few and report any problems. You really rock these things out cyanogen, at the top of your game as far as I'm concerned. Thanks for all your efforts!
[G1 Android Development] hedjemunkee:
damn man

I just flashed 3.6.6. I'll get 7 tomorrow. But you are doing great work. Keep it up.
[G1 Android Development] cyanogen:
Running right now with no backing swap and it works great. No major peformance degradation at all.
[G1 Android Development] dwang:
create a userinit.sh file in /system/sd

copy what I wrote and reboot. Enjoy the extra RAM.

To verify, from adb shell do:

cat /proc/ramzswap
[G1 Android Development] Sandhawk:
I'm using a 32mb swap partition as detailed in this thread

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

Should I make any changes to support compcache, or leave as is?
[G1 Android Development] wesbalmer:
Do I add this to the existing .sh, or replace, if I add it should I put it at the end? Sorry.
[G1 Android Development] minesh_1991:
thanks man my favorite rom!
[G1 Android Development] dwang:
Its your file, I have no idea what you have in userinit.sh. If you have code that enables a swap, I would remove that and add the compcache code.
[G1 Android Development] rbgmode:
You are awesome

hey cyanogen did I ever mention you are awesome?

well you are. :D

I know you put a lot of time into making our lives better so thanks bro.

Much appreciated your work is not in vain. Many lives have been touched.

Can someone give this man a beer?

edit: I know you have not worked on hero roms yet but do you plan too? cuz they suck they are too buggy.
[G1 Android Development] ScottGood:
if I already have userinit.sh in /system/sd and it's set for Linux-swap on boot do I need to remove anything or just add your code?

nvmd: answer found above, didn't refresh till posted
[G1 Android Development] dwang:
Hmm I noticed that if you use a backing_swap it only allocates 14megs instead of 24megs for the ramz swap.

Let me just enable it without backing swap.
[G1 Android Development] flexnix:
I was reading on other users experience this problem and one of them suggested maybe going from HardSPL to the latest SPL I found on the code.google.com site. Would it be possible now that I'm running your 3.6.7 to swing back to HardSPL? Also should I wipe before ever updating to a new SPL?
[G1 Android Development] jubeh:
gonna wipe, but i'll put this up for others to test, settings>sounds & display>ringer volume causes force close
[G1 Android Development] ScottGood:
Yep a F/C here as well
[G1 Android Development] Sandhawk:
Yep, same for me. Did not wipe before flash though
[G1 Android Development] flexnix:
Same issue here. I wiped before flashing.
[G1 Android Development] Nedlinin:
Anyone mind explaining the positives/negatives to using compcache on this rom over a swap file setup with something like swapper?
[G1 Android Development] jubeh:
this build is quiiiick!!!
[G1 Android Development] dwang:
http://code.google.com/p/compcache/
[G1 Android Development] njuncos:
So another pesky little FC...that is just what cyan needs. lol
[G1 Android Development] kyralak:
More..

Here is part of what I am seeing repeat..

W/dalvikvm( 4188): threadid=31: thread exiting with uncaught exception (group=0x

4000fe70)

E/AndroidRuntime( 4188): Uncaught handler: thread PowerManagerService exiting du

e to uncaught exception

E/AndroidRuntime( 4188): *** EXCEPTION IN SYSTEM PROCESS. System will crash.

E/AndroidRuntime( 4188): java.lang.NullPointerException

E/AndroidRuntime( 4188): at android.content.ContentQueryMap.<init>(Conten

tQueryMap.java:65)

E/AndroidRuntime( 4188): at com.android.server.PowerManagerService.initIn

Thread(PowerManagerService.java:414)

E/AndroidRuntime( 4188): at com.android.server.PowerManagerService$1.onLo

operPrepared(PowerManagerService.java:374)

E/AndroidRuntime( 4188): at android.os.HandlerThread.run(HandlerThread.ja

va:59)

E/AndroidRuntime( 4188): Crash logging skipped, no checkin service

I/Process ( 4188): Sending signal. PID: 4188 SIG: 9

I/ServiceManager( 2434): service 'batteryinfo' died

I/ServiceManager( 2434): service 'usagestats' died

I/ServiceManager( 2434): service 'package' died

I/ServiceManager( 2434): service 'activity' died

I/ServiceManager( 2434): service 'telephony.registry' died

I/ServiceManager( 2434): service 'SurfaceFlinger' died

I/ServiceManager( 2434): service 'power' died

I/ServiceManager( 2434): service 'content' died

I/ServiceManager( 2434): service 'hardware' died

I/ServiceManager( 2434): service 'battery' died

I/ServiceManager( 2434): service 'meminfo' died

I/ServiceManager( 2434): service 'cpuinfo' died

I/ServiceManager( 2434): service 'activity.broadcasts' died

I/ServiceManager( 2434): service 'activity.services' died

I/ServiceManager( 2434): service 'activity.senders' died

I/ServiceManager( 2434): service 'activity.providers' died

I/ServiceManager( 2434): service 'permission' died

E/installd( 2442): eof

E/installd( 2442): failed to read size

I/installd( 2442): closing connection

I/Zygote ( 4187): Exit zygote because system server (4188) has terminated
[G1 Android Development] ggrant3876:
Thank you, I'm still learning.
[G1 Android Development] kyralak:
hmm

I followed some advice from earlier in the group and deleted the dalvik-cache..

it looked like it exited the loop and kept doing work.. but now adb logcat exited and it says "waiting for device" when i try running adb logcat, and my phone is still at the ANDROID text.. :(
[G1 Android Development] cidica:
Anyone noticing they are not able to get back onto the 3g network after being on a wifi connection? (ie you connect via wifi do not disconnect walk away turn off wifi a few minutes later and the phone will not send e-mail/mms messages) Only way I've been able to fix it is a reboot had this happen to my phone and my brothers phone
[G1 Android Development] tekkitan:
Mmmm Maker's :)
[G1 Android Development] tekkitan:
my wifi is working fine on two different wireless networks.
[G1 Android Development] cjsimokat:
Regarding Market Bug

I have copied the apks for Music, Camera, and Mail back into 3.6.5 and these all seem to jive. I pushed vending.apk to 3.6.5 from 3.6.7.1, but still getting the notification bug. Was there also changes made to the frame work?

I have tried 3.6.7.1 with some apks from 3.6.5, and this worked alright, everything was smooth, but the battery tanked for me, even without compcache.
[G1 Android Development] kyralak:
wohoo

cyanogen pimped out recovery is great. Wiping + reflashing is my friend. Looks like im in!
[G1 Android Development] D-e-v-i-l:
It's seems that copilot is not working very well with Compcache enabled it slows down and jerks.
[G1 Android Development] oldsk00lz:
Am trying now. Baksmali is coming in quite handy!

So far so good. Camera app is working well. Exchange too. Nice on fixing the music memory leak.

My battery is taking a long time to power up. Hmmm, I wondeer if it's related to the following quote.

I saw you mention compcache was wrecking your battery, but I had a similar experience w/o running compcache. I wonder if this may point to a different root cause.

Hmmmm... I would think somethings wacky with the calibration. It does sound like a familiar topic. I'll test this after charging all night... It's charging up reaaaal slow. Battery now shows 23%...looks inaccurate.

Yeh, I was hoping to avoid a wipe, but may need to go down that path.

-oldsk00lz
[G1 Android Development] zombiefly:
my thoughts exactly. You're walking blind in the dark through a room full of deep holes ;)
[G1 Android Development] tekkitan:
question about the work email app. Does it do any calendar/contact/task syncing, or just e-mail? Testing this for work because a co-worker and I have Android phones and trying to convince the boss to switch over :)
[G1 Android Development] angel-78:
All you have to do is hold the home button after you reboot and it will go into the recovery console. Somebody pointed this out a little while back. I do it and it works great, it sure beats powering off and then turning it back on with home pressed down. I hope this helps.
[G1 Android Development] innerspace:
go hither young lad/lass.

letmegooglethatforyou: http://tinyurl.com/nup2m3
[G1 Android Development] tekkitan:
i know you're being a **** but that was awesome :)

thanks. didn't know it was called mail.apk, first time even using it. looks like mail only, for any that care.
[G1 Android Development] nurre:
If it uses too much memory, and your compcache size is too big it'll have problems. As it'll take memory in and out of compcache while using the program. Try reducing your compcache size (or logging in, checking top and seeing how much memory copilot uses, if you can fit it in active memory, and keep "extra" applications in swap it should be fine).
[G1 Android Development] mavgink:
awesome

just updated from 3.6.5... i'm using swapper again againt the browser refresh issue.

exchange app works! push work mail yeah!

awesome job done cyanogen!
[G1 Android Development] innerspace:
Being a **** is always ok, being a dickish **** is unacceptable.

The deal is there are workarounds but they're all clumsy. The best one I've read about is syncing your Exchange calendar and contacts with your gmail/gApps account and then viewing them via the g1 calendar and contacts management apps while using mail.apk or "Work Mail" to connect with the Exchange account but at that point why not just forward your mail to your gmail account and use it primarily. I'm hoping someone somewhere can hack together the advanced sync stuff and make mail.apk more robust in its feature set, we'll just have to hope that certain special someone comes along soon.

And sorry for being a ****, that question has been asked a lot lately and there's a thread devoted to the mail app in this forum. No offense... you know the saying, "You can give a man a fish and he'll eat for a day...".;)
[G1 Android Development] henrylim:
First and foremost, my heartfelt thanks to cyanogen again for a swell ROM.

Secondly, I would like to post a question to this nice community. After every reboot, do you see the Open Overclocker automatically launching? Mine does, and hanged. It doesn't affect the speed and operation of the phone, but I thought I asked so that I can remove this little "glitch" from the excellent work.
[G1 Android Development] tekkitan:
No biggy. I pretty much only pay attention to this thread and the recovery thread in the dev forum. I'd think something like that should be in the app forum, but oh well :)

Seems the mail.apk is different from the HTC Exchange app though according to the thread about it. I know that syncing all that with Gmail may not be desirable for our (my company's) use. We already had a fun experience migrating from mbox in linux to another linux e-mail solution that is compatible with activesync so we can sync calendars/contacts on our phones. Now I just want to get rid of these awesome WinMo phones :rolleyes:
[G1 Android Development] tekkitan:
Nope, because I don't have it installed ;)

Shouldn't need it installed anyways unless you want to change cyan's clock freq.
[G1 Android Development] innerspace:
I own a Pal Treo 700wx... so there!

Yeah I hear ya.

The issue you speak to is exactly why I feel its so important for Android to overcome the Exchange compatibility hurdle. The sooner a solid Exchange capable application is available the sooner we'll be able to pitch Android to our "enterprise" clients without getting boxed into a corner within 5 minutes. I love my G1 and I love the flexibility of the Android G1 and the tech guys I know think its pretty cool too. Unfortunately, "pretty cool" isn't enough of a selling point when you're looking for a solution in, lets say, the medical field. When peoples lives are on the line third party hacks and badly supported/documented applications aren't gonna cut it.

With that being said, I'm sure that a solution will be created and it will most likely involve some of the same brilliant minds that frequent forums like XDA. All it'll take is time, perseverence, and a whole lot of well crafted PR/Marketing to get the app the respect it deserves on the enterprise market. The current players are the big kids on the block, any new competitor will have to scrap out in the parking lot after school to prove their worth.