yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] mobilescooby:
Compass

Hey all, been quietly reading the ongoing saga between light sensor and compass but yet i'm completely unable to get the compass to do a full 360.

I've wiped, flashed, reflashed, wiped again, installed and all the other things that people have suggested and yet i cannot seem to get the compass to function.

so come on spill whats the secret to getting this thing working?

On a side note i do remember reading (cant remember who now) saying that the light sensor only reports/acknowledges 2 values (6 and 5000, i believe)

i've been sat looking at the cm light sensor levels settings and have noticed that the filtered values do fluctuate alot more that the raw values. is this normal or is there something on my phone that isnt happening to anybody else? i mean if there is something that can be extracted or reported to you guys then i'm more than happy to do what it takes! Just lemme know.

I've also noticed that i can set the number of levels on the settings bit! (correct me if i'm wrong and probably am) couldn't we add more levels thus allowing a smoother curve for the back light?

anyway just thought i'd mention it and report. no harm i guess

Regards
[Galaxy S I9000 Android Development] PJF16:
The dialer isn's as much as important than the "return" key in the sms app. I hate that smiley key. *arrrgh* :mad:
[Galaxy S I9000 Android Development] eeyunopper:
Can you not just use a different keyboard? The free gingerbread one in market has the return key I believe, that if long pressed inserts smileys.
[Galaxy S I9000 Android Development] atinm:
On light sensor: the sensor library from samsung returns 4 values, and we only get two usable ones (the higher three all map to "bright" anyway and it makes sense that they do). The problem is that in low light levels (the lower two values 6-5000 lux), the Nexus S code we used had more levels we could report up to CM. Samsung only returns the two, period.

I don't know about Compass - it "just worked". You do have to do some figure 8s in the air to caliberate it before it figures out what's what.
[Galaxy S I9000 Android Development] Mercury0660:
I tested the compass with GPS status app and it works good and also after reboot and recalbrating, no need to uninstall, reinstall
[Galaxy S I9000 Android Development] PJF16:
I've tried another keyboard long time before. And that didn't work for me. :rolleyes:
[Galaxy S I9000 Android Development] T53N:
Ok, about the compass, this is what I did.

I couldn't get the compass to work for me properly, it hanged around 300°.

I downloaded and ran the 'cleaning script of lippol94 and reflashed the 0428/NIGHTLY. Now the compass works! :D.

It's a bit stutter y, but it works! Now I can go out and play Spektrek again :p.

I think there was still some 'garbage' left from all the other kernels I flashed previously...

Thanks!
[Galaxy S I9000 Android Development] sago62:
have tried everything .... my compass 90 degrees wrong! I installed 04/28 three times...:(
[Galaxy S I9000 Android Development] madmack:
if the compass moves even by little.. then its working ! it used to be still.

all you need to do is calibrate the thing.
[Galaxy S I9000 Android Development] josteink:
I guess it's nothing wrong with striving for perfection, but the way I look at it, my SGS never ever had reliable GPS and with CM7 it seems to work fairly well.

The compass never worked properly and it still doesn't. Really though: I can't remember one single thing I need it for, so I'm still a happy customer ;)
[Galaxy S I9000 Android Development] madmack:
For those minimalists:

stock latest nightly kernel + voodoo color + LED fix.

http://www.multiupload.com/QQ1BVO6D71

uses bml_over_mtd now

its basically a stripped down version of bilboa1's.
[Galaxy S I9000 Android Development] sago62:
no mention of a few degrees, but 90 and over ... with the system of '8 "nothing happens!

wow....I did do 40 pirouettes ... now it works!
[Galaxy S I9000 Android Development] mshook:
Tried this, it didn't do anything.

I ended looking at my /cache fs and it was obviously corrupted:

So I formatted it from CWM but compass still doesn't work lol...
[Galaxy S I9000 Android Development] Szighy:
hehe...you should do those moves every time when you freshly flash a rom :P
[Galaxy S I9000 Android Development] mermigas:
No need. Just watch on TV Messi playing. ;)
[Galaxy S I9000 Android Development] mobilescooby:
Thank you for the clarification, i'll leave the problem solving to the dev's i think lol ;)

re: Compass, i'll keep waving this thing around like a divvy until i can get it to function properly lol

once again

many thanks
[Galaxy S I9000 Android Development] Guiper:
Just as example I cannot calibrate compass inside my car.

As soon as I get out of the car and calibrate it, it works inside. I guess some places have way too many interferences to make calibration work. Blame samsung for choosing such ****ty magnetic field reader.

Go to outside wave your phone around and compass should work.
[Galaxy S I9000 Android Development] prembox:
Looks like you need to reflash the latest update in a clean way to get it all working. For me when i moved to 0428 Update, I flashed the Alice kernel from Zach immdly after that and booted up. It booted up fine but the compass, auto-brightness and auto-rotation...nothin worked. What I did immdly was i reflashed as is and booted up with g02d5ed4 atin@waltest9-ma #1 (which was inbuilt in the update) and all of it worked flawlessly....
[Galaxy S I9000 Android Development] mshook:
You're right: doing that worked for me.

Well compass is still not really precise but at least it sort of points to the north where before I had seen errors > 90 degrees... :)
[Galaxy S I9000 Android Development] sago62:
the strong way!! yessssssssssssss .....:cool::cool:
[Galaxy S I9000 Android Development] prembox:
GSM Data Connection disconnects frequently...

@Codeworkx/Atinm:

The only problem I had and and I still have is that my GSM Data Connection disconnects frequently (without any signal loss)...same case with all the CM7 updates over the last 3 months!!! Zach's kernels helped me a lot recently but the problem remains....its frustrating.....I'm only hoping that you guys looks into it...if ever u get time for it...else I can understand..... CM7 is the best thing that happened to SGS and you guys rock!!

A full description of my problem is on http://xdaforums.com/showthread.php?t=940095&highlight=Data+connection&page=698
[Galaxy S I9000 Android Development] atinm:
We are testing some config changes that will allow us to assign different brightness to the 4 lux levels we do have (6, 5000, 9000, 15000) to see if we can at least have each get its own brightness level.
[Galaxy S I9000 Android Development] mobilescooby:
Absolutely frigging awesome....take your time peeps, we will always be indebted to you anyway for bringing us CM7 so a few little hiccups along the way is just part of the journey.

Gees, i never realised how philsopical i could be!!.......must be my age lol
[Galaxy S I9000 Android Development] katsuru:
Go for it guys, i hope you guys get those brightness levels working, as this samsung ones are KILLING my battery! inside my house, during the day ( now ) my sensor sets my brightness to MAX! :eek:

Other than that, it runs flawless here, really loving this new nightly ! Thank you all CM7 SGS Team for your time spent and dedication !

Has any1 a tip on a modem i could use which would reduce my battery usage ? I live in germany and have a o2 Germany Sim Card.

best regards
[Galaxy S I9000 Android Development] vitalij:
with your kernel compass is not working, however with cm default kernel it works for me.
[Galaxy S I9000 Android Development] zacharias.maladroit:
try using the app "Screen Filter"

this should reduce the brightness even more :)
[Galaxy S I9000 Android Development] Rixsta:
Wish post 1 would get updated...not flashed this rom for a long time...

Can someone tell me if its completely stable now...hows the camera and HD recording?

What is the best kernel to flash with CM7?

Please dont flame me but I've not got time to search and read back , my twin girls need me to fix their tent lol..

This would really help me out ...

Thank you..
[Galaxy S I9000 Android Development] airf0rce:
Camera works (cam preview still needs some work), not as good as in Samsung roms but it makes decent pictures in good lighting. No HD recording yet.

For kernels, I would stick with stock or bilboa's kernel, always had some issues with other kernels (lag, autorotation issues...) but feel free to try the others as well.
[Galaxy S I9000 Android Development] gotfrydm:
I'm having the exact problem, however I'm using a 3g connection.
[Galaxy S I9000 Android Development] airf0rce:
Camera works (cam preview still needs some work), not as good as in Samsung roms but it makes decent pictures in good lighting. No HD recording yet.

It's not completely stable for sure, some things still don't work (e.g. apps using cam like Google Goggles) and battery life isn't that good, but overall i think i had more issues with older official Froyo ROMs than with this one and its still getting better and better.

For kernels, I would stick with stock or bilboa's kernel, always had some issues with other kernels (lag, autorotation issues...) but feel free to try the others as well.

EDIT: Seems Google Goggles works with stock kernel now
[Galaxy S I9000 Android Development] olus:
I flashed latest nightly..google googles works now!!

Thx atinm and codeworkx
[Galaxy S I9000 Android Development] PJF16:
It worked 2 Updates before also...oO
[Galaxy S I9000 Android Development] nkrick:
The compass, like any compass, is going to point at magnetic north, not true north.

Currently that is somewhere between northern Canada and Siberia in the North Sea. The magnetic North Pole is moving at about 30-40 km per year right now.
[Galaxy S I9000 Android Development] crossjaw:
My data connection also keeps getting disconnected every 30-45 min or so...I do not lose signal...The E/G/H/3G (depending on if im on 2g or 3g) whatever symbol is always shown...but I have to keep toggling the data off and on to have it working again...its always been there on CM7...does anybody know why this happens?

Edit: ok ill try this http://xdaforums.com/showpost.php?p=13086066&postcount=6979
[Galaxy S I9000 Android Development] CROrION:
How long should my phone stay on GalaxyS Cyogen logo after flashing?
[Galaxy S I9000 Android Development] mshook:
So? It doesn't mean I should see it moving by something like +/- 10 degrees! ;-)
[Galaxy S I9000 Android Development] maisi:
Same here with 3G but not always and it looks like 2G works just 3G doesn't.
[Galaxy S I9000 Android Development] prembox:
10-15 secs...if you were to wipe cache, cleare dalvik cache and flash a custom kernel maybe max 20-25secs...not more than that....
[Galaxy S I9000 Android Development] sugar 7:
Maps fix 1400M to my House...before latest update 30 m !

Grrrr

What can I do ?

Thanks
[Galaxy S I9000 Android Development] suntzu123:
@up

give it a time.... Go outside... wait for cloudless sky
[Galaxy S I9000 Android Development] lippol94:
Hello everyone :)

I've just flashed CM7 into my device. Very impressed, nothing to say ;)

but i've a problem.

When I open Settings --> Cyanogen the settings app crashes. Don't know why. I think it's a problem of CMParts.apk but I looked nto the latest update package and CMparts seems included.

How can I fix that?

Thank you so much.

On more thing. What about CM7 Theme Chooser? Isn't implemented in SGS release?

Again thnk you.

Sorry for these questions. i used search but i didn't find answers. I'm new at CM7

:)
[Galaxy S I9000 Android Development] HellSassa69:
The first post of this thread says:

and then it links to this kernel which is what I have flashed:

http://xdaforums.com/showthread.php?t=822756|

I already wondered why I should flash a 2.2 kernel when CM7 ist 2.3 lol ^^

Am I getting it correct: In order to access my externalsd I have to flash a gingerbred kernel?

The steps should be like this:

1) download the newest version of kernel from here

http://xdaforums.com/showthread.php?t=1041532

2) flash as PDA with Odin

3) DONE (right???)

sorry to ask, its the first time today that I am useing Odin. On my Desire everything was more noob proof ^^
[Galaxy S I9000 Android Development] samyong76:
is there a fix for the ringer and notification volume? they are too soft alr. ):
[Galaxy S I9000 Android Development] runedrune:
It asks you to flash that kernel first because you should be starting off with a stock froyo rom. meaning you shouldn't have access to clockworkmod recovery. so you have to flash speedmod first to get CWM recovery. and no you have to make sure that you are on a froyo bootloader. you should start over the flashing procedure starting off with either JPU or EZbase as both contain the froyo bootloader.

and no the steps shouldn't be like that. follow them exactly as they are on the first page :)
[Galaxy S I9000 Android Development] sugar 7:
yes theme chooser is implemented ;)
[Galaxy S I9000 Android Development] prembox:
Install the Voodoo Control app from the market. But its not compatible with the stock CM7 Kernel....u may have to flash either Zach or Bilboa's Kernel to use the Voodoo Control app and amplify the sounds.....
[Galaxy S I9000 Android Development] zacharias.maladroit:
or buy Voodoo Control Plus

that one should work with the stock kernel, too, afaik :)
[Galaxy S I9000 Android Development] lippol94:
And probabily it's implemented in Cyanogenmod Settings right? :p

Seriously could someone help me? I can't open CM settings ( which i think are linked to CMParts.apk)

Thank you so much!
[Galaxy S I9000 Android Development] Daneshm90:
Adb lolcat or it didnt happen :p
[Galaxy S I9000 Android Development] lippol94:
Ahah you're right. Still not interted in CM7 mind yet :p

Gonna post the logcat (i think you've mistaken to write) asap.

For the moment thanks for replying
[Galaxy S I9000 Android Development] Daneshm90:
I highly doubt that ;)
[Galaxy S I9000 Android Development] frauhottelmann:
The theme chooser is in your app drawer...
[Galaxy S I9000 Android Development] Lnwlfoeo:
How come?

Can only amplify headphone :confused:
[Galaxy S I9000 Android Development] Szighy:
why nobody is using DSP manager...it's installed with the rom...
[Galaxy S I9000 Android Development] Szighy:
the theme chooser is in the appdrawer :P i guess you installed cm7 from miui didn't you :P
[Galaxy S I9000 Android Development] frauhottelmann:
Same thing for me with latest build :)
[Galaxy S I9000 Android Development] lippol94:
Yep :p but i formatted everything.. so so strange :D thanks for the advice. Tomorrow i Will wipe everything and then CM7.

Don't know why but CyanogenMod is so attractive

:)
[Galaxy S I9000 Android Development] :
finally cyanogenmod on my i9000 : )

can you explain please how to apply the

only-for-gurus-galaxys-bootloader-JVB.tar

I'm missing a guide, and I hat gingerbread on my phone before

at boot I get a colourful pixeled display /like the i9000 nexus S port kernel.

the reboot with powerbutton shows additonal

recovery & reboot

but those options don't work for me (hangs with white wheel image).

cyanogenmod is lightning fast and very stable! I recommend this developement - fantastic!!!

bR
[Galaxy S I9000 Android Development] joaoennes:
Off course, CyanogenMod is the pure Android experience, just with extra tweaks ;)

When I had my HTC Hero, CyanogenMod 6 was the best rom I used probably for this same reason.
[Galaxy S I9000 Android Development] DvTonder:
Am I reading the Github commits correctly in that LED notifications has now made it into the default kernel? If that is true all I can say is YAY! Now all we would need is the change to CMPARTS that bilboa did and we are set!
[Galaxy S I9000 Android Development] zacharias.maladroit:
in fact those settings were already in CMPARTS - they only need to be activated :)

great news that LED notifications are now officially part of SGS CM7 :D
[Galaxy S I9000 Android Development] prembox:


Worked initially but problem persists with my phone losing internet connection every 45 mins or so though the E symbol remains but its white. Browser wouldn't open anything ...Gtalk won't connect etc. Manual Data Connection OFF and then ON...it works again ....for 45 mins.... so frustrating! ! Smartphone like SGS...with something ultimate like CM7 on it looks dumb with an intermittent internet connection synch issue....I've now come to a conclusion that it ain't nothing to do with stock or custom kernel or different modems...it's something else ....hoping Codeworkx and the CM7 Team pay attention to this issue as well among other things...coz data connection on the phone shouldn't disconnect frequently despite full signal.......I'm gonna holler HELPPPP!!!""
[Galaxy S I9000 Android Development] zacharias.maladroit:
how about a script or app that

shortly de-activates and re-activates the data connection after 30 minutes ?
[Galaxy S I9000 Android Development] DvTonder:
Can someone tell atinm what to enable?
[Galaxy S I9000 Android Development] zacharias.maladroit:
I'm sure bilboa1 already told him :)
[Galaxy S I9000 Android Development] Razer(x):
Simply flash it with Odin and tick "Phone bootloader update" :)
[Galaxy S I9000 Android Development] kar200:
I don't think that is meant to be used at all. As the title says it is only for Gurus :).

AFAIK it is the GB bootloader that they are testing. CM7/Miui have to use the Froyo BL so don't worry about these ones in the CM7 download.

K.

EDIT: If you came from a GB Rom. Have a look at Ezbase rom. He provides the whole package as a direct download and you just have to flash it and tick repartition.

After you have done that you can start again from the steps in OP
[Galaxy S I9000 Android Development] periferral:
im trying to get usb tethering to work. however, when I connect my phone, my win7 host cannot seem to find the drivers for usb tethering to work. any help with these drivers is appreciated.

On device manager I see no drivers for GalaxyS and RNDIS.

However, I can mount usb sd just fine.

thanks
[Galaxy S I9000 Android Development] lippol94:
Did you installed on you PC the Nexus S drivers? If not google for them cause they're pretty important :p
[Galaxy S I9000 Android Development] CROrION:
Hey, this rom is so fast, just 2 things:

1) Where can i find some cool themes for theme manager?

2) Is it possible to integrate SGS II gallery viewer? It is instaled on GoaTrip 1.7 (2.3.3) and it is much faster than stock one.
[Galaxy S I9000 Android Development] prembox:
@Zach- I'd be more than happy to try any probable fixes/scripts/app you have in mind to try and resolve this issue......pls let me know anything that i can check/experiment it out for you.....:o ..will wait to hear back from you...
[Galaxy S I9000 Android Development] josteink:
Try searching for "CM7 theme" on Android market. It'd be nice if a website had a compilation available with screenshots and ratings and such, but in absence of (or ignorance about) such a site, that's what I have so far.

Edit: Also found this thread here: http://xdaforums.com/showthread.php?t=948109
[Galaxy S I9000 Android Development] eeyunopper:
Look at android themes under android development and hacking. Quite a few on there.

sent via potential brick...
[Galaxy S I9000 Android Development] samm000:
can't flash with odin

I have a problem flashing cm7.

When i use odin to flash the kernel then it stops (error) when flashing the new firmware, i have tried to download the kernel again but i still can't flash. (clockmodwork i can flash with odin)

When i'm in recovery and try to install cm7 initials from sd i get the error status 7 flashing the radio.

I hope that someone can help me with this i tried allmost every thing.

cheers
[Galaxy S I9000 Android Development] digitalcoder:
What error do you get when flashing kernel?
[Galaxy S I9000 Android Development] craigdabbs:
Just come from a dell streak due to another hardware fault so had it exchanged with a sgs, first thing i did was to flash cm7 as i had seen it on my sisters desire and looked great. Before flashing anything i jotted down the baseband version that come with the phone

BB: 1900ADJp3

this baseband is not listed with the CM7 download files so can anyone recommend a good alternative for a O2 UK phone.

Are there much differences between all the versions anyway?

Thanks

Craig
[Galaxy S I9000 Android Development] frauhottelmann:
Have a look at QuickPic from the market, it doesn't look as fancy as the 3D-Gallery, but it's a lot faster...
[Galaxy S I9000 Android Development] frauhottelmann:
Well I again tried CM7, no problems so far (compass works after about 10,000,000 eights :D). Thanks to the devs!!

I didn't even have any FCs so far (in contrast to the last time I tried it) so right now I am keeping it. Even though the battery drain is lower, Minimalistic Text widget still says "discharging" once unplugged (it doesn't show anything on Samsung ROMs) :D

Again, I am on JP5 modem and I don't have the polling problem :)

And for those interested, Polaris Office from the SGS II works if you copy the apk and the two libs to their respective system folders and adjust the permissions :)
[Galaxy S I9000 Android Development] domy1985:
But it does nit work...? I installed cmparts.apk so settings are activated but bln dies not work
[Galaxy S I9000 Android Development] samm000:
I dont get a error message i only see a image of a phone and it stops
[Galaxy S I9000 Android Development] samm000:
I dont get a error message i get a image of a phone and it stops!!
[Galaxy S I9000 Android Development] GavinC94:
Battery drain is alot worse than in last nightly build but other than this everything running well cant wait for next update!
[Galaxy S I9000 Android Development] DocMAX:
can i compile my own cm7 nightly build? cant wait until next update. i just need a tutorial.

Send from my SGS, CM7 Alpha
[Galaxy S I9000 Android Development] lippol94:
Look atto OP :)
[Galaxy S I9000 Android Development] ock:
I won't say it's a lot worse, but I also wasn't able to see the significant improvements some here have. But I have full trust in the team to fix this in the near future. :)

Sent from my GT-I9000
[Galaxy S I9000 Android Development] jetpackjeff:
Significant batter improvements for me with latest build as well as great stability. For the first time in a long time I my phone was not dead after forgetting to plug it in before I went to bed. Big ups to the devs!
[Galaxy S I9000 Android Development] atinm:
http://cmsgs.com has the instructions to do your own build and install under "Building and Installing CyanogenMod 7 from Source". The instructions are almost identical to the ones on CyanogenMod wiki, but pointing at teamhacksung repos because we aren't fully merged (and keep forking, so when we are close we add something that forks us again). Realize that things are always in flux these days, so you may not get a good build. We normally put up a build when we have something working that we think is relatively stable so the fact that we haven't means we are still testing something.

In fact, right now we are testing some major things related to battery that are making the phone go into deep sleep from which it doesn't wake without battery pull (which does save battery - you have to give us that! :)).
[Galaxy S I9000 Android Development] josteink:
Consider me highly impressed :D Say when is it safe to continue applying nightlies again? :P

Seriously though. I'm running nightlies from 28.0.4.2011 and so far battery life is acceptable, but still nowhere near what I consider to be "good enough". Good enough would be being able to go trough a full day without ever needing to think about charging with normal/heavy use, but I haven't been able to get that with any firmware so far, so I'm not complaining.

Besides, like on JVK/JVB it seems that with the current builds it's the display that eats around 70-80% of the battery-time (even with manual brightness, low) and I can't see how that can be optimized away.

So in summary: Very good job so far. If you can improve it further, I'll be even more impressed!