yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] KrisM22:
"antenna problem with CM" (ongoing) I did a bunch of radio logs yesterday for Bryan wherein, among other things, I felt I was seeing an adverse effect on the perceived carrier by running BT and/or wifi in weak signal environments. Now I am experiencing an inconsistency between modems. Yesterday, KD1 was giving me UMTS:3 (GPS3), and KG4 was giving me HSDPA:9 (HSPA). (same physical location)

Today, the reverse.

So I suspected something in cache or Dalvik as I know RIL uses Dalvik a lot, so I flashed KD1 and wiped cache and wiped Dalvik and fixed Permissions. Got an "H" after it went through a long android update of some 95 apps.

I am apparently in the dark as to what to do when flashing a modem, and I have not seen it exposited anywhere.

I have been flashing the modem and then booting and assuming all was well.

Maybe a second boot is necessary.

Maybe something with cache? Dunno.

I am finding out things by doing but that is a lot like walking under a ladder and then tripping. The rock was there all along...
[Samsung Galaxy S (4G Model)] jeffsf:
Thanks for the BetterBatteryStats output. If that is while the phone is not in use during those six hours, that is definitely not what others are experiencing. Overnight, including my mail sync and occasional Titanium Backup batch runs, I usually see 1-1.5% per hour battery drain.

===========
Other Usage
===========
Awake (): 1 h 3 m 41 s (3821 s) Ratio: 16.7%

That is pretty high if you weren't using your phone

=========
Wakelocks
=========
SyncLoopWakeLock (Android System): 7 m 52 s (472 s) Count:1320 2.1%
NetworkLocationLocator (com.google.android.apps.maps.Maps): 7 m 29 s (449 s) Count:358 2.0%
*sync*_gmail-ls_Account {name=xxxxxxx, type=com.google} (com.google.android.gm.Gmail): 2 m 52 s (172 s) Count:61 0.8%
NetworkLocationPassiveCollector (com.google.android.apps.maps.Maps): 1 m 53 s (113 s) Count:729 0.5%
*backup* (Android System): 1 m 11 s (71 s) Count:160 0.3%
Genie (com.google.android.apps.genie.geniewidget.News & Weather): 1 m 2 s (62 s) Count:2 0.3%
AudioOut_1 (1013): 59 s (59 s) Count:11 0.3%

Maps, for some reason, is constantly keeping your phone awake to, apparently, do location updates

Sync of GMail is also significant.

AudioOut suggests you have notification sounds on, even if the volume is off

Most of the above are covered regularly in the BetterBatteryStats thread.

================
Kernel Wakelocks
================
"wow_wake_lock" (): 36 m 57 s (2217 s) Cnt:(c/wc/ec)631/0/631 9.7%

That is, as I recall, the wireless keeping your phone awake

In short, your phone is spending a lot of time awake, probably "talking" with other servers.
[Samsung Galaxy S (4G Model)] rvincent76:
Bluetooth connects and disconnects constantly

In addition to the battery issues that I was posting above, I am having a problem with the a bluetooth headset that constantly connects and reconnects. The headset is a Samsung WEP490. I've attached the logs that show the activity after connecting the headset.

I've just assumed that these are ROM problems, but if there is something else going on, I would be happy to research elsewhere.

Thanks
[Samsung Galaxy S (4G Model)] jeffsf:
I/ActivityManager( 208): Start proc com.tmobile.selfhelp for broadcast com.tmobile.selfhelp/.callassist.CallInterceptReceiver: pid=29710 uid=10066 gids={3002, 3003}

That suggests to me that you aren't running CM9, or have restored something that you shouldn't have. As far as I know, that is T-Mobile bloat from a stock ROM.

W/BT HSHFP( 406): RFCOMM poll() returned success (1), but with an unexpected revents bitmask: 0x18
I/Bluetooth HeadsetBase( 406): headset read error 5
D/Bluetooth HSHFP( 406): Device: 00:0D:E6:78:22:AC Headset state2 -> 0
D/BluetoothService( 208): CONNECTION_STATE_CHANGE: 00:0D:E6:78:22:AC: 2 -> 0
D/BluetoothAdapterStateMachine( 208): BluetoothOn process message: 52
I/BluetoothDeviceProfileState( 208): Entering IncomingHandsfree state with: 51
I/BluetoothDeviceProfileState( 208): Entering ACL Connected state with: 102
D/BluetoothEventLoop( 208): Device property changed: 00:0D:E6:78:22:AC property: Connected value: false

Looks like your BT headset connected, but for some reason, one of its responses wasn't what was expected.

I'd clean up your apps first, then work on the BT problem. (Same goes for battery issues.)
[Samsung Galaxy S (4G Model)] rvincent76:
[/COLOR]

I did install the T-mobile app "My Account," which installs the "My Device" app as well. This is just so that I can keep track of my minutes/data/billing. I think that the "My Device" app does offer some troubleshooting services. I will uninstall it to see if that helps.

From my phone settings--

Android Version: 4.0.4

Baseband Version: T959VUVKJ6

Kernel Version: 2.6.35.7-cyanogenmod-ICS-00166-g090057fbhundven@chaos#1 Thu Aug 30...

CyanogenMod Version: 9-20120830-UNOFFICIAL-galaxys4gmtd

Build number: cm_galaxys4gmtd-eng 4.0.4 IMM76L eng. bhundven.20120830.083357 test-keys

(I hope I transcribed that all correctly!!)

If it looks like I have installed something incorrectly (modems, etc), please let me know.

Thanks again for your quick response.
[Samsung Galaxy S (4G Model)] eridapo:
How is the Wifi reception on the latest build... I used to run CM9 b3 to another, but my wifi reception would drop consistently.

So if the Wifi is any better I might give it a try once again.... I know Erik of TKA's mentioned that he was going to incorporate the wifi improvements he has made to his ROM (IMM76L) to the mainline tree of Team Acid. Has that been done, and if it has is it available on the current build...
[Samsung Galaxy S (4G Model)] KrisM22:
"antenna problem with CM" (ongoing) I did a bunch of radio logs yesterday for Bryan wherein, among other things, I felt I was seeing an adverse effect on the perceived carrier by running BT and/or wifi in weak signal environments. Now I am experiencing an inconsistency between modems. Yesterday, KD1 was giving me UMTS:3 (GPS3), and KG4 was giving me HSDPA:9 (HSPA). (same physical location)

Today, the reverse.

So I suspected something in cache or Dalvik as I know RIL uses Dalvik a lot, so I flashed KD1 and wiped cache and wiped Dalvik and fixed Permissions. Got an "H" after it went through a long android update of some 95 apps.

I am apparently in the dark as to what to do when flashing a modem, and I have not seen it exposited anywhere.

I have been flashing the modem and then booting and assuming all was well.

Maybe a second boot is necessary.

Maybe something with cache? Dunno.

I am finding out things by doing but that is a lot like walking under a ladder and then tripping. The rock was there all along..

--

I am wondering if

$BB mkdir -p /radio <-- does this clear that partition?

$BB rm -f /radio/modem.bin

$BB mv /tmp/modem.bin /radio/modem.bin

which changes a 8.99MB bin to a 14.02MB bin, really is clearing that extra work area... ?

--

I find that the modem stores information in the ext4 partition on the SDcard. Indeed, without such a partition, I only get 3G. Apparently I should format that partition between modems...
[Samsung Galaxy S (4G Model)] rvincent76:
Are you replying to me or the the devs? I'm unsure if the wifi improvements have been incorporated.I find that the indicator shows a weak signal, only two "wifi bars" even if I'm in the same room as the router. So far I have not had any drops and the reception seems to be as good as my other phone.
[Samsung Galaxy S (4G Model)] yassir5505:
Bug

does anyone else's phone actin g very weird when u use it and charge it at the same time?
[Samsung Galaxy S (4G Model)] jeffsf:
You should just be able to flash modems through recovery (padded modems).

mkdir -p /radio should be a "noop" -- the root filesystem is effectively r/o and the directory already exists. -p means "create the directory and any needed along the path for it to exist."

As a side note, mv is generally frowned upon for moving files across filesystems for a variety of reasons. tar and cpio are generally considered better options, as is rsync under certain circumstances.

From my current CM9/KG4 install:

root@android:/ # busybox df -h /radio
busybox df -h /radio
Filesystem Size Used Available Use% Mounted on
/dev/block/mtdblock6 19.3M 16.3M 3.0M 85% /radio
root@android:/ # busybox ls -l /radio
busybox ls -l /radio
drwx------ 1 root root 4096 Sep 17 15:35 lost+found
-rwxrwxr-x 1 radio radio 14700544 Aug 16 00:13 modem.bin

I am guessing that the smaller of your modems is "unpadded" -- which may/will cause problems on an MTD ROM for the SGS4G.

Hmmm... That is "interesting" indeed. Quite unexpected.
[Samsung Galaxy S (4G Model)] KrisM22:
That code is from the padded modems I was given.

flash_modem.sh

#!/sbin/sh
$BB=busybox

echo "Remounting partition"
$BB mkdir -p /radio
$BB umount /radio
$BB mount /dev/block/mtdblock6 /radio

echo "Removing old modem.bin"
$BB rm -f /radio/modem.bin

echo "Replacing modem.bin"
$BB mv /tmp/modem.bin /radio/modem.bin

echo "Setting permissions"
$BB chmod 0775 /radio/modem.bin

echo "Done"
exit 0

This code is, of course, executed by CWM recovery code.

The padded modems are sizes 14,356KB my bad, I gave the size of the zipped file. :o

Dunno - could have just "happened". A few hours earlier I had taken the ext2 partition off the SDcard. Then later I nioticed that I couldn't get H, so thought of the ext, pulled the SDcard, allocated an ext4, slid the SDcard back in (no reboot) and all of a sudden I was getting H. I'll go pull out a live linux build and check it. Way back a few weeks while I was prepping my brain for your CM9, I kept running into folks talking about putting a ext 2,3,4 on the SDcard, but never a "why".

Thanks for looking in, Jeff!
[Samsung Galaxy S (4G Model)] jeffsf:
Ah, makes total sense -- when recovery is running, the filesystem is generally very different than with a running phone. I don't have anything but a FAT partition on my card and get "H" quite reliably.

I'm still intrigued by the apparent use of another partition. Where and how was it mounted? What data was written? You can PM me if you want.
[Samsung Galaxy S (4G Model)] KrisM22:
The only thing I found on it was a empty lost+found folder, written by the rom when the card was inserted yesterday.

Okay, good! If you know nothing about putting such a partition on your SD card, I'll remove it and play and see what I get!

Later
[Samsung Galaxy S (4G Model)] jeffsf:
I just had a situation with my phone where it wasn't switching to "H" when I expected. I fiddled with the "Mobile network settings" and it resumed "H" again. No idea what is going on. I suspect it has to do with flashing so many ROMs and one of the persisted values changed or got wiped in the process. That might be what is going on with your phone.
[Samsung Galaxy S (4G Model)] KrisM22:
I did remove the ext4 ptn and I still get the H, so you've helped me eliminate 2 uncertainties that I had imagined, around the modem. I still wonder if there isn't something in a cache that modem is using that messes things up when changing a modem (flashing a different one)., but clearing Dalvik causes it to reset all partitions, but I don't think modem is involved, at least I hope the original android designers didn't do that, so maybe just wipe cache. It auto updates it's own permissions in that .sh . Running KD1 (padded of course)

What do you think about that "wifi and/or BT weakening the carrier perceived signal" thing? With wifi and BT going, on KJ6, I got a 20 second "x" in my subway black hole. KJ6 was less with just wifi, and less with neither wifi or BT. Only noticed on weak signals... I get no "x" with KD1 and neither wifi or BT in that location.
[Samsung Galaxy S (4G Model)] jeffsf:
You never know on these things, but BT and WiFi work in the 2.4 GHz bands, which don't overlap that of the "phone" bands. It also may just be how the tower-to-tower hand-offs are being by the carrier. You can see that in System settings > About phone > Status -- There are a couple apps that show the towers you are associated with, but I don't have them installed on this ROM. I remember "Antennas" as being pretty good, "OpenSignalMaps" didn't work too well for me, and all of them drained my battery like no tomorrow.

You might want to change to the "numeric" style of radio level -- System settings > System > Status bar > Signal status style
[Samsung Galaxy S (4G Model)] magda623:
Quick question

Alright. Does the CM9 builds support the theme chooser? And if so, how do I go about changing the theme I have put on my card? I have a paid theme from the play store for CM9/10/AOKP but when I go to the theme chooser, it just gives me the stock theme. Also, has anyone had and problems with the browsers on this ROM? When I try to stream anything, most to the time the browser will just crash. But it doesn't say that 'xxxx has stopped unexpectedly.' It just closes and it goes back to the home screen. Logcats will follow shortly.
[Samsung Galaxy S (4G Model)] KrisM22:
yes, antenna works pretty well - we'll see how well it works in a tunnel! :D

Theoretically I wouldn't think that wifi and BT would affect carrier, and was quite surprised to find that it did. wifi is important on this phone because it's gps is so weak and I found that having wifi on allowed it to be found more easily (where's my droid)(unless it's in an open field!) So having to leave that off is a slight bummer.

status bar numbers vs icon: I have spent enough time looking at the radio logs (logcat browser), that I am under the illusion that I pretty much know what it's doing in there (my test tunnel). it's just that my phone reacts so differently between KJ6 with wifi and BT vs KD1 w/o either.(two extremes). Yeah, you never know with these things. it "SHOULD"... :D:D And folks get so upset when it doesn't. I've done my testing and unless Bryan comes up with something from those logs, I'll happily sit here on R8,KD1 and wait for Aries or whatever he produces.

I use maxthon browser and have no problems with it, but i don't stream, or change themes.

---------- Post added at 09:58 PM ---------- Previous post was at 09:46 PM ----------

By the way, I do have one contact on the 2 contact antenna, where it contacts with the antenna tuner, covered with paper. That gives me better reception in my test black hole, but it might affect which harmonics (wifi and BT) affect things on the carrier, though I doubt it as the antenna is still tuned the same. But w/o a field strength meter (yeah I'm way too lazy to go to a hamfest and pick up a ma meter , a signal diode, and a resister.) LOL (caveat for others reading this: it could affect the loading presented to the transmitter chip adversely and encourage it to burn out, since I have made no attempt to tune the antenna tuner.)(ie know what you're doing, or be psychotic) :D :D "D
[Samsung Galaxy S (4G Model)] yassir5505:
Charge Mode

My Phone acts very strange when im using it in charge mode anyone else having problems?

I am a heavy user so when my phone runs out of battery,which happens a lot,i continue to use it while its charging and it acts funny.please help thank you.
[Samsung Galaxy S (4G Model)] KrisM22:
sure, when I plug my phone in it scurrys around the table, jumps on the floor and plays with the cat.

could you flesh out "acts funny" please.
[Samsung Galaxy S (4G Model)] m4xm4n:
Don't fixate so much on when it's in 3G (UMTS) and when it is in HSPA. This is entirely dependent on your provider and they coverage you have in your area. The modems are exactly the same ones that were in the stock based ROMs and they will behave exactly as they did in all the stock-based ROMs. It may have seemed like your phone had "4G" coverage most of the time back on all the stock-based ROMs but there's likely an element of Samsung trickery in there.
[Samsung Galaxy S (4G Model)] KrisM22:
. . . . . . .
[Samsung Galaxy S (4G Model)] brian73:
Hi, thanks for all the great work, but I have a question that I'm a little confused about with battery life. It seems like some posters are getting great battery life on this ROM and others say "it's a known issue" particularly with regards to wifi usage (which I need at work). I'm losing around 10% per hour with very light usage, and the top use is always Android OS. Is this what others are experiencing? Or is this too much loss?

Thanks for helping out someone new!
[Samsung Galaxy S (4G Model)] jeffsf:
If you are having "problems" with battery life on CM9 or AOKP, you need to first determine if it is a "not sleeping" issue or a "I run it down myself" issue. The first can be addressed by using Better Battery Stats. If you aren't getting ~95% deep sleep (or better) when you aren't touching the phone for a long stretch, you've got some work to do to decide what of your user apps and settings you need to modify or remove.

If it is during the day, then you need to decide if (a) You are in the "honeymoon" phase with the ROM and playing with your phone more than you normally do, (b) You are using the phone the way you typically do. Most of the complainers, I am guessing, never got out of the honeymoon phase.
[Samsung Galaxy S (4G Model)] brian73:
Thanks, but no this is not the honeymoon phase. The other day I was in a conference and didn't take my phone out of my pocket all day and lost more than half the charge in about 6 hours. I will check on apps with the battery stats. I was posting here because I had seen other people talk about known issues with this ROM and battery life. I couldn't find specifics on what was meant by that and I was trying to get a handle on whether that would explain my issues or if I I have something else going on.
[Samsung Galaxy S (4G Model)] KrisM22:
Then again perhaps many users (at least this one!) had no battery probs and could sometimes go for 2 days on that ROM. And i often run wifi and BT. Even after a hard day of radio testing still had 1/2. For what it is, it's a very tight ROM.
[Samsung Galaxy S (4G Model)] brian73:
Yep, that's what I thought, my loss is excessive bordering on dysfunctional, so I couldn't imagine it was due to the ROM. I just had never seen Android OS so high on the list before so I wanted to make sure I wasn't missing something. Please forgive the ignorance... I have BBS installed and running now, reading up on how to interpret it and will hopefully figure out the problem soon. Thanks again!
[Samsung Galaxy S (4G Model)] eollie:
Android os gets blamed for a lot of stuff. The other day in my local police blotter is said android os had robbed the local kum&go. /shrug.

On a serious note on non stock roms it seems android os gets blamed for a lot of stuff created by a app. Most of the time a app is using part of the os for some reason. Its not always nefarious but it is frustrating. Better battery stats is the simplest app to help figure out what is using your battery when your phone should be asleep. If you run into something you are unsure of post it here. If it is truly a android os thing it will help make things so much better for you and everybody else. There was a on the fly guide posted by jeffsf I think some time back on how to determine what is draining your battery with bbs.
[Samsung Galaxy S (4G Model)] yassir5505:
Q+A's

Great work everyone on this rom im really impressed but im having major battery issues will there be an update to improve battery life?

will there be another update at all?

will there ever be an update for jellybean on this device?

thanks for reading guys great work you don't have to do anything else or even answer my questions im just wondering.
[Samsung Galaxy S (4G Model)] gregcapps:
Next update will be an Aries build, currently in the works.
[Samsung Galaxy S (4G Model)] yassir5505:
Thanks for replying

Do you by any chance know what will be included in this aries update?

thanks for replying so quick btw.
[Samsung Galaxy S (4G Model)] gregcapps:
A completely rebuilt kernel, TV out, working touch key light controls, probably better battery life, more stability, and one step closer to jb.

Just to name a few.
[Samsung Galaxy S (4G Model)] tichs:
any updates on the progress of aries?
[Samsung Galaxy S (4G Model)] idevice12345:
Don't rush the developers! They are trying there hardest to finish. Thank you
[Samsung Galaxy S (4G Model)] tichs:
I will never rush anyone. I was just inquiring.
[Samsung Galaxy S (4G Model)] bhundven:
Nothing on my end. I've been busy applying for jobs and working on blastoff v3.
[Samsung Galaxy S (4G Model)] gregcapps:
Perfectly legitimate inquiry. Chill out.
[Samsung Galaxy S (4G Model)] bhundven:
Ok. This is the same conversation I had with lonoguge the other day, and I really don't have the energy to go into that one again.

idevice... there are at least 4 people that constantly watch this thread on TeamAcid.

There are a few others that lurk in #teamacid that I also think have more right to respond to questions on this thread.

I appreciate you standing up for us, but we got it ;)

--

For the umpteenth time: Back on topic.

Welcome to the Unofficial CM9 Q&A thread.

If you have questions about CM9 (the current teamacid herring or the new aries work), then this is the place to ask questions (yes, even if it is a status update. But be prepared to get told "No ETAs! Status updates are given when there is status to give!").

Currently, the major issues (imo) are RIL being stupid and wifi eating peoples batteries like pacman eats ghosts.

If you aren't using wifi, turn it off.

If you want to tell someone off for asking about status or ETAs just generally being off topic, PM them. I don't want to see your junk in this thread. It makes it hard to read and search.

If you see something out of line, DON'T post a comment, just report the post.

Thanks!
[Samsung Galaxy S (4G Model)] idevice12345:
Oh sorry. usually when someone asks a question like that,I see people comment that you shouldn't rush the developers. I said why not try so I did.
[Samsung Galaxy S (4G Model)] tichs:
bhudven, the modem for the S 4G is ST Ericsson's THOR M5730 HSPA+ Thin Modem, and not the 5720, this may cause many issues. Just wanted to point that out. the AQUOS PHONE 102SH,AQUOS PHONE 104SH, Sharp SH-01D HD have the same modem so it may help tp get the source from this device to fix ril issues
[Samsung Galaxy S (4G Model)] KrisM22:
yes.

http://www.ifixit.com/Teardown/Samsung-Galaxy-S-4G-Teardown/4977/1

page2
[Samsung Galaxy S (4G Model)] getochkn:
bhudven is aware of what modem is in it.
[Samsung Galaxy S (4G Model)] bhundven:
Then just report it:

subject: Asking for Status/ETA

Please disregard this post.

<Point the recipient of the report to a post you found where asking about ETAs lead to a thread being closed> I'm sure I can find you one.

That would have the comment at least contested with the forum moderators.

They decide if it should continue or be <end result>ed. (locked, removed, etc...)

I'm sure they will do the right thing. But reporting the issue instead of commenting goes so much further then a bunch of people flaming a newb and giving the moderator more work to clean a thread up.

IDK, I wish this (and other) community(s) would self-govern itself a bit more then reverting to flames/flaming. Reporting posts and threads is the "more important" part.
[Samsung Galaxy S (4G Model)] bhundven:
Yes, I am. The point that ticks is making is towards m4xm4n's changes being commented with 5720.
[Samsung Galaxy S (4G Model)] yassir5505:
Awesome can't wait

Thank you so much that sounds great im so excited to know that we are getting completely rebuilt kernel, better battery life, more stability, and most importantly JB or any closer to it :)
[Samsung Galaxy S (4G Model)] m4xm4n:
In my defense, they're practically the same thing. Also, Samsung uses m5720 in their source drop (not that Samsung is usually right).
[Samsung Galaxy S (4G Model)] phreshjoker:
Does this from have the fixed soft keys? Or is it only Aries?
[Samsung Galaxy S (4G Model)] idevice12345:
Only aries
[Samsung Galaxy S (4G Model)] Fluidification:
Then again Max, if you rebuild modem code for 5730, it may hypothetically make it more stable. Then again, I haven't actually looked at the code diffs between the two to see whether it would actually make a difference. It's up to you.

Also, Bryan, did you get a GPIO schematic? Just wondering.