yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] cdesai:
Have you tried doing a make clean and then re-compiling?

Anyways, sources can be found below

su : https://github.com/CyanogenMod/android_system_su

recovery : https://github.com/CyanogenMod/android_bootable_recovery
[Galaxy S II Original Android Development] tsubus:
yea, I always clean everything before compiling. I'll look at the code now, thanks ;)

edit: it works when using siyah's recovery, I just need to see what the difference is
[Galaxy S II Original Android Development] DvTonder:
Did you enable root access in Development settings?
[Galaxy S II Original Android Development] D4rKn3sSyS:
I did run repo sync, firstly got some calendar issues, then deleted /packages/apps/calendarm and sync went fine. But im still having exactly the same issue I wrote before. Should I try downloading the whole source again?
[Galaxy S II Original Android Development] cdesai:
First try just checking out the whole source again

Delete everything in your source dir but .repo, then re-run repo sync
[Galaxy S II Original Android Development] Zlodo:
No, but it seems that the codec doesn't pass the bitrate along to the mfc driver (the driver for the hardware video encoder) properly. Probably some more issues with the interface between the codecs and that driver (it was an issue with that which prevented the camera to record anything in the first place)
[Galaxy S II Original Android Development] kurdt19:
I really don't know if this is the best place to put this, but all builds, stuck the phone requiring a hardreset when I scroll a ListView, nothing in the Logcat...
[Galaxy S II Original Android Development] tsubus:
This only happens in recovery, not in CM9 (using stock kernel/recovery). I'm able to get root access in CM9.
[Galaxy S II Original Android Development] mfpreach:
Does anyone else find the browser scrolling really weird? Especially when scrolling big pages. I'm using the 3/30 build.
[Galaxy S II Original Android Development] Vaedryn:
Dev Thread only.

You are a new Dev ? Nice to see you here, welcome:rolleyes:

SGS II Cyanogen (mod) 9
[Galaxy S II Original Android Development] D4rKn3sSyS:
Seems like my sources were messed up. Deleting the whole source, and repo sync again, did the trick. Thanks.Now the fun starts.

Just for curiosity, how much will this take compiling for first time?. Is the first time I build ROM from sources, im use to build kernels, and the only time I built a rom before (years ago, and other device) it took much less that what its taking now :P (Please pm me so we dont spam this thread)

EDIT: Há.. cool, seems like its now RC0, because building from source puts on build.prop

ro.cm.version=9.0.0-RC0-galaxys2-UNOFFICIAL
[Galaxy S II Original Android Development] Zlodo:
This fixes it:

http://review.cyanogenmod.com/#change,14326

The camera video recording quality is also probably improved slightly by this since without this change it was always recording in VBR and ignoring the bitrate requested by the app.
[Galaxy S II Original Android Development] simech:
com.android.mms/.ui.ComposeMessageActivity Crash

When opening a thread the message app crashes.

Logcat: http://pastebin.com/bpJsW7Fj

Currently on CM9 20120328, but the problem has been present for a very long time.
[Galaxy S II Original Android Development] codeworkx:
this is a development thread

users stay away, please​
[Galaxy S II Original Android Development] hIdd3N-:
y u no pastebin?
[Galaxy S II Original Android Development] NoMad28:
seems there is some crash issues in 0403 nightly, I assume this is caused via wifi state toggle. log is attached.

edit: attachment seems to be corrupted, try this one instead: https://www.box.com/shared/fb73b14626584fd1fd0a
[Galaxy S II Original Android Development] mix1987:
Hi everyone. Seems that Samsung just released the kernel source code for our beloved Galaxy S II for ICS at the Samsung Open Source Release Centre. Go to mobile tab and search for:

GT-I9100_ICS_Opensource_Update4.zip

Hope it helps!
[Galaxy S II Original Android Development] Entropy512:
That just gives me a dump of some error 404 HTML.

"just" released? What rock have you been hiding under for the past two weeks?
[Galaxy S II Original Android Development] codeworkx:
And again because some people are fully restistant against any kind of learning and intelligence.

this is a development thread

users stay away, please​
[Galaxy S II Original Android Development] alexeiw123:
I managed to replicate kernel panic, and copied out last_kmsg.

No idea if its useful but here it is.

http://pastebin.com/NG4KAFvN

If there is a better way for me to provide log, please tell me how, and I will.

Sent from my CM9 HP Touchpad
[Galaxy S II Original Android Development] ojconcentrate:
here's another kernel panic upload mode last_kmsg. its happening a lot more often on 403 than previous nightlies.

On nightly 403, LPR modem, Bootloader from the discussion thread.
[Galaxy S II Original Android Development] Ghashul:
I am very sorry in advance if this is not ok to post here, but it's been drowned every time I have posted in the discussion thread.

Whenever I use GPS, my data connection gets disconnected and then after a while gets reestablished. The CM9 GPS patch fixes the problem, but it seems that for most people it's a case of how good the GPS is, not that data connection disconnects, so I provide a logcat from the newest nightly.

I also have two older logcats displaying the same problem on older builds, if you'd like them.

http://pastebin.com/a208nfAB
[Galaxy S II Original Android Development] StevenHarperUK:
Modifications to the Volume Overlay

Hi

I have recently been working on enhancing the volume overlay.

http://review.cyanogenmod.com/#change,14375

http://review.cyanogenmod.com/#change,14458

I am not begging for reviews, I want some feedback from devs to see if its approved of.

Tablets get a much more functional volume overlay (which have some bugs)

I have added a list setting in the sounds settings called - Volume Panel

It lets you pick

Single (default for phones)

Expandable (default for tablets)

Expanded

Off

Also the icons are touchable and go directly to the Sound Menu.

I have also added Alarm Volume to the expanded views - I think this is better all round.

On a side not - I have a usb -> HDMI cable (dock) arriving next week - getting that working is my next project.
[Galaxy S II Original Android Development] schreda:
please take a look at this.. i don't know what causes this signal loss

[YOUTUBE]sdz6NtLa5Bs[/YOUTUBE]

already tried:

KI3, LPS, LPR, LPQ Modems

Go sms application

reflash and reset many times!

logcat:

http://pastebin.com/Kr13tQkW

found this:

how can it be fixed?
[Galaxy S II Original Android Development] arashi:
On Russian locale 'settings' -> 'display' -> 'automatic backlight' fc's from some weeks to latest nightly build. On English locale all is Ok, autobacklight settings accessible and even configurable. :p
[Galaxy S II Original Android Development] drakester09:
Low priority but in case it helps, here is a fix for the 0.00B Memory usage in Apps->Running

Credit to gokhanmoral.

https://github.com/gokhanmoral/siyahkernel3/commit/e1440ab8fa9c8da76bf3be9593eb1a668b13a834
[Galaxy S II Original Android Development] sardroid:
If you want to display does not expire when you make a call, simply press the HOME button-for me works:)
[Galaxy S II Original Android Development] wesbalmer:
Man... I've got helmdall all setup with the odin packages you released ready to overwrite each of the files associated with each partition... I've been around for a while here but don't have much experience with Samsung; will I destroy my phone?
[Galaxy S II Original Android Development] CdTDroiD:
Probably, you shouldnt be doing that if you dont know whats going to happen
[Galaxy S II Original Android Development] sardroid:
Use Odin not Heimdall
[Galaxy S II Original Android Development] shishir95:
There's always a chance with bootloaders. Unless you're fairly confident in what you're doing, I wouldn't do anything.
[Galaxy S II Original Android Development] wesbalmer:
Boots, and I've got Audio with using helmdall....
[Galaxy S II Original Android Development] hoseth0711:
Does anyone know how to disable the sounds when touching the screen and the hardware buttons? Disabling them in settings does not help

Sendt fra min Galaxy S II med Tapatalk
[Galaxy S II Original Android Development] Fisken:
wow tried to install this and didnt expect it to be so nice and smooth :D, for what i've tryed now everything i need is working fine, expect the receive calling thing when the screen is off.

browser is working

mic is working

music (spotify) working

maps working

gmail working

calender working

Google music working

camera 3 mp working

all is generally woriking execpt the receiveing call when the screen is off :/ + the phone get hot sometimes when it normaly dosent.

will test it furter the next days
[Galaxy S II Original Android Development] hoseth0711:
Well alright, looks like touch vibrate and sound goes hand in hand so disabling vibrate when typing and using hardware buttons will also disable sound when pressing, just for info

Sendt fra min Galaxy S II med Tapatalk
[Galaxy S II Original Android Development] gabx:
THE NOOB, on Ubuntu 11.10, spent time with mtp.

I built and installed last mtp from source (libmtp 1.1.1), installed mtpfs.

I then checked /etc/udev/rules.d/51-android.rules to see the line regarding my SGS2 :

#SGS2
SUBSYSTEMS==”usb”, ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”685e", OWNER:="gabx", GROUP:="plugdev", MODE=”0666″

I know this is correct as adb was working well on cm7.

then on terminal:

$ mtp-detect | grep idProduct

Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0

then

$ sudo mtp-detect
[sudo] password for gabx:
libmtp version: 1.1.1

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2.
Found 1 device(s):
Samsung: GT-P7510/Galaxy Tab 10.1/S2 (04e8:6860) @ bus 1, dev 5
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.

As you can see, my SGS2 is not correctly recognised.

Then, I spent time browsing the web, just to find this on ArchLinux:

Bug Report:

Description: mtp-detect fails to execute successfully on Samsung Galaxy S2 (GT I9100). Detected as GT-P7510/Galaxy Tab 10.1 with PTP_ERROR_IO error.

https://bugs.archlinux.org/task/25174

So THE NOOB really think there is a problem connecting his SGS2 on his Linux box. Maybe shall I get a Merdoz box?

Anyone has a solution for this issue? What did I wrong??
[Galaxy S II Original Android Development] gallous_boy:
tryed installling this, wiped data/cache, but gets stuck at bootup screen

any help?
[Galaxy S II Original Android Development] CdTDroiD:
Just saying ;) This is really only a dev build guys, Like they said if you dont know how to solve problems dont try installing it yet
[Galaxy S II Original Android Development] volapyk:
Follow the instructions in the OP...
[Galaxy S II Original Android Development] My20:
Thanks

Facebook and facebook in brouser no letters!
[Galaxy S II Original Android Development] gtg465x:
This is not a bug report. Just some info for AT&T Galaxy S II users.

Using our KK6 modem, data works fine. The mic also works. However, calls and the home and search buttons don't work. Still fun to play with though.
[Galaxy S II Original Android Development] freemini:
Anyone else getting random Cannot install on USB or SD card storage errors in market? XDA app for example doesn't install. (This keyboard is awesome btw)
[Galaxy S II Original Android Development] wesbalmer:
Sweet! On the I777 got everything working, going around phone call problem by using my office sip server internet calling. Works like a charm.

(just for science)

Back key has been mapped to the home key, back and search do not function

Front Facing Camera seems like inverted colors

Haptic Feedback is weak
[Galaxy S II Original Android Development] Qliratu:
great work on the awesome build!!

i just say 1 thing FU Vodafone NL for nitz!
[Galaxy S II Original Android Development] lowrider_05:
i got O2 Germany and they should use nitz what i googled but i got signal HSPA/EDGE and can make calls and sms tested it now for almost 2 hours sill a stable connection to my provider.

THX CODEWORKX
[Galaxy S II Original Android Development] EDV11:
Thanks for your hard work.

I have just been testing it. It's obviously an alpha and not close to been daily usable, but it is a nice approach to be able to actually test ICS.

Keep up the good work, I can't wait until we have a better working version, maybe a beta one.

And I have just sent you some beer money. It's not much, but you well deserve it.
[Galaxy S II Original Android Development] ivkos:
Do we still need those msgid="somedigits" parameters in language strings? I tried removing all of them from a strings file using regex, and the app and its translation seem to still work fine.
[Galaxy S II Original Android Development] codeworkx:
Last weekend cyanogen granted me global +2 in gerrit which allows me to merge anything in by myself now. But since these changes are affecting the GUI and user experience we have to get our UX-controller gu1dry on it.

i'll ping him about it for review.
[Galaxy S II Original Android Development] Entropy512:
See if you can get those dock audio commits out of review too... :)

http://review.cyanogenmod.com/#change,14046

http://review.cyanogenmod.com/#change,14262

And once those are in:

http://review.cyanogenmod.com/#change,14253 (atinm's -1 is due to the commits this depends on not being in.)
[Galaxy S II Original Android Development] sorg:
codeworkx,

can u tell what u changed to fix CRT animation bug (quick blink) on ICS?

Unfrtunately, u did it before merge to official Cyanogen tree and there are no history for this change.

I want to try to port your fix for stock ROM.
[Galaxy S II Original Android Development] codeworkx:
grep the code for "SURFACEFLINGER_FORCE_SCREEN_RELEASE"
[Galaxy S II Original Android Development] punshkin:
i know i shouldn't post here ( no dev ) but i feel this should be mentioned here, since it was lost in the User Discussion Thread.

It is about fixing the FM radio, apparently there is a fix but it can't be merged into CM the way it is now.

If any of you dev's is interested in fixing the FM Radio this is what Codeworkx wrote:

i would try it myself but i have barely any coding skills :(

if someone is offended by me posting here just delete it
[Galaxy S II Original Android Development] Entropy512:
I replied to that in the discussion thread, but based on that patch, some of it can be fixed in the kernel:

1) Change kernel to make the device appear at /dev/radio0 to /dev/fmradio

2) There seems to be some funky frequency math (kHz vs Hz unit conversions?) - that should be movable to the kernel

3) The audio stream stuff, if necessary after the other changes, is the hard part.

I can try a quick attempt at a kernel patch for this but I have no way of testing it beyond "does it compile", since this is one of the few differences between I9100 and I777.
[Galaxy S II Original Android Development] peterperfect:
Entropy, if you patch it just compile for me and i will do the tests/logging for i19100.
[Galaxy S II Original Android Development] sa_ma:
Hi,

the most important part is indeed the audio path control , the rest as you said can easily be done in the kernel module,

the advice was to have a wrapper for SGS SII but this is something I would need some help to do, there is other examples in the code of such a thing but for me thats too much work for such a small thing , I have my own kanged version which do the trick for me

I assume we still can use the same FM application as it is with ICS, this one also need some changes

P.S : I am the one who submitted the gerrit patch
[Galaxy S II Original Android Development] D4rKn3sSyS:
I have some time trying to figure out what's wrong with WebGL open source implementation by Sony Ericsson.

This are their sources https://github.com/sonyericssondev/WebGL

Recently I applied the patch, and tried to get it working. No sucess. Compilation is all fine with no errors, but device wont boot, nothing on dmesg, nothing on logcat. I guess it's needed to be ported, and doesn't apply to Galaxy S2. However, it would be cool If someone with more knowledge on C (im java guy so no chance), could take a look on whats wrong there.

Cheers,

D4.

UPDATE:

It works, now everything is working, native WebGL hardware accelerated :D. However not working on browser, sources need to be modified, that's my work now :D
[Galaxy S II Original Android Development] ikanikolai:
ssh-key problem github

Hello

I'm new here, but I have a problem. I generated my ssh key and uploaded my public key to http://review.cyanogenmod.com/

But when I test it, I can't connect.

Could help anybody?

ssh -vT git@github.com

OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011

debug1: Reading configuration data /Users/gyik/.ssh/config

debug1: Applying options for github.com

debug1: Reading configuration data /etc/ssh_config

debug1: Connecting to github.com [207.97.227.239] port 22.

debug1: Connection established.

debug1: identity file /Users/gyik/.ssh/identity type -1

debug1: identity file /Users/gyik/.ssh/id_rsa type 1

debug1: identity file /Users/gyik/.ssh/id_dsa type 1

debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5github2

debug1: match: OpenSSH_5.1p1 Debian-5github2 pat OpenSSH*

debug1: Enabling compatibility mode for protocol 2.0

debug1: Local version string SSH-2.0-OpenSSH_5.2

debug1: SSH2_MSG_KEXINIT sent

debug1: SSH2_MSG_KEXINIT received

debug1: kex: server->client aes128-ctr hmac-md5 none

debug1: kex: client->server aes128-ctr hmac-md5 none

debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP

debug1: SSH2_MSG_KEX_DH_GEX_INIT sent

debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

debug1: Host 'github.com' is known and matches the RSA host key.

debug1: Found key in /Users/gyik/.ssh/known_hosts:4

debug1: ssh_rsa_verify: signature correct

debug1: SSH2_MSG_NEWKEYS sent

debug1: expecting SSH2_MSG_NEWKEYS

debug1: SSH2_MSG_NEWKEYS received

debug1: SSH2_MSG_SERVICE_REQUEST sent

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug1: Authentications that can continue: publickey

debug1: Next authentication method: publickey

debug1: Trying private key: /Users/gyik/.ssh/identity

debug1: Offering public key: /Users/gyik/.ssh/id_rsa

debug1: Authentications that can continue: publickey

debug1: Offering public key: /Users/gyik/.ssh/id_dsa

debug1: Authentications that can continue: publickey

debug1: No more authentication methods to try.

Permission denied (publickey).
[Galaxy S II Original Android Development] Entropy512:
Um, you set up your public key on review.cyanogenmod.com but are testing against github.com??????????????
[Galaxy S II Original Android Development] ikanikolai:
Jesus. I should read more carefully. The help is just an example, I don't need to test on github, just the help is there. Shame on me...
[Galaxy S II Original Android Development] ikanikolai:
Deleted. Solved.
[Galaxy S II Original Android Development] milan188:
@codeworks or any skilled dev

Could someone please take a look at the ICS wpa_supplicant sources to try and enable wifi adhoc connections. This was easily done on gingerbread. Devs are struggling to get it working on ICS. However some got it working on a few tablets. It would be an awesome feature contribution to CM9 and the Galaxy SII roms
[Galaxy S II Original Android Development] ikanikolai:
How can I clean up this and do a fresh start? I would like to discard those commits and do a I new one.

repo upload CyanogenMod/android_device_samsung_galaxys2Upload project device/samsung/galaxys2/ to remote branch refs/heads/ics:

branch ics ( 2 commits, Sat Apr 14 14:33:57 2012 +0200):

aa3a2b90 Hungarian translatons for advanced menu

7ea17cb5 Hungarian translatons for advanced menu

to review.cyanogenmod.com (y/N)? N

error: upload aborted by user

Please help me on this.
[Galaxy S II Original Android Development] espenfjo:
If you just want to start from the beginning you can just do "git reset --hard <COMMIT-ID-FROM-BEFORE-YOUR-COMMITS>".

The correct commit ID you can find with "git log".
[Galaxy S II Original Android Development] ikanikolai:
Thank you. I figured out a solution. I've done this and works:

repo abandon ics CyanogenMod/android_device_samsung_galaxys2

Abandoned in 1 project(s):

device/samsung/galaxys2

I just wanted to reset this project.

But I also have another question. If I did a mistake, how can I upload new patch for an existing change? I read the how to but I can't figured it out.
[Galaxy S II Original Android Development] D4rKn3sSyS:
Guys, I got a question, I already setup my SSH keys, but when trying to upload a patch, I get something like this:

to review.cyanogenmod.com (y/N)? y
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

----------------------------------------------------------------------
[FAILED] packages/apps/Camera/ branchname (Upload failed)

EDIT: Lol, post #3k is all mine :D
[Galaxy S II Original Android Development] ikanikolai:
What does it mean and how can I resolve this issue? any idea?

repo sync -j16

Fetching projects: 100% (253/253), done.

Syncing work tree: 100% (253/253), done.

error: packages/apps/Settings/: branch ics is published (but not merged) and is now 1 commits behind
[Galaxy S II Original Android Development] hlubepet:
as in english is written.... mismatch in what you have on computer and what is synced? delete this on your computer and it will sync ok, correct? just guessing :)
[Galaxy S II Original Android Development] Entropy512:
Hmm... That's odd, did you also set up your gerrit username in git config?

Also, you set up your keys in gerrit, not github, right?
[Galaxy S II Original Android Development] D4rKn3sSyS:
Gerrit username in git config?. What you mean? you mean "git config --global user.name "thesamenameongerrit"" if is that, yes.

And yes the keys are in gerrit.

EDIT:

repo --trace
[Galaxy S II Original Android Development] codeworkx:
create a user:

http://review.cyanogenmod.com/

generate key:

ssh-keygen -t rsa -C "your@email.com"

add key local:

ssh-add ~/.ssh/id_rsa

ssh-add

add key at gerrit webinterface:

http://review.cyanogenmod.com/#settings,ssh-keys

set your username local:

git config --global review.review.cyanogenmod.com.username <gerrit username>

have fun