yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jonnyredcorn:
Please contact me Johnnyredcorn if you have questions as if this is posted in the OP it was my doing and responsibility. I've also just built the latest SlimKat with all merged commits today without error on my hamerhead, and I am about to do the same to my flo. SlimKat in my previous 3 years flashing ROM's(although before ICS came out I was rather FOND of MIUI which gave me the themeing options to turn my phone into a very close replica to ICS.

If you would like to add what I've quoted into the OP(feel free to change what you feel necessary..I simply posted what worked for me, that might help others who are looking to get SlimKat on their device instead of SlimBEAN which is outdated, SlimKat which is IMO the best ROM I've run on both devices. SlimRECENTS is how multitasking should have been..they also have a new shake to lock feature which gives you the ability to shake your device when you want your phone to be secure via PIN, Password, whatever security you want. If I offended you by updating your OP to the most recent builds I apologize no offense I just see a lot of questions regarding this in this the hammerhead thread and many including myself were directed to this post which was very helpful, however since I'm a noob when it comes to building ROM's slimkat's latest being my second that I've personally builded...I couldn't have done it without this thread, and help in the slimkat rom hammerhead thread(which IMO is the most helpful thread on XDA when it comes to learning to build. If I've made any mistakes and you don't want to include this in the op I would completely understand, just felt the urge to contribute back to the community that's helped me so much.

Wtith an XDA member by the name of iceslinger420 and he's having a rough time with funds so if he helps you out a donation would e\be greatly appreciate by hin\m
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
I did have a RR when I tested with CM's kernel source when set to ondemand. With the skyrocket, the GPS doesn't lock, so I tried to manually edit the manifest to include CM's hardware files, but when I sync, it comes up a fatal git repository error. Is there another file besides the manifest.xml and manifest/default.xml that repo sync looks at to pull the sources? If I keep the minimal Slimkat sources (device_skyrocket and framework files) and try to build with CM's device_msm8660, I get a build error when it looks in the device folder, so do you have any ideas on how to fix both the errors I am having? I realized the Slimkat's device_msm8660 is strictly there to help build for msm8660 devices, but I want to do a test to see if there is something in Slimkat's repository that is causing the RR.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
The rr seems to be a commit for ondemand that's messing with it. As for gps I honestly don't know why :/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
For Slim GPS, both myself and [MENTION=4559825]wantowan2[/MENTION] have been looking at it. No simple solution though, it seems...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
I tried to just use CM-11, sources except Slim's framework to see if that would work, but when it synces, I get a refs/tags file not found error from all CM sources except the kernel. I thought maybe Slim's hardware/ repository might be too blame since there is a GPS.git mentioned. Who knows maybe something in the device_msm8660 repository has something to do with it. It is a little out of my scope. I was just trying to experiment.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jonnyredcorn:
I think you might have quoted the wrong post? What you're saying has nothing to do with what I said.

On the bottom right you see my Serviio console running, linux software update, GooGle Hangouts, Google Chrome, Dropbox, and Netowrk connections. how can get them into the panel at the top that is invisible unless moused over?

I'm new to linux, and I don't believe the icons at the bottom right are applets, but the icons at the top are. For exmaple I have a Network connection icon at the top that allows me to turn netowrk on or off(if I right click it asks me to remove the applet) if I right click the bottom Network Connection I get a menu that has a check next to enable network connection. Or if I right click serviio I get the options to shut down serviio.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
I saw you mentioning SlimKat so I thought that's what you were talking about. Regardless, I just thought I'll mention it since it was a building error for SlimKat. It was supposed to be directed at either [MENTION=4435460]NoSpamDan[/MENTION] or [MENTION=3877985]prbassplayer[/MENTION] since they are working on SlimKat. My bad.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dungphp:
Hi all devs here !

about 2 week to now I have lots problems when compile all build from source. Before that time no problem (cm11, aokp, LS, RR,...) !

exp:

﻿

(in text: https://docs.google.com/document/d/1uDFRGj2XypNIr3fiqmXJSZwUhBpSjTXHvJdcz3A0Btk/edit?usp=sharing )

Please devs help me out these problems !
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
This is defined in the kernel header file include/linux/msm_vidc_dec.h

My guess is that you have not updated your kernel sources with the latest changes that were merged from the next branch. Try updating your kernel with all of those changes and it should compile.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
hi may i request some help about that error please?

In file included from external/webkit/Source/JavaScriptCore/wtf/PassRefPtr.h:25:0,

from external/webkit/Source/JavaScriptCore/wtf/ByteArray.h:30,

from external/webkit/Source/JavaScriptCore/wtf/ByteArray.cpp:27:

external/webkit/Source/JavaScriptCore/wtf/NullPtr.h:48:13: error: declaration does not declare anything [-fpermissive]

extern std::nullptr_t; //nullptr;

^

build/core/binary.mk:446: recipe for target '/home/desalesouche/MWisBest/out/target/product/u8860/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/JavaScriptCore/wtf/ByteArray.o' failed

make: *** [/home/desalesouche/MWisBest/out/target/product/u8860/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/JavaScriptCore/wtf/ByteArray.o] Error 1

make: *** Waiting for unfinished jobs....

thank you
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
You update open jdk recently?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
no i am just compiling https://github.com/MWisBest

i changed nothing to my java

desalesouche@NoGiveUp:~$ java -version

java version "1.6.0_45"

Java(TM) SE Runtime Environment (build 1.6.0_45-b06)

Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

desalesouche@NoGiveUp:~$

thanks ..
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Hi all, I've been trying to get the GPS working on SlimKat for the Skyrocket. I'm able to compile fine, but for whatever reason, the GPS will not see any satellites. In the GPS Stataus and Toolbox app, normally there are satellite indicators across the middle in a bar chart, which start out yellow as they populate, then turn green when they lock. I get absolutely no satellites showing up at all, along with a message "Waiting for GPS location...".

I have a logcat here, and these lines stand out to me:

05-22 06:11:37.154 E/LocSvc_eng(708): I/===> int loc_eng_set_position_mode(loc_eng_data_s_type&, LocPosMode&) line 647
05-22 06:11:37.164 E/LocSvc_api_rpc_glue(708): slot not available ioctl_type = RPC_LOC_IOCTL_SET_FIX_CRITERIA
05-22 06:11:37.174 E/LocSvc_eng(708): I/===> int loc_eng_start(loc_eng_data_s_type&) line 508
05-22 06:11:37.174 E/LocSvc_api_rpc_glue(708): I/---> loc_start_fix line 422 -1234
05-22 06:11:37.174 E/LocSvc_eng(708): I/===> int loc_eng_inject_time(loc_eng_data_s_type&, GpsUtcTime, int64_t, int) line 677
05-22 06:11:37.174 E/LocSvc_api_rpc_glue(708): slot not available ioctl_type = RPC_LOC_IOCTL_INJECT_UTC_TIME

Can anyone help me with this? I think it's something very low-level...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dungphp:
Hello all !

Today I have compiled a Slimroms build for my Samsung phone but No hardkeys (Menu, Home, Back buttons) !

Any help me out these problems ? (problems is just Slimroms)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
I hope someone will give you an answer to this as you are trying hard to get SlimKat to work perfectly. I just compiled an Unofficial CM 11 with Diablo and it built after following [MENTION=4859152]titanic_fanatic[/MENTION] advice on this page with the msm_vidc file. Only problem is the Camera still has the 5-second delay, even though I compiled with CM's device msm8660 and Diablo's kernel was recently updated with some of CM's changes. I guess there is a file missing causing it as the media-caf is defined in device msm8660 and not kernel msm8660?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Yes,me too, thanks. I have tried many things, and basically ruled out the device folder entirely. I can't check right now, but I think CM11 uses the same caf variant.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
For the camera, have you guys renamed the proprietary camera.msm8660.so to camera.vendor.msm8660.so so that the camera wrapper can be built as camera.msm8660.so. I was having a similar issue and realized that it built the wrapper as camera.msm8660.so and then my vendor repo overwrote it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
On review.cyanogenmod.com, it mentions to change that file to use it so it must be done manually when you want to build yourself. Do you think that might be what is causing the 5-second delay when using Diablo kernel? 1080p works so I know the main Camera Wrapper in the device msm8660 was added, so it must be something in the kernel. Also do you think you know what may be causing [MENTION=4435460]NoSpamDan[/MENTION]'s GPS issue with SlimKat? CM 11's GPS works but SlimKat does not.

Edit: Scratch the Camera, as the Skyrocket already had that file renamed so that is not the cause of the error
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
The fix for the 5 seconds delay was added in the wrapper itself. I saw the commit in bryan2894's repo but am out and about right now, so I'll post a link to it later when I get home.

One last thing, you should be on media-caf for the new kernel. Confirm this by checking device/samsung/msm8660-common/BoardConfigCommon.mk for TARGET_QCOM_MEDIA_VARIANT := caf

I'll be running my own slim build later today as well and haven't built it since the new kernel changes, so I'll see if these things affect my build as well.

EDIT:

Here is the commit I was talking about ;)

https://github.com/bryan2894/androi...mmit/a0b66d7f27266de101a1917ce61fc6bbfa58940b

This is supposed to fix the camera lockup.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
The fix for the 5-second delay is completely in the kernel, not the ROM.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Yes, the Slim and CM wrappers are named differently. One has "vendor.camera" and the other has "camera.vendor" I think lol.

EDIT: The CM one is "vendor-camera" and Slim's is "camera.vendor"...

---------- Post added at 04:04 PM ---------- Previous post was at 03:51 PM ----------

As far as I know, the GPS issue is only affecting the Skyrocket SGH-i727. Not sure if Hercules is affected, but the last time I checked, the were no Slim weeklies for it either... :confused:

The camera is fine on the SR. ;)

I've put some serious miles on Meld with the GPS issue. [MENTION=4559825]wantowan2[/MENTION] has been kind enough to help me here and there, but the GPS issue seems to have him stumped too... I'm basically comparing the entire Slim build source with CM, folder by folder. Some things diverged/were renamed a while back, which throws a wench it two in there lol.

:eyesCrossed:

I figure the more eyes on it the better...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Do you have an account on our gerrit?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
the Video Recording delayed start has to be fixed in kernel normally...:

---> https://github.com/RittikBhowmik/Pr...mmit/510fc903d75980ccd99ff235cde4994df946122a

for the gps which doesn't work... if slimkat gps folder is not good , replace with the one from cm...

hardware/qcom/gps ?

hope it will help...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
No I don't. I've been there many times though...

EDIT: just signed up :)

EDIT 2: Is there something particular I should know?

I have tried this already, thanks. I don't believe that's where the issue lies.

The /device, /hardware, /bionic and I'm pretty sure /vendor folders have been ruled out (same issue with GPS when using CM's versions or copying relevant differences in and compiling).
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Thanks I was trying to compile CM with Diablo as I noticed some recent CM merges, so I thought it would include all the Camera fixes, but it looks like the only one missing is the 5-second one. I am trying something else now instead. Thanks for the help everyone!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Hey guys, has anyone come across or more importantly, found a way past it?

[frameworks/native/libs/gui/Surface.cpp:38:26: fatal error: gralloc_priv.h: No such file or directory
compilation terminated.
make: *** [/home/bmp7777/candykat/out/target/product/jflte/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o] Error 1
make: *** Waiting for unfinished jobs..../CODE]

I'm getting this on many different builds, but building is still being completed, so it can't be everywhere....any help and I'd be grateful.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Well something is including that file grep it see what comes up, probably missing a barrier somewhere. Just a guess.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
thanks PR. Here's me in full noob plumage. How does one grep correctly? I ran grep gralloc_priv.h from within my build directory and got nothing. It just ran. All night. How am I doing it wrong? Do I need to be in root and have a path to my build directory? Could you lay this out for me please?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
grep -ir 'word or frase.

-i will ignore capitalization

-r recursive will search in each folder inside where you grep

Edit: if you grep inside your root source folder might take a while.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thanks for the quick response. I didn't use -i or -r in the command; does that create a problem? I started the command from within the root of my build directory and just had a blinking cursor all night. Had to reboot. I ran it as shown:

grep gralloc_priv.h

Is it supposed to be run from root of the whole directory, with a path to the build directory?

grep gralloc_priv.h /home/BMP777/candykat

Like this?

Or does it matter? I know the build directory is large, but would it take all night? The last time I went looking for this file, I just ran a search in the build directory and got six locations after about 10 minutes......sorry for all the questions; just want to get it right and be specific so I don't have to come back with even more questions. Thank you man...:D
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
I'd just cm to candykat folder and do grep -ir gralloc_priv.h and wait.

That being said gralloc_priv.h sounds like something being called from a display (I'd assume caf or caf-new?) repo folder and fwn, so to make the search faster cd to one of those repos and use the command I used above.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Yes it is from a caf repo. Trying to build for the S4 and S5. Ill try your tips as soon as I get home. I got TeamViewer installed this morning but don't have it properly configured yet. Thanks again
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Also a side note if you want to stop anything on terminal ctr+z usually kills the current task.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I've used that command before, but it seems like it doesn't work sometimes. Maybe I'm just too impatient. Do you think that no adding the '-ir' is the issue? Because I did it the way you said with those extra characters and it sat all night without pulling up anything....probably a dumb question...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Yes it is. Without the r it won't search inside the folders and the folders inside those folders. The I is just to make sure a capital letter doesn't screw up your search lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Better solution would be to find out why it's missing to begin with. Could be as simple as a missing ifdef or just a outdated caf repo (sadly cm likes to start fresh every few months lol)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
True, but having the paths of those files will at least allow checking to see if the file is indeed there. If so, then yeah, gotta look into why, if not, then it could be added if it's missing from the source for some reason. :cool:

It looks like there is an #ifdef QCOM_BSP check around the line looking for that file...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Am I on Mars or something? here is the command as I understood you to explain it to me, PR:

bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/candykat$ grep -ir gralloc_priv.h

All I have is a blinking cursor. It's been running for an hour. At the same time, I ran a quick search of the same build directory and had six of them come up in search. WTF?

I'm just gonna run the build and get the location at the error. Thanks to NoSpamDan and PRbassplayer...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Grep can take a while, really depends on the machine. But Grep it in hardware/qcom/display-caf
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Thanks I tried it again and that fixed it!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
There are two ways to stop a running command in terminal: ctrl-z or ctrl-c. ctrl-z forcefully stops the running command and ctrl-c quits the running command. You should use ctrl-c more often and only use ctrl-z if the command doesn't stop after using ctrl-c.

As for your compile error... Here are 3 possible reasons why you could be getting it:

1. Your display HAL is missing (hardware/qcom/display-caf doesn't exist)

2. You don't use a CAF display HAL (TARGET_QCOM_DISPLAY_VARIANT is not set to CAF, in this case that means you're missing hardware/qcom/display/msm8960 for your GS4 build and hardware/qcom/display/msm8974 for your GS5 build)

3. frameworks/native isn't inheriting the gralloc includes properly, in which case open frameworks/native/libs/gui/Android.mk and make sure something like this exists:

LOCAL_C_INCLUDES += hardware/qcom/display-$(TARGET_QCOM_DISPLAY_VARIANT)/libgralloc
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dutchthomas:
Ctrl-z actually suspends, or pauses the current task. It can be resumed with the command "fg" or resumed in the background with command "bg".

"jobs" will list suspended jobs... use "kill %1" to kill suspended tasks...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
I've been living a lie!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thanks for all the tips, guys. I did have a missing display-caf folder. Took care of that and patched a couple of other errors and then came to this:

host StaticLib: libLLVMCore (/home/bmp7777/candykat/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMCore_intermediates/libLLVMCore.a)
/home/bmp7777/candykat/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/bmp7777/candykat/out/target/product/jflte/obj/ETC/sepolicy_intermediates/policy.conf
device/samsung/msm8960-common/sepolicy/mediaserver.te":13:ERROR 'unknown type audio_firmware_file' at token ';' on line 7520:
allow mediaserver audio_firmware_file:dir { { open getattr read search ioctl } add_name write };
# Grant access to audio firmware files to mediaserver
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/bmp7777/candykat/out/target/product/jflte/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/candykat$

My team members think its not pulling the dependencies, but I have all of the folders in the locations they should be(at least I think I do), so it should'nt need to pull anything. Any thoughts?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Look at a commit I merged last night for msm8660-common. Should give you an idea how to solve it, or cherry pick the commit for it on external_sepolocy from cm
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thanks for the tip, but my build environment has msm8960-common, not 8660. Could it still help?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
The sepolicy should be familiar enough can you link to the msm8969 device folder?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
here you go:

https://github.com/SlimRoms/device_samsung_msm8960-common
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Are you using our device repo? If so probably need to revert this https://github.com/SlimRoms/device_...mmit/c3b097099f43d0a0ca6a2b11f1b025dacb7da4a0

If your using CM's to you need that commit.

Problem is we aren't tracking CM's sepolicy and don't see the point right now to modify further our sepolicy so some devices from cm need tweaking :p. Not sure about candykat
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Candykat recently changed from a CM base to Slim because we hope to anticipate less.......how can I be politically correct here.....build breaks due to daily changes. So, now everything comes from the slim base and has been an absolute nightmare. But, once we get past these issues, we hope for smooth sailing, if you know what I mean. The other devs have already had successful(mostly) builds for the Nexus' line and M7 and 8. I'm the one responsible for these sammy devices and their KILLING me! All your help is greatly appreciated and any more assistance will be valued as well. I will openly thank everyone for their help in the updated S4 thread, and hopefully, the new S5 thread.....

That looks promising! I am running teamviewer to remote to my laptop at home and will try to get that in place shortly.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Well I'm pcless right now but I'll do what I can.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
You've been doing a dynamite job so far, brother. Thank you.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Hmm something is not right. You guys are tracking our sepolicy repo so if you are using slim's msm8960-common repo should work fine as d2 and jf has been compiling fine for us. Sure you didn't modify it?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
The lead Candykat dev says nothing has been altered other than the slim.mk(presumably to build CK)

I'll mention something else. When attempting to build for jflte, I can't use a local_manifest to pull the deivce specific files; when it gets to that point in the sync, it always asks for a user name and password, and my git user/pass does not do it. This only happens to me apparently. Do you have any idea why? Now I'm pulling in the device files by hand....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
Candykat

i tried yesterday to build Candykat yesterday ...i stopped due to errors.

may i request here some help about it?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Of course. Whats the device and what are the errors?