yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] bhundven:
We use an issue tracker on github:

https://github.com/teamacid/android_device_samsung_galaxys4gmtd/issues

and

https://github.com/teamacid/android_kernel_galaxys4gmtd/issues

But as I said in a previous post, the next release will be a totally new kernel and device tree.

We're getting closer, but not quite there yet.

Known issue. Thanks.

News to me, but lets wait for the new release before opening a new bug on this. Also, if you can make this happen while getting a logcat, it's more helpful then complaining about some random problem I can't quantify.

This might be a general CM9 issue. Might want to also check the CyanogenMod Issue tracker here:

http://code.google.com/p/cyanogenmod/issues/list

Again, Thanks for the feedback, but without logs it's not constructive, it's just complaining.

Again, Again, The next release is a totally new kernel and device tree. We may have some bugs we had before in the early cm9 port. But ask m4xm4n or myself and we will both tell you that it is much smoother and better on battery life (afawct).
[Samsung Galaxy S (4G Model)] Fluidification:
Thanks for everything TA has done for CM-sgs4g!

Bryan,

If you need some help, I am available.
[Samsung Galaxy S (4G Model)] mikeflash:
Hey guys.

My GF's sgs4g was suffering some random reboots. I tracked them and they seem to happen when phone is idle, or when the phone has been recently put down after normal use. My first bet was to check cpu clocks. It seems that this roms comes with clocks ranging from 100mhz(lowest) to 1000mhz. I thought maybe 100mhz was too low and somehow caused phone to reboot. I changed it to 200mhz minimum and phone has been 4 days without random reboot.

Not sure if this solves the problem my gf was having, but I guess it won't hurt to mention it here.

She's on latest cm9 (r6 20120729)
[Samsung Galaxy S (4G Model)] bhundven:
Known issue. Fixed here: https://github.com/teamacid/android...mmit/2d823ea122026309946ee7304fffd4c6e921cdc3

Thank you... mmc >:$

I might do a release 7 before doing an Aries based release, Just so there is one last good build.

Hang on, and I might have a fixed build for you.
[Samsung Galaxy S (4G Model)] Fluidification:
is that why I shouldn't have downloaded setcpu for allowing 100mhz?

I haven't had a single reboot yet.
[Samsung Galaxy S (4G Model)] bhundven:
http://sourceforge.net/projects/bhu...20120819-UNOFFICIAL-galaxys4gmtd.zip/download

Note, Wifi does not work, but here is a taste/teaser build for aries.

A reminder, this is like taking the engine out and totally replacing it. Enjoy.

Special thanks to m4xm4n for his help. Also, Thanks teamhacksung!

As usual, source here.
[Samsung Galaxy S (4G Model)] daothanhduy1996:
This is totally great news man...and I tested this very carefully (flashed it triple times) and these I could notice:

Best things: It is aries lol...and those Backlight of the keys work perfectly now...

Quite not good:l When I turn on the phone, the kernel bootimg blink :)...(don't know if it is an issue or not)

Seriously bad: When I lock my phone and turn it on rite after few seconds, it turned on...but if I let it be longer (over 10 secs)...I can't turn it on anymore (have to pull out the battery and boot up again) - This is why I flashed the rom triple times, just to make sure bout this issue...

Hope this would help or just tell me what to log for u (cause I think I can't use logcat in this situation :p)

P/s: noticed that it only happens when it wasn't connected to my USB cable or maybe charger before I lock the phone...if I use it normally (don't plug in cable or charger), it won't wake up after sleep and adb no more be able to detect the phone, too...that's why I couldn't pull out a log for u :(
[Samsung Galaxy S (4G Model)] tichs:
bhudven you can merge this code in to the framework of the rom, for the wired tetehring. https://gitorious.org/rowboat/frame...ndroid/server/usb/LegacyUsbDeviceManager.java.
[Samsung Galaxy S (4G Model)] lumin30:
Another Pro: TV Out is working. Somebody in particular will be thrilled about that. Also, data seems significantly better!

Though, as mentioned, I am also experiencing it not waking from deep sleep and have to do a battery pull.
[Samsung Galaxy S (4G Model)] Fluidification:
amazing man
[Samsung Galaxy S (4G Model)] bhundven:
All good feedback. I think I know whats going on with the sleep thing.
[Samsung Galaxy S (4G Model)] WillieWonka1985:
911

911 worked fine for me the other day. thanx:o
[Samsung Galaxy S (4G Model)] bhundven:
Was that on R6 or the aries teaser?
[Samsung Galaxy S (4G Model)] Rebel_X:
I know this is a CM9 thread, but 911 worked for me when I used AOKP. Since AOKP & CM9 share almost everything (kernel, code branch from github and even they share same problems), I guess it is safe to assume CM9 will work too.
[Samsung Galaxy S (4G Model)] bhundven:
Updated my OP to reflect that. Thanks for reporting!
[Samsung Galaxy S (4G Model)] Euler MD:
So I noticed that Face Unlock isn't working. Just wanted to point that out.

Outside of that, thanks for the great ROM :D. Looking forward to Wifi Calling soon.
[Samsung Galaxy S (4G Model)] gregcapps:
There is a work around to make face unlock work. Search.... force face unlock on xda and you will probably find it.
[Samsung Galaxy S (4G Model)] tichs:
I just wanted to point out that the wired tethering still doesn't work
[Samsung Galaxy S (4G Model)] bhundven:
Are questions still asked in the Q&A thread?
[Samsung Galaxy S (4G Model)] tichs:
yes they are just fixed the post
[Samsung Galaxy S (4G Model)] bhundven:
Fail. btw, I just re-read what you wrote, mikeflash.

running at a minimum of 100MHz is also a known issue. This has been known since way back in the early GB days with Tegrak. 100MHz (as jeffsf pointed out) seems to be a sleep frequency.

All sorts of drivers change their pll freq (jeffsf?) at 100MHz.
[Samsung Galaxy S (4G Model)] Fluidification:
On R5, not 6, after heavy use, I tried to turn it on again, and it was working and it worked throughout the remainder of my time on R5 (about 3 more weeks)

I even checked in CPUSpy.
[Samsung Galaxy S (4G Model)] turtlepa:
I can confirm the 100mhz r5 with airflip1
[Samsung Galaxy S (4G Model)] KrisM22:
Does GPS work on the SGS 4G in release 6? I had it installed briefly and then went very briefly to a MIUI ICS build and discovered that my GPS didn't work on my new-to-me SGS 4G and restored back to R6 and no go, and re-installed heimdall stock and no go.

I want to go back to R6, but I want to know if GPS works on it before I go playing with all sorts of supposed fixes trying to fix it! LOL
[Samsung Galaxy S (4G Model)] rezo609:
Sorry for being a noob bit.how do you knoe if your sgs4g is MTD partitioned?
[Samsung Galaxy S (4G Model)] eollie:
What rom did you flash?

If you are on one of the ICS roms or CM7 you are on a MTD rom.
[Samsung Galaxy S (4G Model)] KrisM22:
R6 changes it to MTD. Don't know abut other ROMs...
[Samsung Galaxy S (4G Model)] rezo609:
Im on stock with root, so will anything happen if I flash this ROM in recovery?
[Samsung Galaxy S (4G Model)] FBis251:
Well, I can tell you that you won't get any answers if you post in this thread. The question & answer thread is this way:

http://xdaforums.com/showthread.php?t=1729121
[Samsung Galaxy S (4G Model)] bhundven:
Thanks to everyone being so patient with our current issues.

I have been working with jeffsf and m4xm4n on the new aries kernel, but it is taking much more time then expected.

If you look at the issue tracker, we have started documenting bugs that need to be dealt with until we can make a release.

In the mean time, I am working on a Herring R7. I am looking to fix the advanced settings screen, the backlight issues, and a few minor details.

Keep an eye out, an update will be coming soon.
[Samsung Galaxy S (4G Model)] mikeflash:
After I changed it to 200mhz minimum, it didn't reboot randomly. Are you saying that doing this is preventing phone from deep sleep?

Battery in general doesn't seem to be suffering, except when wifi is on and not connected to any network, it consumes over 30% of battery overnight. I consider this a serious issue, but not a deal breaker. Looking forward to next updates.
[Samsung Galaxy S (4G Model)] bhundven:
Hello everyone.

I have uploaded release 7. This rom is still herring.

I still don't have an updated aries build... so keep hanging tight.

This release fixes the Advanced Menu in Settings. The bug was caused by a bad proprietary blob for tvout.

This should also mean that tv-out should work. Please test and let me know.

cypress-touch key backlight timeout is still grayed out. I'm working on this, but it will take some kernel work. I may do a release 8 just to fix this.

We also ported over aries sd/mmc host and core drivers. This should help with mmc issues and sleep issues wrt to wifi.

I've also added SGH-T959W to OTA_ASSERT, so Canadian users should find anything in the google play market tagged for SGH-T959W.

You've probably also noticed that the CM version is 9.1.0. Thats right, so you also get some CM bugfixes as well.

Builds are up on sourceforge and goo.im.

Go forth, and flash!

And remember, no logs, no bugs ;)

Edit: Crap, I forgot to mention.

Unlike the previous releases (-userdebug) this release is -eng.

This means by default out of the box debugging is enabled. This should help you get any logs you may need to send me on factory reset or help you get access to adb on recovery without first going into android and enabling android debugging first. (just like how cm7 was ;) )

Edit2: Also, I have updated the install instructions. Please RE-READ the entire OP. Re-READ the Instructions!
[Samsung Galaxy S (4G Model)] n1vlek:
although I don't use TVout, I believe R7 will make all TVout lovers bow down to you :D
[Samsung Galaxy S (4G Model)] bhundven:
I'd rather they just send me logs.
[Samsung Galaxy S (4G Model)] idevice12345:
Can I flash this from provision?
[Samsung Galaxy S (4G Model)] bhundven:
Read the OP. Ask [Q]uestions in the Q&A thread!
[Samsung Galaxy S (4G Model)] daothanhduy1996:
All questions (which has question mark) w/o logs, GO INTO Q&A thread...

And for ur answer this time, yup, of course u can

Edit: BH answered u then :)
[Samsung Galaxy S (4G Model)] idevice12345:
Sorry. I totally forget about the q&a. My mistake
[Samsung Galaxy S (4G Model)] Core618:
I had just flashed the last release... I was having serious battery drain on the latest AOKP, even with jeff's latest kernel and the kg4 modem...

clean flash of cm9 and battery is back to good, and gps seems to be working...

time to flash 9.1 now and see what happens!

Thanks B
[Samsung Galaxy S (4G Model)] jeffsf:
I'm still wading through the technical information on the SGS4G's "CPU" and a few thousand lines of code, but from what I can tell, the 100-MHz speed drops the speeds of the subsystems by a factor of two. From what I can tell at this point, that includes internal memory read/write, multimedia, microSD, WiFi, and probably the touchscreen.

I would imagine that things are pretty sluggish and unresponsive when at the 100-MHz rate. I am guessing that it is intended to be a "nearly dead" speed for the device, just before it goes into deep sleep.
[Samsung Galaxy S (4G Model)] TwitchyEye:
The tvout does a weird thing when turned sideways. It has a green bar across the bottom of the screen and some ghostly images. I grabbed a log of me turning it sideways and back. It doesn't show up on the phone only on the tv.

http://pastebin.com/1R6zscSh
[Samsung Galaxy S (4G Model)] bhundven:
Is there anyway to paste that on more then one line?
[Samsung Galaxy S (4G Model)] TwitchyEye:
Nyah!

http://pastebin.com/T2bX5qZr
[Samsung Galaxy S (4G Model)] bhundven:
jaaaa, nothing interesting here. Looks like a kernel issue?

Do this:

adb shell
cat /proc/kmsg > /data/dmesg.tv

Plug in the tvout, in the mode that works. Switch to the layout that doesn't work, then hit "ctrl+c" in the adb shell to stop logging.

paste that dmesg.tv and delete it from /data in adb shell.
[Samsung Galaxy S (4G Model)] bhundven:
Well, crap. That was fun!

I just posted Release 8.

The only difference between R7 and R8 is the addition of jeffsf's "hefe kernel" changes.

There were a lot of changes, so separating them out made sense to me in case someone has a problem with R8, tell them to try R7 and see if the problem still exists.

Also, I changed the default io scheduler from cfq to deadline.

The latest is up on sourceforge and goo.

Thanks go out to jeffsf!

Enjoy!
[Samsung Galaxy S (4G Model)] rbedell:
Sweet. :)
[Samsung Galaxy S (4G Model)] TwitchyEye:
Yeah I didn't think anything looked weird in there. For the other thing does a tv actually need to be on the other end? It's gonna take some rearranging.
[Samsung Galaxy S (4G Model)] jeffsf:
Setting a 200 MHz minimum should not impact deep sleep. If it resolves your hang/crash problems, then it is a great solution.

Better Battery Stats (app) provides some great insight into your phone's behavior relative to wake/sleep as well as what might be keeping your phone awake. I highly recommend it to anyone concerned about battery life.

If you are using the ondemand or ondemandX governor, they try to keep the phone at the slowest speed as much as possible, then jump up to one of the highest frequencies when under load. If you have a 100-MHz minimum set, then the phone will try to use it whenever it can.

If you are using smartassv2, then it tries to keep a more mid-range speed, and it generally won't use the 100 MHz rate.

(Neither of these statements say anything about battery life -- you'll have to try the various governors and settings out yourself and see what works for the way you use your phone.)
[Samsung Galaxy S (4G Model)] TwitchyEye:
Uh. Ok so I went to do this thing but now tvout is not working at all. Here's a log of this. I will reflash and try again later lol I'm currently at work slacking off. All this on R7 BTW.

http://pastebin.com/qzZS2Vt9
[Samsung Galaxy S (4G Model)] bhundven:
Ok, I've been thinking to port back aries fimc and remove this crappy tvout driver.

The tvout in aries is the one that airfluip1 said worked.

Gimmie a few days and we'll test it out.
[Samsung Galaxy S (4G Model)] TwitchyEye:
I like this plan
[Samsung Galaxy S (4G Model)] turtlepa:
If u do dmesg tvout is constantly restarting tvout pid killing it and restarting
[Samsung Galaxy S (4G Model)] jeffsf:
Which version of tvout?

If it bothers you, just delete

/system/bin/tvoutserver

/system/bin/tvouthack

What you are seeing is init trying to start tvout, but the process dying. Known "issue" on most CM9 and AOKP ROMs with the "borked" tvout bits.
[Samsung Galaxy S (4G Model)] bhundven:
is this on r8?
[Samsung Galaxy S (4G Model)] turtlepa:
Okay sorry i flashed a previous but this is what i was giving me. Logcat extreme app very useful it has floating window where u can resize window on top while navigating gui. I will flash r8 now see if dmesg is still showing same. I had this on gummy and there is post in that thread as well, but this might be irrelevant by now. Sorry for any confusion. Will update soon.
[Samsung Galaxy S (4G Model)] turtlepa:
What i posted in the attachment, that stopped. In dmesg for r8 the kill pid / restart for tvout is fixed. Everything seems fine in r8. Sorry for confusion. Good work bduv
[Samsung Galaxy S (4G Model)] bhundven:
Look at the latest proprietary binaries commits:

https://github.com/teamacid/proprietary_vendor_samsung/commits/ics

Here is what I'm thinking. This has been broken for some time.

I noticed airfluip1 and a couple others tell about success with the aries test build.

The aries blobs link together correctly, whereas ours were having some dynamic symbol issue.

It used to work before, but we've changed some other blobs, which may have broken linking.

So either I figure out which other blob broke linking (yeay 'git bisect'), or use the aries blobs.

Because of the change to the aries tvout binaries, the interface much match in the kernel.

So that means porting the aries fimc.

But progress is one step at a time and not an overnight "instantly stable and functional" kind of thing.

Question (ya, in my own dev thread :P). Did tvout work well before on stock/bml roms?

If it sucked (buggy/features/quality) before and the aries build is better, it might be better going with the aries fimc port.

But if it was about or exactly the same, then the binary fix is probably a better choice. Feedback from anyone with tvout?

Edit: sorry, I missed a tiny piece of context here pointing to an issue with rotation in tvout, specifically.
[Samsung Galaxy S (4G Model)] Rebel_X:
Hi bryan,

I installed CM9.1 in a hope to see if compass is working, but it is not :/

I did a little search and I found that lots of devices suffer the same issue in CM9.

And I thought the issue was fixed upstream but still affecting our device. The compass

almost works if the screen is facing the ground, and fixed (that is, not moving) if facing the sky.

http://review.cyanogenmod.com/#/c/14609/

Our device doesn't have gyroscope sensor.

Edit: For your question about TV Out, it used to work fine when I used Vallhalla Black Edition, don't have RCA cable anymore to test in CM9 X_X!
[Samsung Galaxy S (4G Model)] bhundven:
That commit was merged on august 15th. This build is from august 30th. It should have this fix.

We do override libsensors in our device tree though. I'll snoop around. Thanks for the tip!
[Samsung Galaxy S (4G Model)] m4127440:
TvOut worked flawlessly on all the GB roms and on r8 0/180 degrees is fine but 90/270 degrees has the green bar at bottom. With and without video playing

Has never been bugy and as far as features go there's just a checkbox. I never tried the Aries test build.
[Samsung Galaxy S (4G Model)] jrosetto:
GPS!!!

OK, so in R8 GPS still isn't working for me. I ran gremlin remover, flashed anthrax kernel to get me to 5.0.2.8, then flashed CM9 R8. Here is the logcat after installing CM9, GAPPS, and TELENAV. I've also went into Locations in settings and set my internal GPS to default. I started the logcat opened TELENAV and routed myself home ( which is where I'm sitting ) and left it for 15 minutes. It says I am 5.8 miles away from my house... GPS either never locks on or takes about 15 minutes to lock on. After the GPS locks on if I stop the trip and start it again it starts all over again with the 15 minute thing. It locks on in about 5 seconds with a GB rom.

Get me home ;)

Logcat Link: https://www.dropbox.com/s/7do9kf803e47rmy/logcat.txt
[Samsung Galaxy S (4G Model)] Rebel_X:
Here is a dump of logcat.

as you can see, starting from

there is

I don't call my self expert in Android's world, but correct me if I am wrong or ignore my rants about the code.

I am not saying the following is wrong, since the code is used for many other devices, but it looks weird to me,

CompassSensor::enable(int32_t, int en) A function in CompassSensor.cpp called 3 times. This function uses the private data member mEnabled

without being initialized, as it seems from the constructor the line was commented out to set it to false. Further it was used also in readEvents(sensors_event_t* data, int count) function. I noticed, the person who wrote this code before is using

mEnabled and mHasPendingEvent interchangeably, in my opinion. I could be wrong here.

Also I suspect the latest changes from m4xm4n in this file about setDelay

has something to do with this.

LogCat shows

I wonder if delay value supposed to be 60 not 200.

Please don't bash me if I was wrong and just ignore all of this. But I hope

at least the logcat will be useful to you.
[Samsung Galaxy S (4G Model)] bhundven:
Great, Could you document this on the github issue you opened?

All the data in one place is nice :D
[Samsung Galaxy S (4G Model)] bhundven:
A little update for aries: wifi now scans, associates a connection, and passes traffic.

Still having the Sleep of Death. Getting closer. I also found a few more issues. I'll update the issue tracker later tonight.
[Samsung Galaxy S (4G Model)] bhundven:
Ok, found the source of the sleep of death. It was caused by the RIL fix that m4xm4n did.

For the time being, I've reverted that change, and the SoD is gone. Sadly, so is RIL.

I also fixed the FFC for camera and recording, but the video is rotated. Looks like will have to override libcamera from aries-common.

So, I'm currently working on:

Fixing RIL

Fixing the rotated FFC

Fixing some audio issues

Looking into the wifi init issue (with jeffsf)

Trying to figure out how to change mDNIe to default to "UI" instead of "Disabled", as disabled looks all blurry.

(go to Settings -> Advanced -> mDNIe Mode -> Set to "UI"... not so blurry anymore ;) )

GPS is still unknown to work. I'll test this once RIL is working.

Wifi seems a little slow, but that could be my crappy wireless router.

Other then that, I haven't really spent time with any of the sensors, so I should check them out.

Aries is coming along well :cool::eek::D
[Samsung Galaxy S (4G Model)] lonoguge:
All my wants.
[Samsung Galaxy S (4G Model)] VillaCastana321:
Also sometimes I notice that my clock will freeze along. Clock will show the same time for like an hour plus. Is anyone else experiencing this issue?
[Samsung Galaxy S (4G Model)] th3controller:
No, try wiping cache and fixing permissions.

If problem still persists get aLogCat log. Also all questions belong to Q&A.
[Samsung Galaxy S (4G Model)] bhundven:
Not trying to be harsh, but if you don't have logs or anything that helps development, please post in q&a.

Thanks ;)
[Samsung Galaxy S (4G Model)] TerrorCandii:
Good rom, battery is not the greatest, and had a rr, but otherwise good rom. Keep up the good work.
[Samsung Galaxy S (4G Model)] jeffsf:
If you have logs, Better Battery Stats reports, or other insight into the perceived battery issues, the dev thread might be a good place to post them. Kudos, as welcome as they are, generally are posted in the Q&A thread.
[Samsung Galaxy S (4G Model)] TerrorCandii:
Thank you, I'll try and get a logcat for the battery and rr issue. It's installed on my girl's phone. Can't seem to find a solid rom, so tried this out. Seems good otherwise, from what she's telling me. That and when she unplugged the phone, it dropped to 5%, but rebooted and all said correctly.
[Samsung Galaxy S (4G Model)] fish72:
Hi,

1st of all thanks for this great rom.

As I've experienced with other ICS roms, I get a message "Data roaming you have lost data connectivity...." every few minutes.

Can you post a patch to disable this message ?

Maybe this post can help :

http://xdaforums.com/show...php?p=30833431

Thank you
[Samsung Galaxy S (4G Model)] jeffsf:
Fish, would you be able to help with some opinions on a thread on the "Data Roaming" indicator?
[Samsung Galaxy S (4G Model)] fish72:
HAHAHAH Tank you Jeff. Eleaor is my SON :)

I don't know how to "push" the solution to this rom, That's why I asked for help from the developer.

Yes, I guess we are "Roamed" by other phone service provider since we are in a place without good reception, But the message IS annoying and I would be more thsn happy to remove it.
[Samsung Galaxy S (4G Model)] rezo609:
Will TV out ever be fixed anytime soon?
[Samsung Galaxy S (4G Model)] sublimespot:
Alternatively, you could just read the OP and I bet you'll find the answer:D, that's why you gotta read them every time you open the thread. That's how I stay up with the roms and what's going on :)
[Samsung Galaxy S (4G Model)] bhundven:
Well, the OP says it works, but rotation on tvout is still broken.

It is all fixed in aries, but... without ril working, you just have a neat media player with wifi.

m4xm4n is hard at work on ril. Thank goodness. I go through Aleve bottles like M&Ms when I stare at that code.
[Samsung Galaxy S (4G Model)] gregcapps:
At the risk of being pounded for a question, I'm gonna post this anyway. Going by the last post appears as if RIL is the only bug left to be fixed in Aries....is this correct.
[Samsung Galaxy S (4G Model)] jeffsf:
It certainly is a major one, but we're peeling the onion as fast as maintaining a real life permits.

Posted from my SGS4G, thanks to Team Acid development
[Samsung Galaxy S (4G Model)] gregcapps:
Thanks for the answer and thanks for not pounding my head over the query.