yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] genez81:
touch no longer works in browser after a phone call

Hello everybody,

I experienced this issue after receiving a phone call while browsing (I was reading this topic but I think it doesn't matter :p)

I have found another post about this issue so I think it could be browser-related and not specific to CM 3.9.1....

(see http://xdaforums.com/showpost.php?p=4092835&postcount=5317 )

Could anyone please confirm this?

Any of you have this issue?

I am able to reproduce it... just browse xda :D and answer to a phone call.

Then the screen dims out even if you touch it. And the browser doesn't respond to touches.

But if you press the red button and then unlock again, touch will work again.

I have no theme installed and wiped before flashing.

G1 with risky spl and 26I radio. CM 3.9.1 + Recovery 1.4.

Thank you all
[G1 Android Development] uwonsum:
Performance tuning and Power Management

This is my userinit.sh script. I am currently testing some virtual memory settings to get the best performance out of swap/compcache. It is supposed to allow more apps to reside in RAM, allow more apps to run without boggling down the system, and at the same time, maintaining good battery life. If you are on build 3.9.1 or newer, 2.6.29-cm should read 2.6.29.6-cm or run uname -r to find out the kernel version and use the output.

The current setting enables compcache with backing_swap (a physical partition). It can also be tested with linux-swap only--just comment out lines beginning with insmod, mknod, and swapon /dev/ramzswap0. Then uncomment swapon /dev/block/mmcblk0p3.

If you wish to test it out only with compcache, comment out the insmod line with backing_swap and uncomment the insmod line with disksize_kb.

The CPU frequency scaling is a line I borrowed from another post here--it allows the device to run at lower CPU speed when the system is idle and then speeds back up as soon as more CPU power is required. Keep in mind that this kernel already has frequency scaling. It's comparable to Cool'n'Quiet--very good for power management.

Now, these are experimental settings...test it and post your experience/results whether good, bad, or ugly.

#!/system/bin/sh
## adb push userinit.sh /system/sd

insmod /system/modules/lib/modules/2.6.29-cm/compcache/xvmalloc.ko;
#insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32768;
#insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko memlimit_kb=32768 backing_swap=/dev/block/mmcblk0p3;
insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko backing_swap=/dev/block/mmcblk0p3;

mknod /dev/ramzswap0 b 253 0;
echo 16 > /proc/sys/vm/swappiness; # default: 60

## Experimental settings
echo 1 > /proc/sys/vm/page-cluster; # default: 3
echo 5 > /proc/sys/vm/laptop_mode; # default: 0
echo 5000 > /proc/sys/vm/dirty_expire_centisecs; # default: 3000
echo 800 > /proc/sys/vm/dirty_writeback_centisecs; # default: 500
echo 10 > /proc/sys/vm/dirty_background_ratio; # default: 5
echo 16 > /proc/sys/vm/dirty_ratio; # default: 10
##

swapon /dev/ramzswap0;
#swapon /dev/block/mmcblk0p3;

## Additional experimental settings
echo 128000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; # default: 245760
##

exit;

## commands to display useful system info
## **Do not uncomment**

# free
# top -m 8; displays only 8 processes
# cat /proc/swaps
# cat /proc/ramzswap0
# cat /proc/meminfo
# sysctl -a | grep vm
# cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
# vmstat -d 5 -n 10

Edit update: 19200 changed to 128000 due to freezing when power plug is removed.
[G1 Android Development] Denkai:
Like the script you got there, however I do have a few questions cause I do want to test it out. first why are the two ins lines have #in front of them? that stops the script what is your intention with those lines and why are they not implemented.

second question is shouldn't your script be for 2.6.29.6-cm?
[G1 Android Development] uwonsum:
I explained the line in the post above.

#insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko disksize_kb=32768;

This was commented out due to some parameters issue with compcache version 0.5.x. It does exactly the same thing as the line below it except defining max swap. Without the limit definition, compcache default to 15% of RAM.

#insmod /system/modules/lib/modules/2.6.29-cm/compcache/ramzswap.ko memlimit_kb=32768 backing_swap=/dev/block/mmcblk0p3;
[G1 Android Development] cjesse:
Compcache doesn't work for 3.9.1 or i don't know which userinit.sh for 3.9.1 to enable it, but third swap partition works.
[G1 Android Development] kyleds:
edge problems

Anyone else having edge internet connection problems? I'm in honolulu and since downloading the 3.9 updates the internet connection seems to disappear randomly, I still have full reception, just browser won't work and the little internet icon in the satuts next to the 4 bars disappears. then I'd have to reboot the phone and it works again. I've cleared the browser cache, history, etc. I don't know if it's related to the build or my connection in Hawaii.
[G1 Android Development] Denkai:
I understand that now, sorry. and for my second question? like I said I'm running 3.9.1 which has the kernal 2.6.29.6? is there an issue with swappiness being set at 16? I'd like to put mine at 20, are there reasons behind it, or just what you like?
[G1 Android Development] Denkai:
uh what did you have before hand? and it is possible if you flashed a theme for 3.9 to 3.9.1 it will have issues. I know I did. as for internet, no problems with either versions. what ROM did you come from?
[G1 Android Development] richpadg:
I am using 3.9.1 currently and should have another G1 soon. My question is, when I get the new phone and get it up to speed, when I put my SD card in, will it pick up all of the installed apps or will I need to reinstall? I am also using Linux-swap, will I need to tell the phone that it exists?
[G1 Android Development] uwonsum:
Read my post on page 100. it tells you how to get compcache working with 3.9.1.
[G1 Android Development] Karolis:
Why don't you just link to your post? Different people have different pagination settings. I've set mine to the max, so I don't even have 100 pages.

Where you talking about this one: http://xdaforums.com/showpost.php?p=4224168&postcount=996 ?

Thanks
[G1 Android Development] uwonsum:
noted for next time :cool:
[G1 Android Development] .PaNiNi.:
is anyone else getting an error when using smilies in gtalk?
[G1 Android Development] CiDhed:
I must be blind because I can't figure out how to disable the vibrate when answering, making or ending calls. Help please?

Ohh and thanks for all your hard work cyanogen.
[G1 Android Development] TheGreenJester:
There currently isn't a toggle for that. Cyanogen said there should be in the next release. For now, it's always on.
[G1 Android Development] Bavilo:
I noticed something. Why does the Power Control widget look different in this build then it does on donut?

I know you ported it but did you leave some things out? In donut theres a green indicator beneath the symbol to show it's active.

It just looks nicer in donut imo :(
[G1 Android Development] CiDhed:
Thanks. I await the next release. :cool:
[G1 Android Development] IamLugo:
So far...

3.9.1 has been running pretty nice. No major issues yet. Thanks to Soulife for the "about:debug" function with the browser. Also I was having the market issues, so I decided it was time for a wipe anyway and that fixed it. Market works fine now. I've realized that I love the new launcher. Using .folders along with hiding all the apps that browse my sd card adds to my feeling of security. I feel more comfortable letting people use my phone now. Keyboard shortcuts bring those apps up when needed so its great. Anyway greatwork cyanogen & all other contributors.

Off topic, @bavilo I know I'm not the only one who has ever said you look like Scott Storch lol, no disrespect of course. You just remind me of him whenever I see your avatar. Maybe its the shades
[G1 Android Development] Bavilo:
Why thank you, I'm honored :)
[G1 Android Development] pshadey:
You should post a copy of your userinit.sh file for others to enjoy, after all this community is all about sharing :-)
[G1 Android Development] ttabbal:
I found one more that might help...

echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/powersave_bias

It hasn't seemed to cause any negative effects anyway, even without the power plug. :D
[G1 Android Development] stellarman:
I too cannot claim to be a Linux coding expert. But, from what I know, it looks like your code to replace the Volume Mods in the userinit.sh is probably failing quietly without your knowledge. Your code tries to alter system files PRIOR to issuing the REMOUNT command (which occurs later in the script). So you are probably getting a read-only system error without knowing it. I suggest you move the 'remount' command and put it before your 'remove' and 'copy' commands.

Anyone with more knowledge feel free to correct me.

Hope this helps.
[G1 Android Development] senaia:
OK, everything is running fine for me, but my boss is running the same build, no theme, no compcache, no A2SD, basically a plain vanilla flavour ROM, he was using browser over wifi, the phone rebooted itself. i can't get a logcat from it as the log collector freezes the phone, (3 finger salute only way to unfreeze) and it's not reading the phone on ADB, any suggestions even tho this information is as vague as humanly possible? thanks in advance
[G1 Android Development] jklong03:
Thanks, but no thanks.

Stellarman you rock! Thanks for taking the time to look this over and you were totally right, I tested by placing a bogus file AudioFilter.csv in my /system/etc folder and after reboot, it was still there! I copied the mount -rw line up to the top of the script and after reboot, everything works fine now!

SO, if anyone downloaded my userinit.zip file, it needs to be edited like I mentioned above! In the meantime, I have re-uploaded the file attachment on my original post with the corrected one.

Good Grief!! I can't even post a simple .sh file without bugs in it! How in the hell does Cyanogen get an entire ROM posted that runs as smoothly as his does?
[G1 Android Development] cyanogen:
Yeah I missed that. I'll try to fix it.
[G1 Android Development] zencloud:
I feel like the "invisible man" :-)

Sorry to be a pest, but is it possible or not to test these roms on the emulator ? Using Nandroid to generate a system.img from someone who is using it ?

Thanks for helping...
[G1 Android Development] TEXASMADE1978:
Thanks

Just wanted to say THANK YOU for all of the hard work you have put in to making Android/G1 be the best possible phone it can be. Just wanted you to know that all of your hard work is very appreciated.

(I know this was off topic, but sometimes thanks needs to be given as well as donations.)

Also 3.91 is working great, nice job.
[G1 Android Development] Bavilo:
Why don't you just download this rom, flash it to your G1 and make a nandroid backup yourself? Would be much faster as opposed to having to upload the files.

Unless you can't flash it, I could upload a backup (my upload sucks though)
[G1 Android Development] zencloud:
Bavilo,

Thanks for your answer,

The problem is that I don't own a G1 yet, so I can only use the emulator (I am using 3.6.5 on it thanks to modaco).

If any of you could prepare a system.img to run on the emulator, I am sure many like me would really really appreciate it. Big thanks! :-)
[G1 Android Development] Bavilo:
Ah ok, give me a few minutes
[G1 Android Development] mygti02:
i seem to be getting a acare error frequently when i press the Home button. I saw a few people having this issue. Hopefully it will be fixed in 3.9.2 :)
[G1 Android Development] cyanogen:
I need a log of the crash.
[G1 Android Development] ZilverZurfarn:
Yes, I too had a Force Close with acore. Once only tho. Hasn't repeated.

/Mats
[G1 Android Development] BamaNZ:
a2dp not so hot

I've been running 3.9.1 since the release and I must say everything was working well until I decided to use my Motorola S9 A2DP bluetooth headphones. I'm getting MAJOR stuttering and audio dropouts that I was not getting prior to 3.9.1. Also, with WiFi turned on the problem increases.

Thanks for the hard work.
[G1 Android Development] Bavilo:
Here's the system.img.

http://sharebee.com/7b5ff589

Just extract it. Enjoy!
[G1 Android Development] zencloud:
Bavilo,

Thanks a lot! You are great man: someone who takes time to help others and teach to the ones that don't know :-)

The rom is working fine but it does not show any "hero" style widgets, etc.

In settings it shows CyanogenMod 3.9.1.

Any hints ?

Did you use Nandroid to create it ? Would you mind to post a brief howto for others to create system.img ?
[G1 Android Development] jklong03:
Update on auto media/Volume hack

Thanks to several PM's between myself and Stellarman (Thanks again!) I made a change to the userinit.sh file that ensures the volume hack files get copied over correctly!

My original instructions (here) on setting up the folder structure on your ext partition are still correct and ARE REQUIRED before you load up this userinit.sh and reboot for the first time.

Anyway, thanks again Stellarman and all who contributed along the way and especially to Denkai for the original userinit.sh file that started all of this!

For those of you joining our program already in progress, this refers to a method (not the only one mind you) of automating the installation of your "Louder" hack files and linking your ringtones to a folder on you sd card so you don't have to reinstall these after you flash a new Cyanogen ROM.

I must admit I am seriously considering the "update.zip" approach mentioned here by Binary100100 since Cyanogen's Recovery 1.4 makes it so easy to flash. Nothing really wrong with the way I do it now, just that something in me hates to have the system do something on every reboot that isn't necessary every time, just the first boot after flashing or wiping!
[G1 Android Development] Bavilo:
Which "Hero" style widgets do you mean? This Rom is built on Cupcake 1.5 r3 with some things added from the Donut branch. There shouldn't be anything from hero in there.

Yea I used Nandroid:

1. Boot your phone into the Recovery Console (hold the "home" key when the phone is powering on) I'm using the Cyanogen 1.4 Recovery Image.

2. Select Nandroid Backup. And wait for it to finish.

3. Reboot the phone using "Home" and "Back"

4. The Nandroid Backup will be located in the root of your sdcard in a folder called "nandroid".
[G1 Android Development] zencloud:
Bavilo,

I guess I meant the SuperHero V3 rom (?), so surely it is a different one from Cyanogen.

Is it a legit rom ? I am totally newbie here...
[G1 Android Development] Bavilo:
Yea you're talking about a different rom then. The SuperHero Rom or any other Hero Rom comes from Leaks.
[G1 Android Development] dwang:
bluez error messages in logcat

I'm seeing a lot of these bluez errors in the logcat

I/ActivityManager( 137): Starting activity: Intent { action=android.intent.acti

on.MAIN categories={android.intent.category.HOME} flags=0x10200000 comp={com.and

roid.launcher/com.android.launcher.Launcher} }

E/BluetoothDeviceService.cpp( 137): common_getRemote: D-Bus error: org.freedesk

top.DBus.Error.ServiceUnknown (The name org.bluez was not provided by any .servi

ce files)

E/bluetooth_common.cpp( 137): dbus_func_args_timeout_valist: D-Bus error in Get

RemoteClass: org.freedesktop.DBus.Error.ServiceUnknown (The name org.bluez was n

ot provided by any .service files)
[G1 Android Development] g2btking:
what do i do with this Theme Template - v3.9.1 (for crazy theme developers):

Download: http://n0rp.chemlab.org/android/expe...9.1-signed.zip
[G1 Android Development] ZilverZurfarn:
You use it as a starting point if you want to create a theme for this version of CyanogenMod.

/Mats
[G1 Android Development] mjb337:
Can any one help me on this question? I upgraded my second partition from ext/2 to ext/3 in terminal with the upgrade_fs am i harming my file system or am i ok? Thankz
[G1 Android Development] Julio C:
Hi, was hesitant to flash to this cause 3.6.7.2 was running so well. But I just kept reading and following this thread and well decided to flash and well...I love it seems faster and I like the sherpa ALOT!!! about to download the weather widget donate to top this off Thank you to all the regular posters, testers and the man himself CYANOGEN and anyone else involved in getting these flashes right, between myself and my friends that have G1's... mine is the one to have lol. Thank you all once again.
[G1 Android Development] Danmalone72:
Ad Hoc ?

How exactly does the Ad hoc work ? Do we need to edit tiwlan.ini ??
[G1 Android Development] ZilverZurfarn:
Well, the intention of upgrade_fs is surely not to harm your file system, so you should be OK. But then again - anything could happen.

Since you've already upgraded - Why do you ask? Are you experiencing any problems?

/Mats
[G1 Android Development] bamatuxfa:
motorola bluetooth headphoones

I don't have mine in front of me but I believe there the same headphones and I had the same experience. To go a little further, mine would drop real bad if I were walking with the phone in my pocket. However, driving or sitting at the desk they seemed to work fine. Will play with them some more tonight.
[G1 Android Development] dwang:
my guess is its related to the bluez errors in the log that I posted about earlier.
[G1 Android Development] rb2k:
3.9.1 seems to give me a < 12h battery life

(only 2g, no wifi, no bluetooth, only using it every 60 minutes for checking emails)
[G1 Android Development] bamatuxfa:
Yes. I was just happy to have it connect. Really wasn't expecting it to work. Now if I can get the volume up all will be good.

Working on installing the SDk.

May be able to help a little then.
[G1 Android Development] kingsizeriz:
Couple of FC's in Third party apps - opera, fbabble etc..
[G1 Android Development] Bavilo:
That's because this Rom is built from Android 1.5_R3. It's up to the App developers to make their Apps work with this Rom.
[G1 Android Development] skaterA223:
hay still new to this do i have to wipe then install i have the dudes cupcake 1.3r2 or something like that please help would like to get rom and have my rootede phone updated with the new spls and radios etc.. ppl help and thanks to everyone:)
[G1 Android Development] genez81:
I am running 3.9.1 and I don't have any FC in 3rd party apps.

1.5r3 is backwards-compatible, also.

So I think the problem is somewhere else...
[G1 Android Development] Bavilo:
Not sure, When CM was still on 1.5r2 apps like Bluex worked fine. Immediately when he switched to 1.5r3 it stopped working.
[G1 Android Development] Bavilo:
Yes a wipe would be recommended
[G1 Android Development] kyleds:
I came from 3.9 and I got the updated 3.9.1 aeroblack theme
[G1 Android Development] skaterA223:
thanks fro the helphttp://xdaforums.com/images/smilies/smile.gif
[G1 Android Development] cal3thousand:
Some programs need to uninstalled and reinstalled when flashing a ROM as they need to be registered and permissioned properly.

Mybackup is one that is notorious for this issue.
[G1 Android Development] naTTan:
Was there anywhere in the thread, anyone got a problem with the browser crashing everytime you open it? If so is there a solution and can someone kindly point me towards it? Search gives out to many result =(
[G1 Android Development] njuncos:
For Browser Crash

Goto settings - applications - manage applications and clear cache in the Browser
[G1 Android Development] smeat:
Found just a few pages back.
[G1 Android Development] beast.in.black:
getcyan has been updated

The getcyan script, to fetch cyanogen's ROMs, has been updated to version 2.0.

Details here: http://xdaforums.com/showthread.php?p=4228830

I would recommend that anyone using this script upgrade to 2.0 for the nice new functionality :D

@cyanogen: Please use the new version of the script in future ROMs :D
[G1 Android Development] Binary100100:
I've been running that app since RC29 or 30. I've never noticed a drain that fast and it's been over a month since the last update to the app. There has to be something else contributing. Either that or my battery is taking a crap on me.

Just last night my battery when from 100% to 50% in about 4 hours. There is no way that app drained it so quickly with just bluetooth and wifi on.

2am... 100%

Watched Burn after reading and Apollo 13 On Demand.

5ish... 60% Made a 15 minute call to the girlfriend to make sure she was up for work.

6ish... 50%.

Hell... my screen wasn't even on. I noticed it was at 50% when I connected it to a charger. Or perhaps my phone is not reading my battery correctly. But I've never notice this much drain before. It can normally last a 2 hour conversation. Now it decreases by 10% with a 15 minute conversation. Now that I think about it... the most serious battery draining change would have to be the modified dialer that doesn't time out. Or could it be the 1.33.2005 SPL? Those have been my only changes since your 3.6 builds. But I am pretty sure it's the dialer that has to be killing it a lot faster. Only explaination. But it's not the third party app that's making it worse (although does contribute... because that hasn't changed).
[G1 Android Development] youngstacks74:
no one got the my faves app workin for cyan yet?
[G1 Android Development] jklong03:
Do a search!

This has been adressed over and over again. MyFaves app is NOT NEEDED to get the myfavs rate from T-Mob. Just use my.t-mobile.com to make changes to your MyFavs and you will still get the MyFav's rate!

NO, there is no MyFav's support in Cyanogen's ROMs. Do you really need 5-icons spinning around on your home page to save money? NO!
[G1 Android Development] ScottGood:
No. Myfavs is tmobile crop that is not needed. Plus cyanomods are based off adp1 ,cyan correct me if wrong here, and therefore can't use odex
[G1 Android Development] cyanogen:
I spent some time today playing with frequency scaling, and I think I've found why batteries are being eaten. I've set sampling_rate far too low and it was causing the CPU to be pegged at max frequency. Durrrr.

If you want to test this out, enter this:

echo 2000000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate

I've corrected it for 3.9.2.
[G1 Android Development] kockroach:
Yep...the FAQ isn't on this thread, but it says in the stable thread that that is exactly why there's no MyFaves app.
[G1 Android Development] kockroach:
Interesting, does this go back before 3.9.1 into the 3.6.X series?
[G1 Android Development] johnnylicious:
thanks i just tried gonna see how the battery goes now.
[G1 Android Development] cyanogen:
Yeah, I umm, missed a zero on the end of that :rolleyes:
[G1 Android Development] PatF:
myFaves completely works in this and every other non hero build, you just have to use the myFaves app from the myTouch ROM and manually add it to the /system/app folder and reboot. It might take a few minutes to update your myFaves contacts before it shows up but I've been using it since that ROM came out with no problems at all.

http://www.mediafire.com/download.php?zwyn2mmkoy1

I uploaded the myFaves apk for the lazy.
[G1 Android Development] Binary100100:
tested at 2:09pm on 29July at 100%.

Will report back at or <15%
[G1 Android Development] mdavidf:
So, there's supposed to be six zeroes, right? Just double-checking ;)
[G1 Android Development] argylesocks:
something I have been noticing on 3.9.1

I have it set to 5 screens with the 3rd as my "main" homepage.

Using Browser (or something else memory-intensive)

Hit Home Key

Get the normal "android lag"

Then it switches back to 3 screens, instead of 5

It requires a reboot to get my 5 screens back.

anyone else?

Thanks for all the hard work cyan!
[G1 Android Development] YPhoto:
I have seen this on occasion, I simply go back into the extended option and select 5 screens/home #3, then rotate the screen and everything is back without the reboot. I think I have had it happen twice since 3.9.1, but I don't have steps to reproduce it.