yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
But in fwb wouldn't you think it would line up with CM? I would...

What about permissions or something preventing the location engine from loading:

What is this "slot not available" referring to?

Also, what about a sepolicy or some *.te file issue?

When I start the GPS Status app, I see the location "pin" icon appear on the right side of the status bar next to the clock, but no satellite dish on the left side.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
No CM's fwb is VERY different from ours. As for permission possibly? But doubt it. But that's usually handled in vendor_slim and vendor_cm
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Is there a fwb that's closer to Slim's which I could compare?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
if you hate (log) cat...

http://review.cyanogenmod.org/#/c/64954/

;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
[MENTION=3327168]BMP7777[/MENTION] I should have some time to look at this today. None of the links for "klte" device trees you provided have candy dependencies/candy.mk files can you provide a link with an updated tree or the required stand-alone files needed?

RECOMMENDATION: Why don't you create your own device tree on github and we can work on that?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Just my 2 cents, but do you have an accompanying QCMediaDefs.cpp for all the QCMediaDefs.h files? I'm pretty sure they need to co-exist.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I'm using slim dependencies on my klte build. I'm at a loss about this whole build at this point....still getting QCMediaDefs.h errors all day long. When I looked to comment out the code in the frameworks/av/media/libstagefright/AudioSource.cpp, I find that it already has been:

/*
* Copyright (C) 2010 The Android Open Source Project
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
* Not a Contribution.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

//#define LOG_NDEBUG 0
#define LOG_TAG "AudioSource"
#include <utils/Log.h>

#include <media/AudioRecord.h>
#include <media/stagefright/AudioSource.h>
#include <media/stagefright/MediaBuffer.h>
#include <media/stagefright/MediaDefs.h>
#include <media/stagefright/MetaData.h>
#include <media/stagefright/foundation/ADebug.h>
#include <media/stagefright/foundation/ALooper.h>
#include <cutils/properties.h>
#include <stdlib.h>
#ifdef ENABLE_AV_ENHANCEMENTS
#include <QCMediaDefs.h>
#endif
#include <system/audio.h>

That's lines 1 through 35. My error shows at line 33. (It's also worth noting that I made a space between #include <stdlib.h> and #ifdef and another after #endif and it's building....)

As of right now, the damn thing is building and possibly making a liar out of me. I hope so.....

---------- Post added at 01:43 PM ---------- Previous post was at 01:42 PM ----------

I haven't gotten an error that shows that, so as of now I'll say yes. I'll post if that changes....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
We don't support for klte and u have no clue if we need tweaks in hardware, fwn or fwav for that device. I agree with Roger start uploading folders that you are modifying so we can get a clear view
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
No one has any support for this device yet that I know of; I'm doing this all by the seat of my pants.So far, I'm not altering anything significantly(I don't think). All I've been working through to this point has been the gralloc_priv.h error(file not found - gotten past this) and this QCMediaDefs.h that I have been placing in the 'include' folders that looked appropriate. Since I added those spaces mentioned above, it's still running. If it errors out again, I'll post what I have and go from there I guess. I appreciate all the help!

BTW, I am also building for the jflte which does have support, but as I don't own that device, and all of my build errors for the device were the same as what I have been getting for the klte, I decided to continue running this one first. I'll continue that build as soon as I get some closure one way or the other with klte.

---------- Post added at 02:51 PM ---------- Previous post was at 02:06 PM ----------

Same thing again:

frameworks/av/media/libstagefright/AudioSource.cpp:34:25: fatal error: QCMediaDefs.h: No such file or directory
compilation terminated.
make: *** [/home/bmp7777/candykat/out/target/product/klte/obj/SHARED_LIBRARIES/libstagefright_intermediates/AudioSource.o] Error 1
make: *** Waiting for unfinished jobs....

UGH
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Where did you get the device folder? Or your basing it of Hlte?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I was getting them here: https://github.com/tdm?tab=repositories

But, I noticed today that the one other guy working on this as well has more recently updated files: https://github.com/garwynn?tab=repositories

I don't know if the updates will affect my build in a positive way, but I will paste em in when I get home if that's the way to go....

i think that's a great idea but am ashamed to say I have no idea how to go about it. :eek:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
[MENTION=1708319]prj[/MENTION]osh it looks like BMP7777 is using device trees based off of CM11's hlte. [MENTION=3327168]BMP7777[/MENTION] you need to grab whatever device tree you want to work with and start "Candy-ing" it by adding and modifying the make files and such, and again I recommend put it on github it will make things easier.

EDIT: [MENTION=3327168]BMP7777[/MENTION] https://help.github.com/articles/create-a-repo
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I had followed my teammates instructions on candying all my device files. Currently, my git is full of outdated files. I'll clean it up as soon as I get home and get those device files in there. Again, I will be honest and say that using my own git is something I know very little about, but I'm sure I can get caught up as soon as I get the files in there....

Heres my git: https://github.com/BMP7777?tab=repositories

Gimmie a couple hours to get home and clean the git up and then I'll be ready.

***I have all the build files in my git, I think. Let me know if something jumps out at you, as far as the solution. I feel like I should have it figured out, but haven't.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Hey guys, so I have been able to successfully build SlimKat with the latest sources and have not run into any of the errors you guys have been experiencing. There's a lot of talk about dirty repos and left over files and such and wanted to share my solution to this. Whenever I need to have a fully clean repo, instead of deleting it and re-downloading, I use the following command executed from the root of my WORKINGDIR:

This does a couple of things, first it searches through every directory for a .git dir (this means it's a git project dir) then it cd's to that dir and runs a git reset --hard to reset the HEAD then it runs a git clean -df which cleans the project dir and removes untracked files. This resets any manual changes that I have applied which don't get reset during a repo sync. This allows me to start the whole build fresh as if it were just downloaded ;)

I also have a question to ask, I run Carbon as my DD and love the Omni Performance Controls that they have included. The problem with the performance controls is that any of the settings set in Dalvik Settings when changed revert to defaults after you exit the app and open it again. A logcat shows that it's a permissions issue and the char dev's are not system writable. I can't change permissions with ESFile Explorer nor can I change them via adb. I know where to change this at the kernel level, but believe that this is not the correct way to fix this permissions error. I can use the shell to echo values without issues, but the app cannot write to these files.

Does anyone have an idea about how to fix this permissions issue without modifying the permissions in the kernel? Should I add code to the performance control to issue the commands by shell instead of it using java io?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
What device did you build for?

I can post my slim_manifest for the Skyrocket if someone could help with the GPS not working issue... I have two forked repos there for testing.

Would appreciate it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
I see the repos but I see no changes made by yourself, for example no kandykat make files just slim.mk for jflte and cm.mk for klte. :/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Nope just got em in there. Dinner and kids and such. I'll try to get to what I've done to this point asap.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
I build for the I757M celoxhd which is almost identical to the skyrocket. It was to be it's successor ;)

My manifest pulls from all three repos, display-caf, audio-caf and media-caf from SlimRoms repo and I use the msm8660-common kernel from cm. I also pull from celox-common and qcom-common also from SlimRoms repo.

My gps works ok, but I'm pretty sure we're using the same gps driver which is bundled with the msm8660-common device repo and am not sure why your experiencing this issue :(

I'll take a look at your manifest though to see if anything looks off to me ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Thanks, much appreciated! I have several repos in my github, some with various cherry picks from testing/updating, but my latest slim_manifest.xml is below. I left in the first 4

commented out

repos which I tried updating to fix this GPS issues and add some features.

As of the latest, I am using all Slim repos but with the CM kernel:

And I'm not sure if you wanted to look at it, but I've attached the Slim .repo/manifest.xml because it was too big to post (even with HIDE tags lol). I had to zip it up to attach it.

Thanks for looking at this!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dungphp:
Same me ! Just SlimKat build have GPS problem (can turn on but can't find any sats - others build not problem). I tested with CM hardware/qcom/gps, some msm8660-common repo. Don't know why !
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Just as reference. Msm8660-common has its own gps hardware stuff, so slim or cm hardware_qcom_gps shouldn't matter. At least that's how I understand it... At midnight and very tired lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
I posted a new build in the SlimKat thread... I think I have gotten the GPS working, or at least gotten closer to that goal.

So while reviewing my manifest(s) is(are) welcome, I don't want anyone to waste any more time on this than I already have LOL
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dungphp:
GPS is working in your Local Manifest ? :good:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
No, I made several manual local edits and added some files. My manifest is pretty much base Slim.

I haven't got it all sorted out yet...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dungphp:
Your build can turn on GPS ? My build can turn on GPS but can't find any Sat. I have try with some msm8660 device and device samsung n7000, android.hardware.location.xml,... but still no luck and now im compiling new build with new things
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
I added a couple of files from CM, one of which was ConnectionSettings.java in fwb, and a few edited files. I'm going to take a crack at getting them on Slim's Gerrit tonight...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dungphp:
your build can turn on the GPS ?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Yes
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I have been able to continue building through trial and error to this point now:

/home/bmp7777/candykat/out/target/product/klte/obj/SHARED_LIBRARIES/libgui_intermediates/SurfaceComposerClient.o:SurfaceComposerClient.cpp:function vtable for android::SortedVector<android::DisplayState>: error: undefined reference to 'android::SortedVectorImpl::reservedSortedVectorImpl8()'
collect2: error: ld returned 1 exit status
make: *** [/home/bmp7777/candykat/out/target/product/klte/obj/SHARED_LIBRARIES/libgui_intermediates/LINKED/libgui.so] Error 1
make: *** Waiting for unfinished jobs....

There are a large number of these errors back to back; I posted the last one because they are all pretty much the same.

I haven't begun to try messing with the files in my git yet, because none of my files are gotten from it, so I can't add my changes. Has anyone seen this? I'm at a loss.... :(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
libgui is mainly frameworks native, however definitions can be in libhardware, system_core. Some bits also reside in frameworks base as well. Possibly device needs existing boardconfig flag? Or your/us missing bits
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Now it's this:

frameworks/av/media/libmedia/AudioTrack.cpp:374: error: undefined reference to 'android::AudioParameter::AudioParameter(android::String8 const&)'
frameworks/av/media/libmedia/AudioTrack.cpp:375: error: undefined reference to 'android::AudioParameter::getInt(android::String8 const&, int&)'
frameworks/av/media/libmedia/AudioTrack.cpp:381: error: undefined reference to 'android::AudioParameter::AudioParameter(android::String8 const&)'
frameworks/av/media/libmedia/AudioTrack.cpp:381: error: undefined reference to 'android::AudioParameter::~AudioParameter()'
frameworks/av/media/libmedia/AudioTrack.cpp:382: error: undefined reference to 'android::AudioParameter::getInt(android::String8 const&, int&)'
frameworks/av/media/libmedia/AudioTrack.cpp:388: error: undefined reference to 'android::AudioParameter::AudioParameter(android::String8 const&)'
frameworks/av/media/libmedia/AudioTrack.cpp:388: error: undefined reference to 'android::AudioParameter::~AudioParameter()'
frameworks/av/media/libmedia/AudioTrack.cpp:389: error: undefined reference to 'android::AudioParameter::getInt(android::String8 const&, int&)'
frameworks/av/media/libmedia/AudioTrack.cpp:409: error: undefined reference to 'android::AudioParameter::~AudioParameter()'
collect2: error: ld returned 1 exit status
make: *** [/home/bmp7777/candykat/out/target/product/klte/obj/SHARED_LIBRARIES/libmedia_intermediates/LINKED/libmedia.so] Error 1
make: *** Waiting for unfinished jobs....

I think this build is just screwing with me now. None of the line errors are relevant to what's shown. For example, here are lines 374 to 409:

audio_io_handle_t output = AudioSystem::getOutput(
streamType,
sampleRate, format, channelMask,
flags,
offloadInfo);

if (output == 0) {
ALOGE("Could not get audio output for stream type %d", streamType);
return BAD_VALUE;
}

mVolume[LEFT] = 1.0f;
mVolume[RIGHT] = 1.0f;
mSendLevel = 0.0f;
mFrameCount = frameCount;
mReqFrameCount = frameCount;
mNotificationFramesReq = notificationFrames;
mNotificationFramesAct = 0;
mSessionId = sessionId;
if (uid == -1 || (IPCThreadState::self()->getCallingPid() != getpid())) {
mClientUid = IPCThreadState::self()->getCallingUid();
} else {
mClientUid = uid;
}
mAuxEffectId = 0;
mFlags = flags;
mCbf = cbf;
#ifdef QCOM_DIRECTTRACK
mSampleRate = sampleRate;

if (flags & AUDIO_OUTPUT_FLAG_LPA || flags & AUDIO_OUTPUT_FLAG_TUNNEL) {
ALOGV("Creating Direct Track");
const sp<IAudioFlinger>& audioFlinger = AudioSystem::get_audio_flinger();
if (audioFlinger == 0) {
ALOGE("Could not get audioflinger");
return NO_INIT;

I just don't get it. Were you ever able to build Roger?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
[MENTION=3327168]BMP7777[/MENTION] I haven't tried yet I am waiting for you to update the "device/samsumg/klte" device tree with the appropriate candy make files and dependencies before I try. Are you trying to build without a candied device tree? I'm taking a guess here but if you are commenting out stuff to get by errors, is what's causing of all the errors you're see now.

EDIT: I looked at the Candy github and some devices have slim deps and some have cm deps it's definitely needing some clean up. Since you know the Candy Devs I thinks it's best if you get the device tree setup.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Like I mentioned before, all of my files were picked manually so I can't just add them to my git in the usual way. I would have to start from scratch and input each change as I made it, which is what I was hoping to avoid what with about 50 gigs having been used in this current build attempt so far. I feel like I'm very close but this last hurdle has me stumped. But yes I have all the appropriate device files altered correctly for the building of the rom. I will try to find time today to list them the long way and give you an idea of what I have. Unless you have a way I could upload my current build environment to git ir somewhere else so you could look at it. I really need the help but don't know how to do what you want me to....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
git add.

git commit

Git push

This way the repos you modified are backed up in your git you can sync as many times as you want and your progress isn't lost and we can see your progress and take better educated guesses :p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Now that's what I call a manifest! I tried using your build command rather than mine(. build/envsetup.sh && brunch klte -j16) but had the same result. The thing is, my device specifics are basically rooted in CM(I beleive they are 'built' from hlte), but my Candykat files are predominately Slim. So, the whole damn thing is oil and water from jump. I feel like I'm very close, but can't think of how to 'repair' this last error set just to even get a build to complete. It seems to want a different AudioTrack.cpp; the errors don't line up with the documented code any any way I can fathom. I've researched all over and Beanstalks AudioTrack.cpp seems much closer to what would line up with the reported errors. But, it really doesn't either. Can't find another AudioTrack.cpp anywhere else that doesn't look like CMs or Slims. This is what it's trying to build:

make: *** [/home/bmp7777/candykat/out/target/product/klte/obj/SHARED_LIBRARIES/libmedia_intermediates/LINKED/libmedia.so] Error 1

...so, I've been all around trying to find a viable libmedia.so. The closest I can get right now is files from the last build I completed, which was CandyKat for the flo (Nexus 7). That build completed and runs, but when I looked in the files, there is a blank libmedia.so file in the location. As in, the file is there and labeled correctly, but has no code inside. NONE. WTF? No idea what to do now......

One other thing, I don't have a local_manifest at all for this build. I mean, I have one, but can't use it. When it comes to syncing any device files from Slim(I am in the middle of this horses*** with the jflte as well) I get prompted for a username and password. Mine apparently isn't what it's asking for, so I get denied. This is why all my device files are manually inserted......
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Libmedia is mainly handled in frameworks_av afaik
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I know; I've been poking around in there for two days.

I've been researching this type of error and found a few posted similarities. The one I looked at last showed the dev had bypassed the error to complete the build, due to the fact that the specific errors didn't 'line up' with the code in the file(which is where I'm at currently). How would I do something like that?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
anyone building 4.4.3? liquid or cm11?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jonnyredcorn:
So I just built my own slimkat build and I didn't add any cherry pics(I do know hot to do it) but I was just wondering if you guys any recommendations for cherry picks that enhance the ROM. I don't use Xposed and run ART. My phone has been amazing with fau'x kernel and francos color control really made my screen one of the best to look at.

Any commit's that haven't been merged yet that I should cherry pic?

BTW guys...I don't know about you but I don't use TRDS, I've read about the bugs some have run into I have been using BANKS standard app's and I have had zero problems. My apps that I set to update automatically do so,. All while keeping the stock SLIM dpi which I believe is 380 or 370 believe, and using Nova launcher and increasing the icon size I get the best of both worlds...large dock icons plenty of screen real-estate
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Can you link to the code that is supposed to be erring out, maybe I can take a look at it in git :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
This is my latest:

target Symbolic: libc (/home/bmp7777/candykat/out/target/product/klte/symbols/system/lib/libc.so)
libsepol.context_from_record: type audio_firmware_file is not defined
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert u:object_r:audio_firmware_file:s0 to sid
/home/bmp7777/candykat/out/target/product/klte/obj/ETC/file_contexts_intermediates/file_contexts: line 244 has invalid context u:object_r:audio_firmware_file:s0
Invalid context file found in /home/bmp7777/candykat/out/target/product/klte/obj/ETC/file_contexts_intermediates/file_contexts
make: *** [/home/bmp7777/candykat/out/target/product/klte/obj/ETC/file_contexts_intermediates/file_contexts] Error 5
make: *** Deleting file `/home/bmp7777/candykat/out/target/product/klte/obj/ETC/file_contexts_intermediates/file_contexts'
make: *** Waiting for unfinished jobs....

and I haven't poked around in here at all.....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Sepolicy has something that isn't in external/sepolicy. I'd look at msm8660-common for a possible fix (think it was a similar error)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Yeah I remember you had to add the audio_firmware_file info in file.the and file contents.the to fix the compilation.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Both of this Sepolicy commits are already in olace. I checked. Even tried taking them out to see what the effect was.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
[MENTION=3327168]BMP7777[/MENTION] Have you made any progress and out of curiosity did you tried flashing a different kernel on top of my klte build?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
LiquidSmooth Camera issue?

Has anyone built Liquidsmooth and found that it has the 1080p corruption? I built it from CM 11's device msm8660, celox-common, qcom-common and even used a kernel that worked with 1080p on CM 11 and still have the lines by using the stock Camera app. It works fine with Google Camera, but was wondering if there is a simple fix for the stock app. Since liquidsmooth requires using their build command, I use "./build-liquid.sh -c1 skyrocket" which the -c1 cleans the build before it runs. Before the build compiles, I do noticed the display mention GCC 2s Optimization, could that be an issue? I can change that to 0s if you think that would help. Everything else works great! Thanks for anyhelp you can provide.