yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] EleCtrOx666:
I had the same problem until I restarted, it was exactly the same in MIUI. Just restart.
[Galaxy S II Original Android Development] EleCtrOx666:
Real banding is gone, try with Xda_gradtest. The apps that doesn't use right color codes will still show banding :).
[Galaxy S II Original Android Development] mxn-:
stupid question how do i download the market app
[Galaxy S II Original Android Development] jonny68:
surely after a backup everything would be saved?
[Galaxy S II Original Android Development] jonny68:
Can someone please explain what banding is something about the colours or that?
[Galaxy S II Original Android Development] dh2311:
Was wondering that myself, luckily I had the new market APK on my sd card. But cannot set up a google account now, gonna try Gapps zip
[Galaxy S II Original Android Development] xfile087:
Well no because it only backs up the rom and not the storage? But luckily I have Google+ which backs all my photos and videos up so I'm okay but I just wondered if anyone experienced similar issue
[Galaxy S II Original Android Development] Cangir:
How is it with the battery-drain ?? !!! i don't see any difference.
[Galaxy S II Original Android Development] Zethmir:
You have to install Gapps to get the market and ability to setup your google account.

Easiest way to get Gapps > CWR > Flash CWR (Galaxy S2) > Download Rom > Google Apps
[Galaxy S II Original Android Development] jonny68:
thanks for letting us know anyway ill make sure to back up all my photos,etc before i flash this in a few days ill cry if i lose them.:)
[Galaxy S II Original Android Development] dh2311:
I presumed it would be something like that, flashed now just rebooting
[Galaxy S II Original Android Development] jonny68:
considering the link has only been posted over an hour ago how on earth could you tell how it compares to other ROM's as regards battery drain:eek:

give it 24 hours,leave phone on and then report back.
[Galaxy S II Original Android Development] knightnz:
It's been out for about 10 minutes, how do you expect an accurate measurement of battery usage already!?
[Galaxy S II Original Android Development] Cangir:
I used 10 minutes and i lost now 13 %...
[Galaxy S II Original Android Development] cchant:
I did not lose any photos or videos upon flashing cm7
[Galaxy S II Original Android Development] Agosh13:
WOW!
[Galaxy S II Original Android Development] Roman5:
Surely it would have been prudent to just copy and paste pics and vids from the phone to your pc via usb first?
[Galaxy S II Original Android Development] jekyoo_style:
Followed the instructions and had no problems. Working on first boot.
[Galaxy S II Original Android Development] Moskiitto:
You should calibrate your battery after every flash :-)
[Galaxy S II Original Android Development] quertiy:
I don't see any questions in his post.
[Galaxy S II Original Android Development] sayli:
Hi, I think I've just found a bug with the touchscreen.

There's something wrong when the phone is plugged to the computer(and only the computer).

In fact the touch screen is like if it was slowed down by something, when you press somewhere it doesn't automatically answer.

How to reproduce it: just plug the phone to the computer and try to write a sms and press on the keyboard randomly (but fast enough i think).

Logcat : http://pastebin.com/YiEhAJcN

This lags issue shows up when the "WifiService" do something and only him.
[Galaxy S II Original Android Development] Fihlvein:
True, as there were no logs I thought it was more like a "has anyone else noticed" type of question, but I guess it belongs here. It's just that it's no use for developers if there are no logs.
[Galaxy S II Original Android Development] DvTonder:
@TeamHacksung.

I came across this commit in the devnull-project relating to sensors.

https://github.com/devnull-project/...mmit/39a025ec3b41d0d40d662b821e0073f22a0bdf98

I kanged a build with this code and it seems to work OK. I am not sure if there are pull requests for this code and since it is not my code I don't want to push it.

This, and a few other snippets of CM7 SGS2 code on the devnull-project github seems quite useful.

For those wondering, I can confirm that the BLN support works. It is not as integrated as LED Notifications for the SGS (i.e. using CMPARTS for config) but I can live with it. Now its just a matter of time before custom kernels support it. I doubt it will make it into mainline.

Hope it helps
[Galaxy S II Original Android Development] codeworkx:
looks like there's nothing really changed except the names.

low hanging fruits.
[Galaxy S II Original Android Development] fbousk:
kg6 modzm is awesome with latest nightly battery life amazing ;)
[Galaxy S II Original Android Development] naddie:
Well Duh... That's what I said.
[Galaxy S II Original Android Development] Stonos:
In the phone's manual it says that the touchscreen may not work correctly when the phone is charging (or something like that). So I'd say it's "normal".

By the way, are you using the Micro-USB cable that came with your phone?
[Galaxy S II Original Android Development] sayli:
@Stonos : Oh yeah if the manual says it then it must be normal yeah, the only thing i don't understand it's why this is issue is happening only with the micro-usb and not with the charger.

And now that you say it, it's true that I'm using my SGS1 cable as I forgot my SGS2 cable somewhere !:)
[Galaxy S II Original Android Development] codeworkx:
IF YOU HAVE QUESTIONS OR COMMENTS REGARDING CM7 ON SGS2, KINDLY GO TO OUR Q&A THREAD AT

http://xdaforums.com/showthread.php?t=1176411​
[Galaxy S II Original Android Development] Dactylion:
Dont you want to help me solve this bug, codeworkx?

Originally Posted by codeworkx

i'm using KG2. Got disconnects with KG3.

but your 89dbm should be 5 bars.

are you living near a transmitter? could be the reason.

y im living in a city in germany.

-89 dbm signal level just look quite bad if i compare it to wlan signal levels and signal/noise ratio needed for proper troughput.some times i get up to -50 dbm in the city.

however i almost understand the calculation with its bitwise comparison and shifts.the only question left is what

p.readInt(); does.

response = new int[numInts];

for (int i = 0 ; i < numInts ; i++) {

response = p.readInt();

}

sorry if its anoob question im not familiar with java at all and just using old c skills.
[Galaxy S II Original Android Development] codeworkx:
i'm not yet seeing a bug.

maybe i can get some more values tomorrow.

if its a real bug, i dont care much about. there are still more important things left.
[Galaxy S II Original Android Development] crs87:
will wait a few weeks until i try out cyanogenmod, i have high expectations in this! looking forward to see stable release :)
[Galaxy S II Original Android Development] aliander:
Okay...?

Good for you...?
[Galaxy S II Original Android Development] belylal:
Lockscreen remains black when I try to unlock it. I have to press the power button a few times for it to open... Other than that, good ROM...
[Galaxy S II Original Android Development] L10nH34Rt:
Its been already discussed. There is an issue with the CRT screen-on animation. Disable it and you'll be golden.

And please use the search function. Apart form finding the answer to your "bug report", you'd also find that these posts belong in the Q&A section...
[Galaxy S II Original Android Development] anonymous572:
del..................................
[Galaxy S II Original Android Development] indigotheory:
Posted this in the Q and A thread, someone read it and suggested i post it here, so here goes...

Loving the rom so far, (Nightly build 10)

Couple of things i've noticed, the white calendar app seems out of place, it would be cool to see it in black, (or have the same setting for the calendar as there is for text messages, "use black background")

also the big font that shows the time in the alarm clock looks kinda out of place, it doesn't seem to fit with the theme, (why I haven't bothered installing "Alarm Clock Xtreme" from the Market!)

Is there any way to change the font for the overall menus (you could change it in display settings in the stock rom 2.3.4)

Is there a need for "tablet tweaks" in the Cyanogenmod Settings?

When you choose a theme in "theme chooser" it could be cool to see a bit of colour in the little icons to the left in the main settings menu. They always seem to be white, whatever theme you choose, or again have the option to choose a colour, (in the way you can do with the notification bar)

And it would be seriously cool if there was an option to change the over scroll colours!

These are probably minor tweaks to the developers here, and I would have thought things like this wouldn't be available in nightly builds, as i'm sure they have lots more important stuff to work on at the minute

And another little thing thats worth a mention, When I had build 9 installed, i also installed the EX version of ADW and set it as default, set it all up and etc, then installed build 10 and it took out the settings for ADW in the man menu, which is cool

Keep up the good work, incredible rom, the more i get used to it, the more i want to keep it on the phone, and hope it doesn't sound like i'm nitpicking here!
[Galaxy S II Original Android Development] ogdobber:
they were wrong...Q&A section is correct
[Galaxy S II Original Android Development] DvTonder:
Moved my answer to the QA section.
[Galaxy S II Original Android Development] Regretful:
Best service anyone has ever done for the dev threads. If everyone were as smart as you people would learn to post in the Q&A thread. Heartfelt thanks!
[Galaxy S II Original Android Development] raxwow:
Sorry, wrong post.
[Galaxy S II Original Android Development] codeworkx:
a) q&a thread

b) sure that its android os and not downloadmanager?
[Galaxy S II Original Android Development] rubino90:
when i update the nightly build necessary only wipe cache and dalvik?
[Galaxy S II Original Android Development] budde85:
1) Ask in Q&A thread.

2) Read OP
[Galaxy S II Original Android Development] Dactylion:
strange wifi disconnects.no matter which sleep policy i use

W/Smack/Packet( 2759): notify conn break (IOEx), close connection

log attached
[Galaxy S II Original Android Development] leedavis:
I had same issue. Fixed for me in nightly 10 yesterday.
[Galaxy S II Original Android Development] wanam:
Installing nightly 10 coming from an other Rom (MIUI) not booting, but nithtly 8 did.

NB: I did a wipe data/cache partition.
[Galaxy S II Original Android Development] DvTonder:
Ask in the Q&A thread
[Galaxy S II Original Android Development] Cangir:
Moved to question area
[Galaxy S II Original Android Development] quertiy:
-deleted-
[Galaxy S II Original Android Development] cTrox:
I just had a total freeze. No adb connection, couldn't turn screen off. The only way was to hold the power button a few seconds to turn it off.

I was just updating a few apps in the Market and switched to Launcherpro after that and then it freezed.

last_kmsg: http://pastebin.com/jaR6NTeF

Oh and btw. because of that the battery dropped about 20%.
[Galaxy S II Original Android Development] codeworkx:
that's not bad.

mine freezed during night while on charger and this morning the alarm app failed because the phone was dead.

but that's not bad, too.

backup alarm device. ;-)

be prepared for everything.
[Galaxy S II Original Android Development] cTrox:
If it doesn't happen every day I don't really mind that much, just thought you should know ;)

And now that you're saying it, I don't have a backup alarm and you just made me a bit paranoid! :D
[Galaxy S II Original Android Development] sprkrt:
home button dosent work, strange!

edit, worked after reboot
[Galaxy S II Original Android Development] nicregi:
Ver 10 is working well but ver 11 is giving me issues. For some reason I can't register myself using Gmail. The only option to add account is exchange server.

What did I do wrong? Hmm!
[Galaxy S II Original Android Development] SkilletDesire:
Seems cpu oc not working too.
[Galaxy S II Original Android Development] nicregi:
OC and UV won't work with CM7 for now I guess. It only worked with close to stock or CF thingy.
[Galaxy S II Original Android Development] dh2311:
Q&A Thread??
[Galaxy S II Original Android Development] hovnovice:
Hi I am on 11 now , all fine, using SPB Shell 3D launcher .

I can't get Gtalk with video apk :confused: Does it work with 11? Any help for a download link ? I found a broken one in this forum :confused:

Thanks
[Galaxy S II Original Android Development] mbroeders:
Check the last post on the previous post (Dh2311), you'll find what you're looking for in his post...

(and if that is too cryptic, this is the development section, your question has got nothing to do with development)
[Galaxy S II Original Android Development] hovnovice:
I found a solution in the meantime with this link :http://android.modaco.com/topic/339390-r1-12-may-google-video-talk-installer/

Your remarks about development is inaccurate , since we have to have a satisfactory working and "developed " rom...with friendly features, not just technical !
[Galaxy S II Original Android Development] Rockin_Zombie:
Just a polite suggestion about all the confusion between Q&A thread and development thread, change the title of this one. Put in CAPS that this is for DEVELOPMENT RELATED QUESTIONS ONLY. If that makes it too long,the title can e something like:

[ROM][GRJ90] CyanogenMod 7 [DEVELOPMENT RELATED QUESTIONS ONLY]

Since this is already in the S II section, no need to put S II in the title.

I think that will make it clearer. People already know about CyanogenMod, so they get way too excited and don't bother reading the first post.

Hope that helps:)
[Galaxy S II Original Android Development] mbroeders:
Although this is off topic as well, I'd like to explain something here. The problem here is that if nobody responds to these posts, everybody will just post useless comments saying how great this rom is. The developers on the other hand, want to see useful posts, posts which have got something to do with actual development. Thus, log-cats and stuff like that. One of the problems is that these 'useless' comments (and people refusing to use the search button) pollute the thread, which causes the devs tend to stay away from this thread. And that can't be what we want! So therefore, please go to the Q&A thread to post 'thank you' messages and ask questions.

And having said that, @hovnovice, i was accurate and your post has got nothing, but really nothing, to do with development. If you can't see that, then please refrain from posting here!
[Galaxy S II Original Android Development] sudoo:
Hello everyone,

I got 2 problems with cyanogenmod and my sgs2. Since I installed it, my sgs2 has problem of connectivity with wifi at home. I thought the signal was too weak and tried to connect with another device than the sgs2 and no problem, full signal :(

I got another issue. When plugin my sgs2 I can enable usb storage but when disabling it if I launch any application, the phone freeze and reboot...

Anyone has encountered these kind of issue ??

Thanks by advance
[Galaxy S II Original Android Development] sa_ma:
Progress with FM

Hi,

I think i managed to have some progress with the FM part,

there were small bugs in the JNI/Native translations that i have fixed,

one of them that you have to divide the freq by 10 to get the right tunning and one slight problem with the band setting , the limit should be different in the JNI layer,

Looking at the kernel logs of the Si4709 module "after enabling it" shows that tunning now is fine and I even can get interrupts of the RDS data,

the only remaining part is the audio path and the proper routing of it,

anyone have some ideas about that ?

Regards
[Galaxy S II Original Android Development] unrealtb:
Hehe these comments give me a good laugh. Everyone just chill. We all want awesome software. So just use the right forum. Or tell new members who wrongly post in here where to go without attitude. If they want awesome software and respect the devs they wont make the mistake twice. No need for slanging matches or ego charged debates. Peace.
[Galaxy S II Original Android Development] jazzor:
It may have somethingto do with bluetooth sound? The radio and bluetooth seem to be pretty tightly bound from previous devices. If that is the case here then it probably is worth it to fix bluetooth audio first.
[Galaxy S II Original Android Development] eatonjb:
I am sooo impatiently waiting to hear that Bluetooth is fixed, and I love this ROM!!!
[Galaxy S II Original Android Development] mani0608:
Hi,

I have recently installed Build #12. I love to know whether any of the below is fixed in this build...

Things not working (that I can remember):

- Bluetooth Audio

- Video playback - some formats are not recognized

- TVout

- FMRadio

- Some users report photos on the external SD-card seem to get deleted

- Issues when using the 2G/3G-Switch

- Volume issues (some report too high, others too low)

- Phone reboots when plugging in charger in off state.

And thanks in advance for all your hard work
[Galaxy S II Original Android Development] mbroeders:
Please move your post here. Thanks.
[Galaxy S II Original Android Development] atinm:
Reported. You were asked nicely to post in the Q&A thread because nothing you posted above has to do with Development or Debugging of CM7. Your question would easily be answered on the Q&A thread, which is the actual purpose of the Q&A thread. This thread is for developers to talk about how to implement features/fix bugs, and for users who have logcats and dmesg, or just some analysis that would be useful to developers when fixing bugs.
[Galaxy S II Original Android Development] atinm:
Have you made any progress? I haven't looked in this thread in a while, so it took me a little bit of work to find your post. I assume you're trying with the stock Samsung headphones as they have the antenna. Also, codeworkx is also working on this, so send either of us a PM so we can find out what you've got till now and move forward from there.
[Galaxy S II Original Android Development] crachel:
In the most pretentious way I can say it: go somewhere else.
[Galaxy S II Original Android Development] codeworkx:
yep, looks like we have to do ugly fixes at framework to make it working.

simply grep for: onFmKey and offFmKey

onFmKey = fm_on

offFmKey = fm_off

enable fmradio on cm:

AudioHardware::setParameters(keyValuePairs="fm_on=X")

disable fmradio on cm:

AudioHardware::setParameters(keyValuePairs="fm_off=X")

enable fmradio on stock:

V/AudioHardwareYamaha( 2589): AudioHardware::setMode(mode=4)

AudioHardware::setParameters(keyValuePairs="fm_radio_mute=0")

disable fmradio on stock:

AudioHardware::setMode(mode=0)

AudioHardware::setParameters(keyValuePairs="fm_radio_volume=off")
[Galaxy S II Original Android Development] Regretful:
Just write "DEVELOPMENT/DEBUGGING ONLY" Instead, questions implies they should ask them here. You know people...
[Galaxy S II Original Android Development] quertiy:
Agreed. That's what I wanted to suggest.
[Galaxy S II Original Android Development] kursed:
The 'video' camera still seems broken. There's a brief (5 seconds) break at the start of the recording i.e. it doesn't start recording for at least 5 seconds after the record button is pressed.

Log: http://pastebin.com/Gje9WYWh
[Galaxy S II Original Android Development] splint84:
yeah is about a 8 second delay from looking at my log output:

08-04 20:19:24.745 D/SecCameraHardware( 2552): allocateRecordingHeap: 1920x1080, frame 16x8

08-04 20:19:24.750 I/MPEG4Writer( 2552): setStartTimestampUs: 199547

08-04 20:19:24.755 I/MPEG4Writer( 2552): Earliest track starting time: 199547

08-04 20:19:32.570 V/SecCameraHardware( 2552): FimcV4l2 stream: stream turning on

08-04 20:19:32.570 D/SecCameraHardware( 2552): nativeStartRecording X

08-04 20:19:32.570 D/ISecCameraHardware( 2552): startRecording X
[Galaxy S II Original Android Development] naddie:
Are you sure that the stock Samsung headphones have the antenna? I've always thought portable radios, including the SGS2, uses the wire of the headphones as the antenna, no matter who makes it. Been that way since the Walkman days.

I don't think there is an actual separate "antenna" so to speak in the Samsung headphones.

Edit: Confirmed FM radio working on stock ROM with several different headphones, including a simple line-in wire to speakers and AUX-in jack in my car.
[Galaxy S II Original Android Development] DvTonder:
CM7 LED Notifications for SGS2

@TeamHacksung and KANG Builders ONLY!!,

EDIT: Updated the config.xml location

I ported/mashed-up the SGS CM7 LED Notification code and Creams' BLN APP code for the SGS2 to enable full CM7 Stock LED Notification support for the SGS2.

By building CM7 with these files, the LED Notifications settings within Cyanogenmod Settings (CMParts) is used to determine if LED Notifications is displayed or not. It respects Quiet Hours and will not turn on if Dim LED is selected. It does not require Neldar's BLN App to function and does not support it.

TO DO:

- Backlight timeout. I will work on it this weekend.

3 files are included

1) cypress.touchkey.c (kernel code)

Copy to the kernel/samsung/c1/drivers/input/keyboard/cypress folder, overwiting the file by the same name.

2) lights.c (liblights module for reading LED Notification settings)

Copy to the device/samsung/c1-common/liblight folder, overwiting the file by the same name

2) config.xml (to enable the LED Notification settings in CMParts)

Copy to the vendor/cyanogen/overlay/galaxys2/packages/apps/cmparts/res/values folder, overwiting the file by the same name

Build full Cyanogenmod including the kernel

Configure the LED Notification settings and Enjoy!

Files are available at: https://github.com/DvTonder/SGS2-CM7-LED-Notifications
[Galaxy S II Original Android Development] sa_ma:
that was not enough to enable audio

There is more into this, looking at the stock logs , there is AudioStreamOut::SetParameters(KeyValuePairs="routing=8")

I am not sure how to access that one !!

the fixes I made to enable tunning can be easily done in the kernel module, so what is better , change the Si4709 Kernel module or change the framework ?

Regards
[Galaxy S II Original Android Development] geviron:
We had the same issue in the Miui thread, and it was fixed by enabling continiuous focus in the setting.
[Galaxy S II Original Android Development] ANDY12001:
CM7 not work with Sony mw600 bluetooth.

I can pair,but no sound
[Galaxy S II Original Android Development] DvTonder:
Read this: http://xdaforums.com/showthread.php?t=1176411
[Galaxy S II Original Android Development] L10nH34Rt:
No its not. Its mounted at /mnt/emmc.

Also post this kind of questions here for the love of god plz.
[Galaxy S II Original Android Development] codeworkx:
dunno. si4709 is used on some devices.

if our kernel driver is the stock one from SI, i would prefer to fix it at framework.
[Galaxy S II Original Android Development] lufc:
Guy's PLEASE Stay on Topic when Posting Thanks:)
[Galaxy S II Original Android Development] atinm:
That's good - I was under the impression it really required the stock headphones. Though there are other issues with headsets, they seem to have different resistance or something so some work and others didn't detect as 3 vs 4 pole.
[Galaxy S II Original Android Development] DvTonder:
Please note: My original instructions had the wrong location for the config.xml file. I have corrected it in the original post and repeat it here as well. I have also uploaded the correct config.xml to my github.
[Galaxy S II Original Android Development] codeworkx:
there's a bug:

screen is off -> notification in -> notification light on -> screen on -> backlights totally off

sometimes it works, sometimes not.