yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] atinm:
Uploaded new 04282011 build for all devices. Pulled in sensors from JVB so compass should work now.
[Galaxy S I9000 Android Development] mikeinessex:
thankyou :)
[Galaxy S I9000 Android Development] Lnwlfoeo:
Yeah and some black magic too :D

Downloading now!!!
[Galaxy S I9000 Android Development] prembox:
Downloadin it maestro!! Alas...something nice happening on an extremely badass day.... :D
[Galaxy S I9000 Android Development] dennishylau:
bravo!
[Galaxy S I9000 Android Development] Matrix72:
Compass works fine now. Just tested in Maps :) thank you guys
[Galaxy S I9000 Android Development] mshook:
04282011 : Compass and auto brightness not working

Just downloaded and installed it and it appears not only my compass doesn't work but also automatic brightness (which used to).

Am I the only one seeing this?
[Galaxy S I9000 Android Development] Guiper:
Compass needs calibration after each reboot, just wave on the air in eights. Trying to fix it.

Regarding auto brightness, do you have a captivate or normal i9000?
[Galaxy S I9000 Android Development] mshook:
I tried the eight thing a couple of times: no luck and I have a standard i9000.
[Galaxy S I9000 Android Development] Razer(x):
WFT is "black magic" in the changelog?!?
[Galaxy S I9000 Android Development] atinm:
We kid. Don't take us so seriously, we don't :). It is whatever else came in that we can't remember/can't explain because it is upstream from us in the CyanogenMod tree, or because it is closed source from Samsung.
[Galaxy S I9000 Android Development] DocMAX:
yeah! WTF is "black magic" ??? is it the last title of porn i watched these days?
[Galaxy S I9000 Android Development] Razer(x):
Is it the better battery life confirmed?
[Galaxy S I9000 Android Development] farid993:
wow! i think we have no "Polling problem on RIL" !

ps:

sorry! :D we have "Polling problem on RIL"
[Galaxy S I9000 Android Development] DocMAX:
WARNING!!! ATTENTION!!!: Light sensor is not working with latest nightly build!!!
[Galaxy S I9000 Android Development] prembox:
Same here mate.....anyone figured a fix for this?
[Galaxy S I9000 Android Development] jaju123:
Mine wont install because it cant find the product code or something like that.. anyone know what to do? I think I delete some lines in the build.prop but which ones do I delete? Thanks.
[Galaxy S I9000 Android Development] dr.bahaeddin:
What is light sensor lols?
[Galaxy S I9000 Android Development] runedrune:
it's what the phone uses for auto-brightness.
[Galaxy S I9000 Android Development] dr.bahaeddin:
thx mate. i have no such problem. i'm on latest update.
[Galaxy S I9000 Android Development] eeyunopper:
Compass working

Light sensor works, tested using lux meter from market, but screen doesn't dim after brightening when fluorescent light turned on and off. Lock and unlock sets screen to dimmer setting.
[Galaxy S I9000 Android Development] DocMAX:
i'm on glitch kernel. i'll try original kernel...

edit:

sorry, its an kernel problem with glitch kernel.
[Galaxy S I9000 Android Development] gbohm:
update worked great

please stop reporting stuff if you switch kernels as if you are sure the problems came from the update ....

at least state which kernel you use if it differs from cm standard.....it is highly irritating
[Galaxy S I9000 Android Development] zacharias.maladroit:
*deleted*

non-correct statement
[Galaxy S I9000 Android Development] mshook:
I use stock CM. I'm flashing again to see if I still see the light sensor + compass issues.
[Galaxy S I9000 Android Development] elmig:
just installed 20110428. Compass reports strong magnetic field but now it works!
[Galaxy S I9000 Android Development] Guiper:
Any other current kernel (tk, bilboa, zach) except the one which came with the latest build will break ALL sensors.

Any of those kernels have the updated drivers. Please ask the developers to sync with sensors branch (soon upstream hopefully).

Please just comment sensors if use the kernel provided with the build.
[Galaxy S I9000 Android Development] sugar 7:
Thank's for update all is OK !

CM7 THE BEST :)
[Galaxy S I9000 Android Development] kbkrogs:
Anyone else gets FC with Root Explore?
[Galaxy S I9000 Android Development] elviroo:
im not up to date with cm7. sorry.

can anybody tell me if the battery drain is fixed yet? the start post is also not up to date.
[Galaxy S I9000 Android Development] eeyunopper:
No FC for me.

sent via potential brick...
[Galaxy S I9000 Android Development] gbohm:
clear cache and settings of root explorer
[Galaxy S I9000 Android Development] mariotme:
me neither, you can try reinstalling it and check again
[Galaxy S I9000 Android Development] Guiper:
Any feedback regarding battery life is welcome.

Don't forget that phone may need some days to reflect improvements due to the use of battery stats file.

Maybe deleting the file via recovery in a good way of getting faster results (not sure).
[Galaxy S I9000 Android Development] Tk-Glitch:
Hey Guiper, is it normal to see my commits in Teamhacksung repo concerning JVB sensors ? I shouldn't have write access, right ?

I fear I did something wrong.. Maybe juste a bug on my two machines with firefox... ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
probably some display issue

I didn't see any changes from you on the teamhacksung repo

only on your own

so: keep calm :)

everything's fine ^^
[Galaxy S I9000 Android Development] crypta:
Display is pretty bright - is the light sensor ok? It shows pretty often max values.

sent from my SGS, CM7 2.3.3
[Galaxy S I9000 Android Development] Guiper:
The commits for sensors are on a branch called sensors not on the main one. Change the branch and you will see the commits.

Atinm should merge it to main once good feedback is received.
[Galaxy S I9000 Android Development] Arkanius:
Sensor (Compass) working accurately after doing the 8 method in the air.
[Galaxy S I9000 Android Development] Mercury0660:
With latest nightly, my market FCs. I already tried wiping dalvik and cache, delted data, doesn't work. As soon as i want to download.an app, it FCs
[Galaxy S I9000 Android Development] crypta:
My light sensor shows only 6 or 5000. Kinda digital - and wrong.

sent from my SGS, CM7 2.3.3
[Galaxy S I9000 Android Development] domy1985:
Just a question...why isn't BLN included in standard kernel? For me its nearly the onlz reason why i think about flashing another kernel ( alternative is NoLed)
[Galaxy S I9000 Android Development] zacharias.maladroit:
isn't it already ?
[Galaxy S I9000 Android Development] quadratic:
Yeah, there are a few of us here.
[Galaxy S I9000 Android Development] nkrick:
What are you using to see the output from the light sensor? I just updated my captivate to the latest nightly and noticed immediately that the screen brightness was 100%. It seems that the ambient light sensor is not working correctly, but I'd like to be able to see the values it is outputting.
[Galaxy S I9000 Android Development] mariotme:
Am one of them too
[Galaxy S I9000 Android Development] madmack:
I'm getting the same thing. either 6 or 5000. Nada in between.
[Galaxy S I9000 Android Development] maisi:
Light sensor doesn't work anymore,i get the 6 and 5000 value too.

Market ,root explorer and compass are working fine!
[Galaxy S I9000 Android Development] mariotme:
Same here :S
[Galaxy S I9000 Android Development] android53:
+1

6 - 5000 lux measured in z-test
[Galaxy S I9000 Android Development] DocMAX:
me too 6, 5000 and 9000
[Galaxy S I9000 Android Development] jaju123:
So far the battery has dropped 1% in 30 mins of heavy usage... pretty impressive (with bilboa1 kernel). Not sure if it is just fluke yet - time will tell, but its never been this good before!
[Galaxy S I9000 Android Development] joaoennes:
Everything seems to be working as it should here.
[Galaxy S I9000 Android Development] kar200:
Was going to say :) why would he want someone that speak Arabic? should just ask the question except if he is not comfortable with English.
[Galaxy S I9000 Android Development] Bhonka:
My capacitive leds won't go out unless I lock the phone.

Anyone else having this issue?
[Galaxy S I9000 Android Development] madmack:
its always been like that.

flash bilboa1's new kernel. it'll get that taken care of
[Galaxy S I9000 Android Development] Guiper:
Light sensor only reports 3 or 4 values. 6 5000, 9000 and 15000 if not mistaken.

It always been like this except on CM6 where coolya hacked kernel driver to report more values.

Flash a samsung rom and compare, you will get the same values.

Regarding the screen dimming down, it's not default on aosp android (just dim up). Enable it on CM options if you want.
[Galaxy S I9000 Android Development] switchrock:
Some Issuses

Hi. Battery does not charge up to 100%, only up to 96% And I could not switch off my phone and charge. Plus I have got distorted images before the CM7 boot animation. Anyone experiencing this issuse? Any help will be much appreciated.

on CM7 with platypus-alice.
[Galaxy S I9000 Android Development] mobydeek:
My Display shows crazy pixels while booting and my external SD-Card isn't working anymore.

You've flashed the crappy Samsung Gingerbread release which has updated your bootloader.

To fix it, you have to flash a 2.2 bootloader.

Why my phone only charges to 94%/96%?

The Android OS wont ever let you actually charge to 100%, because charging it to 100% would wear-out the battery alot faster then charging it just under maximum.

On Sammy Roms it just usually tells you its at 100%, when its really at 94%/96%.

From: http://forum.cyanogenmod.com/topic/15278-all-models-cyanogenmod-7-faq-user-discussion/
[Galaxy S I9000 Android Development] nkrick:
My CM settings are set to allow "dimming down." Despite this, when the ambient light sensor shows a value of 6, my screen is still at 100% brightness. It is nearly blinding in a well lit room, much less in a dark room.

It could be that the sensor is reporting values correctly as you say, but Android/CM is ignoring the values and not dimming the screen correctly.
[Galaxy S I9000 Android Development] kar200:
did you flash from a Gingerbread or Froyo rom?
[Galaxy S I9000 Android Development] Headstrike85:
Only made to protect your battery
[Galaxy S I9000 Android Development] nkrick:
I just performed an indoor/outdoor test. The ambient light sensor is reporting all the correct values. 6 in a dark room, 5000 in a well lit room, 9000 outside in the shade, and 15000 in the sunlight.

The issue is not with the sensor or sensor libs, but apparently in either the kernel or Android/CM taking the proper actions and dimming the screen when appropriate.
[Galaxy S I9000 Android Development] Guiper:
The brightness is determined by the framework. Try formatting. dalvik cache or in worst case wipe everything.

No idea why it's happening :(
[Galaxy S I9000 Android Development] zacharias.maladroit:
so far tested the auto-rotation (sometimes it feels faster than before - sometimes slower - dunno) :)

light sensor: under direct neon light it has highest brightness and when going into darker areas it goes down

potential issues with the light sensor:

- it takes a lot of time

- as soon as you touch a softkey (lit up buttons) or the screen the screen seems to use highest brightness which is quite irritating in the darkness

anyways: a huge improvement

Thanks a lot Guiper ! :)
[Galaxy S I9000 Android Development] madmack:
here's the problem with these values:

Go into CM7's backlight settings for custom values. You'll see that the highest value you can assign is 3000 ! meaning we can't customize these higher values. :(
[Galaxy S I9000 Android Development] R34L2Pac:
Hi.

first of all Thanks for the update. guys, youre doing geat job and looking forward for next updates.

After flashing latest update sensors works for me, but i cant connect to wifi. It only says 'Obtaining IP' but never gets it. Before that I was on CM7-04212011 and zach´s kernel platypus-whatsitsname and wifi worked fine, without any problems.

Also one thing which annoyes me much is the lock to mobile network. After boot and inserting the pin it takes 2-4minutes to be possible to make a phonecall. Does anyone else reporting this problem? I tried also different modems and different kernel, but still the same.:(
[Galaxy S I9000 Android Development] Arkanius:
Lock your screen and unlock. Instant connection
[Galaxy S I9000 Android Development] nkrick:
I formatted the dalvik cache when I installed the nightly update (I always clear the caches because sometimes odd problems occur if you do not). The be thorough in my testing, I formatted the dalvik cache a second time with no change in backlight behavior.
[Galaxy S I9000 Android Development] switchrock:
i had already flash a froyo bootloader even b4 i flash cm7. maybe i didnt get the suitable bootloader?
[Galaxy S I9000 Android Development] nkrick:
You may be on to something here. The Sharp chip that does the ambient light sensing on the SGS's seems to report lux. If the max value that CM supports is 3000, it must not be using lux but some other value. Since the sensor is reporting 5000 in a lit indoor room, that is higher than 3000, (the max value that CM knows about) which causes the brightness to be at max. It may be necessary for the developers to create some sort of mapping file from the values reported by the sensor to values that CM can use. Something like:

6 = 6

5000 = 300

9000 = 2000

15000 = 3000
[Galaxy S I9000 Android Development] Razer(x):
My camera shows black screen? What's happening?
[Galaxy S I9000 Android Development] VeloC!ty:
Mine is working, try a reflash?
[Galaxy S I9000 Android Development] kar200:
Switch on the light :).

Mine is working too. As others said, try a reflash.
[Galaxy S I9000 Android Development] digitalcoder:
Deleted... 428 already mentioned.
[Galaxy S I9000 Android Development] nkrick:
The discussion about the ambient light sensor is all in regards to 428.

FYI, auto brightness is currently not working due to the new sensor libs, but the devs appear to be working on it.

edit: LOL, you edited while I was in the process of quoting, that is the first time that has ever happened to me.
[Galaxy S I9000 Android Development] Benzema9:
Hey guys, the ROM is great but the maintenance of the thread sucks :(
[Galaxy S I9000 Android Development] g00ndu:
No you didn't. :(

Which froyo rom did you flash with?
[Galaxy S I9000 Android Development] dawgpound6985:
NM about this part. Sourceforge says the latest nightly is 94.4 MB but when I download it, it ends up only being 90 MB. Is this the same for everyone else?
[Galaxy S I9000 Android Development] Funnnny:
Hello to the community, I recently switch to Galaxy S from HTC Wildfire, just installed CM7 and it's great :)
[Galaxy S I9000 Android Development] atinm:
The question is not what the chip reports, the question is what the libsensors from Samsung reports. Where are you reading these lux numbers that the SGS is reporting? I'm only getting 6 and 5000 right now, wish it was light out so I could test outdoors as well.
[Galaxy S I9000 Android Development] nkrick:
I used z-device test to get the values reported by the sensors. As far as physical location, I am in Arizona, so plenty of bright sunlight to test with.
[Galaxy S I9000 Android Development] atinm:
And what are the values that you see? From what I can tell, the libsensors binary only reports two values, 6 and 5000. But I don't have daylight right now to test outdoors. The z-test only returns either 6 in a slightly dark study and 5000 directly under a lamp which is the brightest light I have right now.
[Galaxy S I9000 Android Development] DvTonder:
Does anyone else have the problem where the wifi sleep setting does not stick?

I change it to "screen off" and save but next time I go into the wifi advanced settings it is back to "always on". It has been a problem for me since I switched to cm7 several releases ago.
[Galaxy S I9000 Android Development] nkrick:
Indoor in incandescent lighting, I get 6 lux (incandescent lights are generally 3000 lux or lower). Indoor in fluorescent lighting I get a value of 5000 lux, (which is pretty accurate since most fluorescent lights are 4500-6000 lux). Unfortunately I don't have a 9000 lux fluorescent to test with. Under a 8500 lux fluorescent it still shows 5000 lux in z-device test. Outdoors in the shade I get 9000 lux in z-test. Outdoors in the sunlight I get 15000 lux. So the 4 values that z-device test is getting are 6, 5000, 9000, & 15000. All but 6 are higher than the max 3000 that CM uses as 100% brightness.

I also noticed that in Settings | CyanogenMod settings | Display | Automatic backlight | Use custom checked | Edit other levels, the "Sensor (filtered / raw)" shows 6/6, 5000/5000, etc. So it may be possible to "filter" the raw values to produce valid values for CM.
[Galaxy S I9000 Android Development] samyong76:
hey guys, I'm using a custom kernel from zach. can I update to the latest nightly with the kernel, or must I flash the original kernel before flashing the latest nightly?
[Galaxy S I9000 Android Development] zacharias.maladroit:
please use the original kernel

my kernels haven't been updated yet :)
[Galaxy S I9000 Android Development] atinm:
I haven't been able to find the code in CM that is setting the max at 3000. It seems like it is something that the sensors binary blob is reporting and so it is inconsistent anyway . . . driving me crazy. I have half a mind to drop the whole of sensors and go back to the way it was. We'd lose compass, but get back our other sensors.
[Galaxy S I9000 Android Development] nkrick:
All the other sensors seem to be working so far, just the ambient light sensor is a little weird. Perhaps one of the mainline CM devs knows more about how the auto brightness in CM works.

Since the compass is a yamaha chip and the light sensor is a sharp chip, can the sensor libs be combined? or is it a single library for the sensors?
[Galaxy S I9000 Android Development] katsuru:
04282011

- fixed sensors (compass)

- black magic

Whats "Black magic" ??
[Galaxy S I9000 Android Development] madmack:
super battery savings :)
[Galaxy S I9000 Android Development] atinm:
It's a single binary blob from Samsung that talks to the drivers and reports up. That's the blob we inserted instead of our own implementations because the compass was just too hard to figure out because we didn't have docs. We hoped that Samsung was just a drop in, and it almost was except for this light sensor deal. I am going to read some Android stuff related to sensors, and talk to whoever worked on this part of the code last.
[Galaxy S I9000 Android Development] switchrock:
i flashed stock xxjpa first. after that flash speedmod and followed instructions according.
[Galaxy S I9000 Android Development] madmack:
thanks for your work.

I think we should stick with these Samsung libs given how they improve battery life considerably.

maybe we could hard code values in cm's framework to accept higher than 3000 or map the values before they are processed through the app.

I'll take battery life over correct auto brightness any day.
[Galaxy S I9000 Android Development] Ferdimage:
couldnt agree more.. battery tweaks and updates are more welcome :)
[Galaxy S I9000 Android Development] nkrick:
The Samsung libraries are working in so far as they are sending data. There may be some "interpreting" or "massaging" of that data required by the kernel or the CM framework, but I think that should be doable. If the Samsung libraries were not sending any data at all, that would be a different matter.

For now, I have added the auto brightness toggle to my power widget tray which while not ideal, is an acceptable workaround. While a completely working open source library would be great, I'd rather have everything working with a closed source binary. If there is a driver developer out there who wants to tackle the yamaha compass chip, we could potentially get a 100% working open source sensor library.
[Galaxy S I9000 Android Development] kenkiller:
Hi guys....

Just to check, is the battery life much improved? :D
[Galaxy S I9000 Android Development] dennishylau:
Not sure about battery life yet but compass is definitely working :D
[Galaxy S I9000 Android Development] eeyunopper:
Bit early to tell, but i'm seeing no difference. 27% drop in 1.5 hours with heavy usage, screen constantly on, music playing and wifi on. 10% drop @ idle over night (7 hours), wifi and data off.
[Galaxy S I9000 Android Development] kenkiller:
Ah...thanks for the replies. :D

Been away from CM7 for a few weeks, had to go back to Samsung fw due to work reasons....just thinking if it was worth it to go back to CM7 if battery drain was fixed. :( Looking forward to that day.... :D
[Galaxy S I9000 Android Development] josteink:
Same here, but the md5sum checked out, so I assumed it was safe to apply anyway. So far it seems to work OK. At least it applied correctly and phone booted afterwards :)
[Galaxy S I9000 Android Development] josteink:
Compared to stock XWJVB (without the battery-drain problem) it seems a bit inferior. At least as far as update 21.04.2011 is concerned. Not horrible by any means, but slightly inferior.

But now I've applied 28.04.2011 so lets see if it gets any better :)
[Galaxy S I9000 Android Development] Adevem:
check the properties of the file - be sure to look at the bytes down to the least significant bit. it should round up to whatever size stated on Sourceforge.
[Galaxy S I9000 Android Development] dawgpound6985:
Ahh okay. That makes sense I flashed it when it was released but I wanted to make sure my download wasn't incomplete or something. I also got confused by the included md5sum file so that's where it all started but I figured it out afterwards. Thanks.
[Galaxy S I9000 Android Development] digitalcoder:
I see some chatter online regards 2.3.4, the awesome thing about cm7 is that it's only a matter of time.....

Quick question - are people still flashing jvk modem for battery savings? Could this have any negative impact on the latest nightly do you think?
[Galaxy S I9000 Android Development] brujoand:
Okay, tip if anyone needs it. My Market kept FC all the time:

E/AndroidRuntime( 1000): java.lang.SecurityException: Invalid value for is_public_api: null

Before this happened i had like 10 apps that needed to be updated and i pressed the "update all" button. This seemed to have caused the error. Well, i just wiped app data, and all **** is still not working :( Seems the error is somewhere deeper :/
[Galaxy S I9000 Android Development] alihaydarf:
does the latest cwm recovery 3.0.2.8 takes care of bml_over_mtd issue or will we always need the update script to support this?
[Galaxy S I9000 Android Development] LordSoth:
Hi I get this error at step 9.

At step 7 after I flash the speedmod kernel and the device goes into recovery for the first time I get prompted about a file system change. Should I do the conversion of leave it alone and choose go to recovery?

<ID:0/004> Added!!

<ID:0/004> Odin v.3 engine (ID:4)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> Download (dwTSize :3414676)..

<ID:0/004> zImage

<ID:0/004> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

***edit***

nvm got it.

It's sweet
[Galaxy S I9000 Android Development] achio1115:
Great news, I'll probably wait till stable build comes out. (Only if I can wait that long, it's getting too tempting to try it out...) :D
[Galaxy S I9000 Android Development] Kops:
Still a little early for me, but wanted to chime in with my support in hopes of trying this soon!
[Galaxy S I9000 Android Development] rmanaudio:
Pretty damn stable to me!

Once the camera starts working and the pulling issue is resolved...i would say it is close to being out of beta.

The only other issue is with touch, as it does not always detect the correct spot you touch, specially around the edges. It could be due to the Nexus S screen being curved or not.

Not much more to fix before i would say CM7 is ready to be served with milk!

The speed improvements over stock Samsung 2.2 is amazing. CM7 on both my devices feels just amazing. I just wish CM7 on my tab would works as nice as this release.