yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] billak:
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
host C++: libclangSema <= external/clang/lib/Sema/SemaCodeComplete.cpp
host C++: libclangSema <= external/clang/lib/Sema/SemaDecl.cpp
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
host C++: libclangSema <= external/clang/lib/Sema/SemaDeclAttr.cpp
external/clang/lib/Sema/SemaChecking.cpp: In member function 'bool clang::Sema::CheckObjCString(clang::Expr*)':
external/clang/lib/Sema/SemaChecking.cpp:876:47: warning: cast from type 'const char*' to type 'UTF8* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
external/clang/lib/Sema/SemaDecl.cpp: In member function 'void clang::Sema::ActOnFields(clang::Scope*, clang::SourceLocation, clang::Decl*, llvm::ArrayRef<clang::Decl*>, clang::SourceLocation, clang::SourceLocation, clang::AttributeList*)':
external/clang/lib/Sema/SemaDecl.cpp:9220:38: warning: cast from type 'const clang::CXXMethodDecl*' to type 'clang::NamedDecl*' casts away qualifiers [-Wcast-qual]
external/clang/lib/Sema/SemaDecl.cpp:9228:40: warning: cast from type 'const clang::CXXMethodDecl*' to type 'clang::NamedDecl*' casts away qualifiers [-Wcast-qual]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libclangSema_intermediates/SemaChecking.o] Killed
make: *** Waiting for unfinished jobs....
build/envsetup.sh: line 1458: 14720 Killed schedtool -B -n 1 -e ionice -n 1 make -j `cat /proc/cpuinfo | grep "^processor" | wc -l` "$@"
Elapsed: 28 min(s) 46 sec(s)

Tried to compile from source and I am getting this error.

Arch Linux 64bit folowed tutorial in teamhacksung wiki.

Any help
[Galaxy S II General] Deosneos:
I haven't seen this question answered: will the long-press-menu to search be implemented and if not, how can I implement it manually?
[Galaxy S II General] Hrithan2020:
Have the same question. Hopefully, there is a solution

Sent from my GT-I9100
[Galaxy S II General] 4qu4rius:
I was under the impression that such mechanism was required by some older phones (including ours) who needed it to emulate even older phones which had dedicated hardware search buttons. The new ICS UI is supposed to have rendered these schemes obsolete, as far as I know. I used to use this a lot in Gingerbread and never felt the need in CM9.
[Galaxy S II General] punshkin:
i personally find it way more comfortable to long press menu instead of search the screen for a search button.

also i hope that if a search button gets implemented, the search buttons on the action bar might disappear (e.g. in phone app there is a bar that only contains the search button which looks stupid)

also does someone know if this change http://review.cyanogenmod.com/#change,14498

will fix banding on sgs2, too?
[Galaxy S II General] ephraim:
I have been Googling all day to find out how to do this on my own but to no avail :(
[Galaxy S II General] 4qu4rius:
Yes... or else, "menu", "back" and other such actions could be added to this bar for newer phones (how is it on the Gnex ??) which would make our touchkey buttons obsolete.
[Galaxy S II General] Harsha Raj:
The torrent link of the new build is giving a 404 error :confused:
[Galaxy S II General] Frostfree:
Firstly thanks for the work that's gone to this ROM! I have a couple of questions which I couldn't find answers to by searching.

1) Is there a way to set the home button to answer calls as with the Samsung ROM

2) Is it possible to separate the vibration settings for the ringer and notifications.

Thanks
[Galaxy S II General] androidkid311:
Gps patch....where is that i didnt see it in the 1st post. :)
[Galaxy S II General] robsw:
OK, I tried to add my Facebook account and it appeared to work. It did not present me with any syncing options, the account does not appear in the account list and there appears to be no syncing. If I try to add a Facebook account again, it doesn't do anything. At the same time the app works. Already tried uninstalling and reinstalling and searched to no avail. Any help?
[Galaxy S II General] Alienfreak:
I still advice against that patch.

Just do it yourself and leave LNA on.

Just activate frequency aiding and sensor aiding. If you still get no lock in under 1 minute activate ICS_PROVIDER.
[Galaxy S II General] DaveWut:
Gapps has a great music App, but I still wonder if it's possible to include Google Play Music instead. The google's version of the app seems more polished and has more options. Even if I don't live in the US, this apps is perfect when you want to listen to your music.

Or at least, include a way to list music by their directories. Some of my music is ordered with folders only and doesn't contain any Artist / Album / Genre information.

Well, anyway, if this can't be possible because of any licence specifications, I may modify by myself the Gapps update package to my own needs.

Thanks!

Dave
[Galaxy S II General] Anderslash:
Facebook sync is no longer supported in ICS. You can use Friends Sync or another third part app. It works for me.
[Galaxy S II General] androidkid311:
............... oh my days! Im so baffed! I really dont know how to do what u just said. Call me a noob or whatever but can u help me with that...?
[Galaxy S II General] Alienfreak:
Its not really on the point, I know, but.... why not install Google Play Music yourself if you like it better? :)

And Codeworkx does not maintain the GApps :)
[Galaxy S II General] goTouch:
Aokp supports FB sync.

Sent from XDA Premium using CM9
[Galaxy S II General] Alienfreak:
Use Rootexplorer or ADB or whatever lets you edit files as root.

Edit the /etc/sirfgps.conf (in Rootexplorer you have to mount it as R/W first on the top right).

The lines with sensor_aid, frequency_aid and ICS_network_operator have a 0. change that to a 1. (and dont use the comment lines with a # in front but the bottom ones...)

Reboot.

Use GPS Status or programms like that for great justice and see your victory commence.

As I said I have no real idea what the ICS stands for... but it works :P. Maybe you don't need that but who knows...

EDIT: Oh and some are turning on EMC, too ^^
[Galaxy S II General] ghassir:
Take it:

http://dl.dropbox.com/u/12008411/android/gpsfix-signed.zip

Press Thnx.
[Galaxy S II General] ikanikolai:
Why don't advice the GPS patch?

What means just do it yourself?

My SGS2 couldn't find GPS for 5 mins after I've installed the patch and found signal within 3 seconds...
[Galaxy S II General] DaveWut:
That's what I've done, but you know, it could be interesting for the entire community.
[Galaxy S II General] otorrisi:
have you tried contacting the Team "A" or maybe asking to steve jobs?
[Galaxy S II General] GFXi0N:
Why is this gps patch not included by default in the rom?

Asking from the complete ignorance, not trying to troll....
[Galaxy S II General] FRLinux:
As discussed before, default config works for most people, so it is a choice not to change settings. In the last few builds, GPS started magically working too (early April if I recall)
[Galaxy S II General] dr_justice:
I'm not sure if this is something I'm doing or the ROM it was working in the previous build update-cm-9-20120404-NIGHTLY. When I'm playing music and my alarm sounds the volume dips but does not return the the same level when the alarm stops.
[Galaxy S II General] Canuck_123:
How did you install Google Play Music? I get "not available in your country" in the play store. I'm in Toronto and on Bell.

Thanks in advance!
[Galaxy S II General] Grimbolt:
Same problem here..
[Galaxy S II General] cammel:
+1
[Galaxy S II General] Alienfreak:
It deactivates LNA.

The main thing improving the GPS Speed for most is using Frequency Aiding. The next best is Sensor Aiding most probably (but it can cause some weirdo effects if you stand still :3 ).

I think the guy that made the file in the first place just edited around in his sirfgps.conf and edited out LNA because he didn't know what it is and had a good GPS lock. But not because he turned off LNA but because he activated frequency aiding :3

---------- Post added at 06:30 PM ---------- Previous post was at 06:29 PM ----------

https://www.google.de/search?sourceid=chrome&ie=UTF-8&q=site:xda-developers.com+google+play+music
[Galaxy S II General] anthony151:
I know Entropy512 said the gps patch does nothing but the fact is that on 2 different builds it reduces my lock time from around 10mins to under 10secs.
[Galaxy S II General] Alienfreak:
Frequency Aiding is a SOTA method to improve the GPS pickup times.
[Galaxy S II General] confusedmuse:
Thanks. Reduced my locking time from 5-10 mins to less than 30 secs.
[Galaxy S II General] kevjef420:
can someone explain why this is important.

- Make sure you're running ICS bootloaders lower than LPH: Download (flash as PDA with odin or extract and $ sudo heimdall flash --primary-boot boot.bin --secondary-boot Sbl.bin)

I have LPE as basebrand. Does this create a problem if I just flash the latest build with CWM?
[Galaxy S II General] s_h_a_g_g_y:
Not posted before but have to say i agree. Locks on now in about 5secs. :D
[Galaxy S II General] Byakuya88:
can someone help please...!!!

i still have a problem to install applications.....I click install and nothing happens .... I know I can install the application with rootexplorer but I want to install it normally.
[Galaxy S II General] anthony151:
Yeah, it's even faster than stock GB for me.
[Galaxy S II General] confusedmuse:
Do you run a custom Kernel?

Or do you have any screen filter app running? If so, disable it completely (not only filter to 0) and try again.
[Galaxy S II General] thracemerin:
For those with odd battery drain with RILJ wake locks, this is one of the wake locks that rogue apps hide their wake locks under, RILJ is the user space interface for the RIL, this means that it handles coarse location requests among other phone related tasks, if you have an app making a lot of coarse location requests as you're moving around this could keep your phone awake for long periods of time, check on all the apps that have permission to use coarse location and you might find the one that is causing this problem.

For those with multipdp as a high kernel wake lock, this is another one that often identifies a rogue app or at least an app that uses data a lot, multipdp is the ICS version of svnet dormancy, it holds a wake lock for 5s every time the phone receives packet data, if you have an app (Skype and IM programs are major culprits) that request and receive packets often, this can keep your phone awake for a long time, since packet data is handled outside of the app, the wake lock is not being attributed to said app, Entropy512 posted this example in the i777 battery thread: say you have an app that requests a packet every 4s and the multipdp wake lock is 5s long, the 5s wake lock is refreshed every 4s meaning it never expires and you enter a permanent wake lock situation.

This is my understanding of these wakes at least, I may be off base but I did a fair amount of research on them myself.
[Galaxy S II General] Byakuya88:
thanks man...i disable screen adjuster app and my problem is solved....
[Galaxy S II General] brar.arsh:
Yes you will get boot loops and will have to flash via ODIN after that..
[Galaxy S II General] Yathi:
GPS Patch

I think there are quite a few people out there who are getting the GPS Lock only after applying the GPS patch for CM9 (Myself Included).

So I feel it will be good if there was some option to enable it in the ROM itself by default or if that breaks something then link the GPS Patch in the OP for anyone who is not getting the lock. I think will help lots of people. :)
[Galaxy S II General] Industrial_chickens:
Just tried this. Not for ICECREAM sandwich let alone CM9! Silly me should have read the forum! Of course it wouldn't even boot! :)

Was to keen to try and get USB DAC to work!
[Galaxy S II General] androidkid311:
Thank u so much for the help but all those values to told me change are already changed...looks like its the suicide patch for me lol :-/.
[Galaxy S II General] philhgw:
i also have this issue. so what's the link of our phones? ;-)

..using cm9-kernel; nightly-20120411.zip
[Galaxy S II General] Entropy512:
Because it breaks things for as many people as it fixes, and also because it is clearly not the root cause of the problem.

With the EXACT same gps.conf and sirfgps.conf, XWLP2 locks far faster than CM9 (10-15 sec vs. 60 sec when stationary outdoors) - so the evidence is clear the true problem lies elsewhere.

I'm pursuing some sources to try to get documentation to help in figuring out where. I really don't want to have to write a wrapper that dumps everything.

Especially the fact that it changes the LNA setting - that's just ****ing stupid, enabling an external LNA on a device that DOES NOT HAVE ONE.
[Galaxy S II General] Alienfreak:
SirfstarIV has an LNA?

And the patch DISABLES its enabled per default.
[Galaxy S II General] davi_ssilva:
Camera app

I'm wondering why the fotos looks so bad with this rom... Is there any way to put the stock camera app in cyanogenmod 9?
[Galaxy S II General] hIdd3N-:
sorry what exactly do you want me to do? i can use my g19 keyboard which has a 2 port usb hub.

i'm somewhat tired and my girlfriend keeps on nagging me with s++t so sorry if i miss the obvious here :rolleyes:
[Galaxy S II General] mgkrp:
Silent Mode Mute Vibration?

Hey Everyone,

I'm on the 409 build coming from 331 and ever since I have noticed that silent mode under sounds is always set to mute even after I set it to vibrate. This didn't happen before in 331, anyone know why?
[Galaxy S II General] test9876543:
Yep. I was suffering severe wakelocks from multipdp in combination with secril-fd_interface (still no idea what that is exactly). I removed all apps which I knew would use data and still couldn't get rid of the issue. Battery drained completely within 10 hours with minimal display time. I ended up doing a factory reset and installed my apps one at a time while checking repeatedly but it's fine now. No idea what the culprit was but now my battery lasts 32 hours including listening to music a few hours, 2 mail accounts setup pulling every 15 minutes, whatsapp. Can't complain :)
[Galaxy S II General] Industrial_chickens:
I always use my DAC through a usb hub on my pc. Makes no difference.
[Galaxy S II General] njwest:
Congratulations! Now why didn't we think of that solution for it? You must be some sort of Nostradamus or prodigy or something! Please, can I name my child after you?! </sarcasm>

No, you can't take something from the stock rom and stick it in CM9 because we don't have the Touchwiz framework required. If you want that, then stick to a themed version of stock rather than an AOSP based rom, or just go back to stock.

If you can even ask this question, I'd advise that this rom isn't for you. Please leave.

---------- Post added at 06:26 PM ---------- Previous post was at 06:24 PM ----------

If you have the LPE baseband, then no that won't prove an issue. It's the bootloader that needs to be below LPH (which, by knowledge of the alphabet, LPE is), not the baseband.

However, flashing the bootloader from the first post can't possibly hurt it. Flash it, it'll all be good. Best to be safe, eh?
[Galaxy S II General] aydc:
+1

No disrespect to Entropy512, but he's simply missing something. The gps patch made a measurable difference on every CM9 nightly build I've flashed until now. It can't be placebo for so many people on so many occasions. The patch simply makes GPS reception better.
[Galaxy S II General] GanTre:
PLEASE GUYS DONT IGNORE THIS MESSAGE, I REALLY NEED A FIX FOR THESE. THANKS!

hello guys. I installed this mod on my galaxy s2.. It works great but i got some problems:

1) When i receive a message(sms) the screen doesnt flash..

2) I cant save contacts in sim memory

DO YOU KNOW A FIX FOR THIS?
[Galaxy S II General] Grimbolt:
AFAIK there is no. Someone please correct me if I'm wrong.
[Galaxy S II General] punshkin:
does someone know ot has someone tried to compile a kang with this change ( http://review.cyanogenmod.com/#change,14498 ) to see if it eliminates banding?
[Galaxy S II General] GanTre:
Thanks.. I'm really dissapointed to hear that. Could you recomand me a stable version of CM7, without battery and the issues that i presented?
[Galaxy S II General] androidkid311:
Well what can i say... the patch worked like a treat! I got a gps lock within seconds in my house lol. Whoooop! Thanks to the guy who created the patch and who linked me to it:)
[Galaxy S II General] Grimbolt:
I never used CM7.. But I would go with the latest CM7 build i.e. 7.2 RC1.
[Galaxy S II General] GanTre:
Thanks.

I've downloaded this :

http://download.cyanogenmod.com/?type=stable&device=galaxys2

What kernel do i need? Do i need other files or i can start with this file?

Currently I have a Siyah Kernel.
[Galaxy S II General] kevjef420:
Is it enough to just flash as older base rom?

one that older than LP4?

then flash cm9?

thanks
[Galaxy S II General] HereAsWell:
Yes the dock settings are present now and it is possible to route the audio through the car dock.

I used it twice today :D
[Galaxy S II General] A$h x:
How can I check which apps are using coarse location? RILJ is literally killing my battery. I have BBS if that's any help.
[Galaxy S II General] njwest:
It'll install the stock CM9 kernel, but you can download the latest Siyah Kernel, which is running fine with no bugs.
[Galaxy S II General] DSC05:
You can use some apps for your problems. For example this

https://play.google.com/store/apps/...sMSwxLDEsImNvbS5uZWVkb20uc2ltY29udGFjdHMiXQ..
[Galaxy S II General] mossief1965:
Phone will not enter deep sleep since updating to latest version. Have rebooted numerous times but now over 6 hours no sleep. Usually rebooting stops this but not with this version.
[Galaxy S II General] Alienfreak:
Tried wiping... ?

Or your apps? ^^
[Galaxy S II General] vivmar:
where i can find latest codeworkx kernel .zip?

thx
[Galaxy S II General] sahibunlimited:
Its included in rom zip itself(its the latest one)
[Galaxy S II General] Fealakwen:
Thank you for your answer!
[Galaxy S II General] GanTre:
Please help. I have installed cm7 on my galaxy s2 with install zip from card mode. Now the phone starts and i got the ! sign on my screen. The phone freezes here. I bricked it?

Please tell me what to do. Help me guys :). Thanks!

L.E: I really dont understand this "android" or i am to stupid. I installed it second time and all works fine.. I am looking forward to see how the battery drains with this cm version :)
[Galaxy S II General] j3di:
Its weird but I find changing to flight mode then rebooting sorts out the deep sleep! Once rebooted disable flight mode...
[Galaxy S II General] vivmar:
sry but i haven't found kernel zip inside rom zip...
[Galaxy S II General] thracemerin:
If you go to Settings->Apps and click on an app, at the bottom of that screen it shows you which permissions the App has, unfortunately I don't know of a method to show all apps that have a specific permission at once, you have to go through them 1 by 1. I know that Skype does a lot of location sniffing even while not logged in, in CM7 you could disable specific permissions, this functionality isn't yet in CM9 so I uninstalled Skype for now.
[Galaxy S II General] mossief1965:
Yes I wiped before install. Apps are the same as in previous installs and never had problems.
[Galaxy S II General] mossief1965:
Will try this. EDIT didn't help. Thanks anyway
[Galaxy S II General] Entropy512:
And has broken it for just as many people.

The fact that the SV status periodically "blinks out" is clear evidence that something in the interface defined by gps.h is still fuct.
[Galaxy S II General] sahibunlimited:
Kernel flashes when you flash the rom zip
[Galaxy S II General] Yathi:
I actually like it when my screen stays off when I receive a notification. Can't you just use stock ROM?
[Galaxy S II General] thracemerin:
I don't think he's denying that the patch fixes the problem for some people, as he said it also breaks it for others. What he's trying to say is that the patch is masking a larger problem which they have yet to track down.
[Galaxy S II General] Yathi:
I am someone for whom it works only with the GPS patch. And I actually don't see that many people saying they tried the patch and it broke something for them. There were one or 2 posts way back but that could be due to many other reasons.
[Galaxy S II General] mrbtard:
I can't use 2g network whatsoever with the latest nightly. 2g only option will untoggle right after I close the menu and in advanced settings I can only choose between umts, hsdpa and hsdpa/hsupa. I'm not even able to lock to 2g in the menu that comes up when dialing *#*#4636#*#*. Im using siyah kernel but since i couldnt find anything about this on google, I thought I'd at least document this.

Feel free to suggest solutions if anything comes to mind!

Anyway, massive thanks to codeworkx for all the awesomeness you keep throwing at us :)
[Galaxy S II General] Entropy512:
A bit more update:

Frequency aiding helps slightly, but not much. Just means you might catch an ephemeride frame that might have been missed otherwise.

Sensor aiding only helps in extreme low-quality situations, like when only 2-3 sats remain. It may help slightly in accuracy, but is not going to help when satellites are ignored due to lacking ephemerides. (This is the case when any satellite is grey - the GPS is tracking the satellite and has pseudoranges for that satellite, but doesn't know where it is so the pseudorange data can't be used.)

SGEE does nothing

Same for ATT_NETWORK_OPERATOR

Yup. It, at best, band-aids around the problem - but does not fix the root cause. If it were the root cause of the problem, it would be obvious because TW firmwares would be just as broken. They're not, so the problem lies elsewhere.
[Galaxy S II General] kevjef420:
Originally Posted by kevjef420

can someone explain why this is important.

- Make sure you're running ICS bootloaders lower than LPH: Download (flash as PDA with odin or extract and $ sudo heimdall flash --primary-boot boot.bin --secondary-boot Sbl.bin)

I have LPE as basebrand. Does this create a problem if I just flash the latest build with CWM?

Originally Posted by brar.arsh

Yes you will get boot loops and will have to flash via ODIN after that..

Is it enough to just flash as older base rom?

one that older than LP4?

then flash cm9?

thanks
[Galaxy S II General] Alienfreak:
For how many people did activating frequency aiding broke anything?

I never read about anything in any thread.

And do you know what the ICS stands for in network_operator? Is it just some foreign provider?
[Galaxy S II General] confusedmuse:
About the screen... i use one of the numerous notification apps (they are all from the same team) and Go SMS.

I just enable Go SMS inside the notification app (i use Noftifier Pro Plus) and disable Go SMS's own popups.

Because the notifier app has a function "wake the screen". And this one works.
[Galaxy S II General] bezke:
Good night
[Galaxy S II General] DreadPirateDan:
If you follow the instructions to a tee, step by step from page 1, you can't go wrong.

However the whole boot loader thing is quite confusing to alot of people, and as such I will tell you this :

I've never touched the bootloader. I simply rooted stock GB, flashed CM7, then later flashed to CM9. All I did was flash the lagest nightly.zip, factory reset, clear cache, clear dalvik cache. Rebooted, then once it turned on, instantly rebooted.

Since then I have only had to wipe chache and dalvik. No problems/bugs popping up for me.
[Galaxy S II General] D79_:
I like it :)

Edit: the pic that is lol
[Galaxy S II General] kevjef420:
I am just wondering if I do a restore to an older rom on my phone like one of the first stock ICS roms that were available would this put the old bootloaders back so I do not have to use odin.

I am just hoping or trying to do this without odin thats all.
[Galaxy S II General] TheSniperFan:
Why don't just use Odin? Or if Odin isn't available for your OS, Heimdall.