yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] xidominicanoix:
Icon Theming Idea?!

Alright just wanted to post this up to get it out of my head before I forget it.

A folder in system called themes. Within this 'themes' folder will be different folders, each consisting of a set of icons to use with a certain theme.

Now all the apps have to be edited, probably with smali/baksmali, to look for their icons in whatever the system specifies as the theme.

SO, example, you have three themes, A B and C. So you have system/themes/A system/themes/B and system/themes/C

Now you select your theme (perhaps settings gets modified some more to include this option) lets say you want theme B .. so now a global variable that will denote the system theme will now contain the location of theme B

So each app will now be using the icons located in that folder

OK, that's pretty much the gist of my icon theming idea

Maybe it wont be that hard to implement? idk but hopefully its not
[G1 Android Development] etiennepb:
Had the same issue. It resolved itself in 3.9.10.

Cheers,

Etienne
[G1 Android Development] akycia:
a2sd not working correctly?

ok, i thought that i read about this somewhere in this 300+ page thread, but cannot remember where. this morning, i re-partitioned my 8GB sd to fat32/ext3/32MB-swap, or what-have-you, and then continued to re-flash 3.9.9.1 to my g1. When i started re-DL'ing apps from the market, everything was working great(it was using the memory from my ext3 partition and not lowering the value of my internal memory), also, all of my apps would show up as "installed" when in "my downloads" tab in the market. now, at some point in time today, something got messed up, and my apps are not registering as "installed" on the market, though they are installed on my phone currently, and any new app that i download is taking up my internal memory instead of my secondary partition space like it was before. has anyone else experienced this issue while using this rom? and what could be a possible fix?

P.S. sorry if anyone feels that this is not the right thread to post this topic in... please point me in the right direction if you know of a thread that deals with this. i have been reading forums for 4 hours now, and my brain is turning to mush.
[G1 Android Development] fragchild:
Whenever I get a call my lock screen will not go away. running 3.9.10 from fresh wipe and install. Rebooting will not fix the issue. Will grab a logcat next time it happens.
[G1 Android Development] pistol4413:
yea yea i searched already

ok so i flashed 3.9.10 over the stable build and everything was fine. i dunno what inspired me to redo it but wiping 1st. so i re flashed after a wipe. now every time i go into the gallery it says no media when i clearly still have the dcim, and other folders on my sd associated with pictures and video. Has anyone ran into this issue. heres a logcat hopefully someone will get back to me.
[G1 Android Development] devsk:
Attaching the dumpsys battery output as requested.
[G1 Android Development] pistol4413:
i fixed it

it was the simpleist fix ever for me and the g1. i just truned the phone off took out the sd put it back in reboot and wha do ya know its working now.
[G1 Android Development] fragchild:
Logcat upload
[G1 Android Development] NPS_CA:
Something is hosed on market in this build 3.9.10 once installed... I installed on a wiped config... As soon as I got into market it showed only previously purchased items NOT the last downloads Google thinks I had (meaning all paid + unpaid download items from last connection to market)

Had the SAME problem, nothing would download

Solution:

1) clear the cache in the market - under Settings, Apps, manage apps, market, clear cache

2) REMOVE all pending downloads that say "Starting Download" or old purchases saying "Authorizing Credit Card"

3) Reselect to download all items
[G1 Android Development] bug666:
This isn't Cyan's issue - this happened to me on my unrooted G1 after wipes as well. Now I just export my app list through atrackdog before wiping.
[G1 Android Development] l3wish:
Is anyone having issues on MT3G when phones goes to sleep if i hit the power button the screen flashes thn it dies. Im running the latest cyan update?

Any feed back?

OH i did a log check and this is what i get when the screen flashes and dies
[G1 Android Development] jadams212510:
Do these new builds include a tether app. If not anyone know where I can download one?
[G1 Android Development] dwang:
bluez error messages in logcat

still getting these bluetooth error messages in 3.9.10.

E/BluetoothDeviceService.cpp( 146): 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( 146): 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] pistol4413:
Yra they do should pe in system/app folder I think
[G1 Android Development] temporizer:
i don't think the tether app is included.
[G1 Android Development] pistol4413:
Yea i installed a 3.9.10 after a wipe. Also i looked in the data folder under apps its there take a look
[G1 Android Development] pelo88:
change ro.product.model on 3.9.10

Alright, I'm at a loss. How do you change ro.product.model in 3.9.10? I didn't see it in /system/build.prop but I do see it in /system/build.saphire.prop (and ...trout.prop)

When I add the missing ro.product.model line it doesn't take.

I've cat * | grep 'ro.product' all over the damn system folder and can't find any other build.prop files to modify, nor can I tell which one the phone is using now. I've a g1 but I really want my account chat again, so I need to know how to change my model to 'T-Mobile myTouch 3G' again.

In a side note, I uninstalled the htc_ime and haven't put it back. I don't believe it's needed or anything, but i'd rather wait for a build where cyanogen feels fit to include it.

Oh by the by 'wireless tether for root users' is what I use for tethering. It works like a charm.
[G1 Android Development] kerauno:
I experienced the same problem with google voice not working. I went into google voice application settings and came out. Worked after that.
[G1 Android Development] cyanogen:
Wait, what?

If you have a sapphire board it should set it correctly.
[G1 Android Development] cyanogen:
How can I reproduce this?
[G1 Android Development] nabzilla1990:
on your twitter it says you ported global search do you think that will be available in ur next update
[G1 Android Development] pelo88:
re:build.prop

O I really do have a T-Mobile G1, but I want to set it to myTouch...

The contents of my /system/build.prop doesn't seem to even contain a line "ro.product.model=...", so I can't seem to change it.

Should I replace the entire build.prop? I had one with the previous build but it was replaced, of course, when I upgraded to .10

Here's the contents of /system/build.prop as I see it in vi after a mount -o rw,remount /system:

#

# ADDITIONAL_BUILD_PROPERTIES

#

ro.config.notification_sound=F1_New_SMS.ogg

ro.com.google.locationfeatures=1

ro.com.android.wifi-watchlist=GoogleGuest

ro.com.android.dateformat=MM-dd-yyyy

ro.com.android.dataroaming=true

ro.com.google.clientidbase=android-tmobile

ro.ril.hsxpa=2

ro.ril.gprsclass=10

ro.setupwizard.mode=OPTIONAL

ro.url.legal=http://www.google.com/intl/%s/mobile/android/android-dev-phone-lega

ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/androi

keyguard.no_require_sim=true

ro.config.sync=yes

net.bt.name=Android

dalvik.vm.stack-trace-file=/data/anr/traces.txt

# Google's checkin service. I don't like it, but it's required for the SetupWiz

#ro.config.nocheckin=1

ro.modversion=CyanogenMod-3.9.10
[G1 Android Development] dwang:
Pair a bt headset (only needs to be done once)

1. turn on bluetooth

2. wait until the bluetooth headset is paired

3. turn off bt while the bt headset is paired

You should start seeing the bluez error messages at regular intervals in the logcat (every couple of minutes).

You may have to turn BT on and off a few times.

I have an extra unused BT headset I could send you if you'd like. I only have the BT headset, but not the charging adapter, but it uses a standard mini usb connector which means the g1 ac adapter will work with it.
[G1 Android Development] jndscslegal:
goes to sleep when i am using touch screen

I notice my phone goes to sleep even though i am touching the screen, I have to press menu to wake up gain ? is it just my phone or a bug?:eek:

G1

3.9.10

no theme
[G1 Android Development] ThR1LL:
Don't all G1's do that???
[G1 Android Development] fahadayaz:
Nope.. mine started doing it randomly when i was on 3.9.9.1, installing 3.9.10 fixed it.. try installing it again.. (i didnt wipe btw)..
[G1 Android Development] Gimpeh:
You should always wipe. It's common courtesy.
[G1 Android Development] fahadayaz:
lol i was thinking of the same sort of thing as i typed that.. :-P
[G1 Android Development] pinetreehater:
Doesn't this occur when the bluetooth headset is no longer available for connection, but is stilled paired. I thought this was normal behavior because it has been doing it for a while.....

BTW, mine does it too.
[G1 Android Development] dwang:
I only started seeing these error after the donut changes.
[G1 Android Development] miketaylor00:
I have an updated User.conf that I tweaked. I did the tweaking on xROM but I've had 3 people tell me they tried it on Cyan builds and it not only ran faster but improved the boot time significantly. I emailed Cyan to see if he wants to check it out and possibly include it in his build. But I thought I would post it on this thread again in case anyone else wants to try it. If it doesn't work for you, you can easily copy your old user.conf back. So no one has reported a negative experience with it. Read through the JACxROM thread if you want to see some testimonials.

Note: you must have a userinit.sh on your phone. If you don't follow the steps in this link: http://xdaforums.com/showthread.php?t=542899

Here are the steps for terminal. First copy the user.conf attached here to the root of your sd card.

su
rwsystem
cp /system/sd/user.conf /system/sd/userBAK.conf
cp /sdcard/user.conf /system/sd/user.conf
chmod 755 /system/sd/user.conf
cat /system/sd/user.conf # this will show you the file so you can verify it was updated.
reboot

After the phone has rebooted you can use the following command to see if everything is running properly:

su
sh /system/sd/userinit.sh -s

If you want to change the min or max CPU you can do that with notepad++ or edit plus or another editor that won't screw up the formatting before you copy it over. If you have any problems send me a pm.
[G1 Android Development] zimphishmonger:
Cyanogen's mod checks for the userinit.sh and the associated .conf file in /system/sd i think. Ive never had a user.conf in /system/bin before, although I know thats where JACxROM's build checks for it.
[G1 Android Development] miketaylor00:
The associated .conf file is the user.conf. The sh file is what runs the script to set it up. I'm pretty sure it is in the same directory since they are both using the same stuff. If it is in another directory, please confirm and let me know and I will change the instructions. I told someone else to do it this way and it worked for him.
[G1 Android Development] zimphishmonger:
Not sure. I am using the user configurable userinit.sh file which states

CONF_FILE="/system/sd/user.conf";

Gonna have to let someone else chime in, as im working fine on all sorts of swaps.....still tweaking the settings though
[G1 Android Development] miketaylor00:
I'd say it looks like you are right. I will update the instructions. Thanks for pointing that out. I didn't know it was saved in a different location on Cyan builds.
[G1 Android Development] zimphishmonger:
No problem, I am using your modified .conf file as it is. I am still trying to mess around w/ the settings, as the new userinit.sh file updated today added a system swap file on the ext to mess with as well, on top of compcache w or w/o a backing swap, etc. So many configurations, so little time....
[G1 Android Development] miketaylor00:
I didn't know that. I'll have to check that out. I've tried tweaking my user.conf even more but I can't seem to find anything that will improve performance. Everything I do makes it worse, although I don't know much about the VM settings. Maybe this new setting will help.
[G1 Android Development] cyanogen:
Is it a problem unique to this ROM?
[G1 Android Development] dansbmx25:
Wwwwwoooooowwwwwww

First off let me thank you for making the best rom I have ever used. This rom is so fast I cant get lag I was almost fed up with the speed of the g1 but then you came along and perfected compcache in 3.9.9.10 with linux swap partition and virtual memory, the 8GB Class 6 card helps too:D, and my phone runs better then I ever thought it would. Thank you for all your hard work and dedication. p,s the recovery menu is sick, just keeps getting better.
[G1 Android Development] chevycowboyusa:
Nope...

Problems seemed to go away on it's own...

I reset browser defaults (after i connected to https on 3g) and deleted cache, coockies, all browser stuff.

seems to be good now.

P.S. I'm still apprehensive about flashing the radio again... (chicken noises)
[G1 Android Development] Bavilo:
has anyone noticed that when flashing the latest radio "62.50S.20.17H_2.22.19.26I", It will say "62.50S.20.17U_2.22.19.26I" in the About Phone info page?

Is there a difference between H and U, and why is it showing up as U?

Confused...
[G1 Android Development] chevycowboyusa:
Flashing radio

I havent flashed my radio since the danger spl came out, but I have a "62.50S.20.17U_2.22.19.26I" in mine.

Found this on a web site ???

vgjunkie - Go to MENU -> Settings -> About phone. What do you see as "Baseband

version"? Is that something like 62.50S.20.17H_2.22.19.26I? (H will be U if you're in

the UK). Do you have a normal G1?

have you reflashed your radio recently?
[G1 Android Development] Bavilo:
Yea I re-flashed it. Isn't it supposed to say H?
[G1 Android Development] farmatito:
I suggest you to change the scaling_min_freq to

scaling_min_freq=384000

as frequencies between 122880 and 384000

all use 1,2 V so it is useless to use frequencies

lower than 384000 if you want to save battery

life.

#cpu clock
proc_cpu{
proc_cpu_en=1	#enable(1) or disable(0) user cpu configurations
# freqency options
# 19200
# 122880
# 128000
# 245760
# 384000
# 528000
scaling_min_freq=192000	# default 245760
scaling_max_freq=528000	# default 528000
sampling_rate=2000000	#default 200000 depending on kernel version
powersave_bias=0	# default 0, CM3.9.6 default uses 200
up_threshold=45	# default 40, percent cpu usage before going up a speed step
}
[G1 Android Development] chevycowboyusa:
Radio

Ok, i grabbed up my Huevos and flashed my radio....

Surprisingly no problem.. But it still has the U in the baseband...

From the fewsites I tried to find the H or U answer, I think we should be on H.

But the Rom guru's are asleep right now, and when they wake, maybe we'll get a firm answer.

I'm trying to flash the

2.22.19.26I

Baseband Version: 62.50S.20.17H_2.22.19.26I

http://sapphire-port-dream.googlecode.com/files/ota-radio-2_22_19_26I.zip

I'll report back if it works...

Edit: I didn't brick it, so I'm ok so far. Nope, still says U. hmmmm it was supposed to be the H version. Maybe something else is at hand. I went into the bootloader and it doesnt say the baseband, just 2.22.19.26I....
[G1 Android Development] stellarman:
I have been having this exact same problem for the past, oh, ten or twenty updates. I have tried MANY things to fix it. If you hadn't already said that you always reinstall the radio when you flash, I was going to try that next in my quest for a solution. This ringtone delay problem is currently my number one irritation with my G1, and is at the TOP of my list of issues that I hope Cyanogen will address and conquer.

I have tried "renice -20" on the phone program, with no improvement. I have tried moving ringtones2SD from fat32, with no improvement. I have tried reformating all my custom ringtones as OGG, with no improvement. I have tried installing and uninstalling a variety of programs, with no improvement.

I am certain that Janis and I are not the only people with this problem. I have seen it mentioned by a lot of people in a variety of threads. If anyone has figured out a solution, please speak up. If no one has, perhaps reports from enough people will serve to convince Cyanogen to look into it more deeply. Anyone else have feedback?
[G1 Android Development] abchiptop:
I know I'm cross posting from the stable thread, but in case anyone is interested:

I threw together a small collection of audio files, nothing major, including the audio resources Cyanogen has in the initial post, the iPhone default system sounds, and all the Hero ringtones, notifications and alarms, pulled from a full release Hero ROM.

http://www.mediafire.com/?zdw2zjndyzm

If you don't know how to install them: either unrar to /sdcard/ or you can copy the files to /system/media/audio (or to your ext3/4 partition if you have one).

Just thought I'd share the files I tossed together
[G1 Android Development] Bavilo:
Yea I'm flashing the same radio as you, and I can recall that at one point it used to say H in the info, I'm sure of that.

Now however, it doesn't. Perhaps something in the Rom that's screwing with things?

EDIT: Just read somewher that U stands for the UK version, and H for the US version. No clue.
[G1 Android Development] stellarman:
Interesting...

Mine DOES say "H" in the Phone Settings. I wonder what the difference is, and what difference it might make in the performance of the phone?
[G1 Android Development] Bavilo:
As I said in my edit, I read that U only appears on UK phones (or European I suppose), and H will appear in US phones. You're located in the US and therefore have H, I live in Germany and have U.

I believe that's the reason, I'm still unsure whether or not there is a performance difference.
[G1 Android Development] kingsizeriz:
im in the UK and have H.
[G1 Android Development] Bavilo:
Ok I'm really confused then. Where did you get your G1 from?
[G1 Android Development] chevycowboyusa:
radio

I'm in the us and have U... I've tried the saphire one, and the one from the htc website.
[G1 Android Development] Bavilo:
Ok...This needs more research for sure...Something isn't adding up.
[G1 Android Development] HerbertRoland:
Wi-Fi sleep policy setting problem.

Bug?

The Wi-Fi sleep policy setting in advanced Wi-Fi settings keeps changing from "Never" to "When screen turns off" all the time, and I'm sure that I change the settings properly (menu>save after change). The "Regulatory Domain" which I set to "14 channels" remains untouched.

I'm using the v3.9.10 - experimental version, but it happened often before on 3.9.9.1, I have the newest radio and SPL, 3 partitions, no modifications made and tested with no apps installed (empty ext partition), the same problem occurred. Didn't post the log, if needed I'll attach it.

Also I was wondering if adding some settings from the rogers, htc, etc. (haykuro builds in the past) settings, for example there was setting named "Use only 3G networks" or similar, that was very useful when annoying switch to edge happens all the time in places where I know, 3G is available. Earlier I had more ideas, but forgot them, I'll post some when I'll write them down.
[G1 Android Development] chevycowboyusa:
i wonder

I wonder if the info is being read from the radio and being stored somwhere that isn't being update or changed? If I knew where to go I could try to delete whatever data file this is stored in and see if it picks up something different. Maybe its being displayed incorrectly.

Sorry if we are off topic. :o)
[G1 Android Development] Bavilo:
Yea sorry if we are getting off topic with this. But if there is a difference between U and H, maybe it could be a reason why some people are experiencing problems, and others don't.
[G1 Android Development] itp:
gradual slowdown / system_server growth believed solved

As Cyanogen teased on twitter last night, we believe we've gotten to the root of the gradual slowdown issue people have been seeing. As has been mentioned before, this issue was not specific to Cyanogen's builds, but was a longstanding Android bug. Cyanogen will have the first firmware to have it fixed, though. :-)

Details (and the patch, for those programmatically inclined) can be found attached to the bug report at http://code.google.com/p/android/issues/detail?id=3453.
[G1 Android Development] turboyo:
Not having issues with wifi ..as far as 3g only option make a shortcut with anycut to phone info and from there u can select wcdma only
[G1 Android Development] dwang:
Great! Would you mind providing the modified jar file?
[G1 Android Development] pinetreehater:
You are not going to brick flashing the radio...almost impossible. You are confusing flashing the SPL...now that'll brick your device if it goes awry...spl controls your recovery console too...so if you frack up the spl you cannot get to the recovery...hence brick. The radio, even if you messed it up, would still alllow you to get to the recovery console.

The radio is safe to flash everyday.....
[G1 Android Development] hgmarcia:
For 3g only go to dialer and press these

*#*#4636#*#*

And go to phone info and find where it says

Wdma only. Hope it helps u
[G1 Android Development] kingsizeriz:
From a second hand electronics store in London, however had a reciept given to them to say T-mobile London too.

so was originally from t-mobile store in london and then got taken into the 2nd hand shop :)

However its interesting because i am finding myself getting connection drops etc

so please look into this more! :D
[G1 Android Development] ubernicholi:
So this is pure win.

Now hot to make a shortcut to it.

Or get it build it.

Cyanogen any ideas?
[G1 Android Development] pascanu:
+1

(10 chars)
[G1 Android Development] uberingram:
BetterCut > Create Shortcut > Activity > Phone Info
[G1 Android Development] firetech:
AnyCut works too, same route there.
[G1 Android Development] miketaylor00:
What is your min cpu scaling freq? Are you running any special notification software like missed call?

When your screen is off, your cpu is going to drop to a lower frequency, if not the lowest you have set. Try changing your min frequency to 245760. Also, if you try reinstalling the radio and wipe your phone, test it out before you install anything on it.

.
[G1 Android Development] Gimpeh:
Now only if we would ever get 3G here in Springfield MO. We got EVDO and AT&T 3G for years but no love for us Tmobile guys. :(
[G1 Android Development] kjdiehl:
I too am having trouble with slow to respond ringtones, and agree that this is the highest priority item for my phone. Additional, more functional features are very welcome, even at the loss of performance of other features, but ringtone notification time is rather more important than almost anything else.

There was a time, (maybe even before 3.6.8.1,) that the lag wasn't as big an issue, but it seems to have gotten worse. I wonder if it's related to the Android-wide bug of gradual slowdown? Anyone running stock Android developing ringtone lag?

If it's helpful info, I'm using Ringo Pro for custom ringtones. I was using it identically when ringtones used to be prompt as well. Aside from direct ringtone lag increasing lately, the other new symptom I've noticed is this: I have a default SMS ringtone set thru RingoPro. I also have a custom SMS ringtone set for my girlfriend, through the same program. Supposedly, the custom tone is supposed to ring when she texts me, and not the default one. This has worked fine in the past. Recently it has started ringing the custom tone and then the default tone in succession. This does not happen on every text from her, but it does happen the majority of the time. Hope this helps.
[G1 Android Development] alapapa:
flipping brilliant, the lot of you. Nice catch on .equals() vs ==

<3 OSS