yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
building for huawei u8860 and u8800pro(same device tree and kernel).

for error , please let me a moment to rebuild candykat. cos i am actually building other rom...

will feed back in a short time...

thanks.

---------- Post added at 09:33 PM ---------- Previous post was at 08:54 PM ----------

here it is sir...

/home/desalesouche/candykat/prebuilt/linux-x86/toolchain/arm-eabi-4.8gcc: No such file or directory

/home/desalesouche/candykat/kernel/huawei/honor/scripts/Makefile.build:305: recipe for target 'scripts/mod/empty.o' failed

make[4]: *** [scripts/mod/empty.o] Error 1

/home/desalesouche/candykat/kernel/huawei/honor/scripts/Makefile.build:441: recipe for target 'scripts/mod' failed

make[3]: *** [scripts/mod] Error 2

make[3]: *** Waiting for unfinished jobs....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
What kernel are you trying to build for this ROM? It may not be Slim compatible. Candykat is a Slim base now, so be aware that you may need to alter some thing to get a successful build. Just looked more closely at your post and see your using a Huawei kernel. Chances are it isn't Slim compatible. I'd ask PR, but he's not online for now.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
that one kernel 3.0.101

https://github.com/DESHONOR/BroodROM_kernel_huawei_honor

i use that tag in boardconfig.mk

TARGET_KERNEL_CUSTOM_TOOLCHAIN :=arm-eabi-4.8

and the toochain is the sabermod gcc 4.8 that i renamed.

edit, generally with same settings i can build slim rom...i don't have that error...

but, slim rom is not booting for me...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Did you have a successful build before adding sabermod? It's posed problems in the past with different ROMs, it may be the problem. Or, like I said, you may need to alter a Slim kernel to get a build to complete. I wish I could offer more solid assistance, but I have never built for those devices and spitballing would probably cause you more issues than help. I'll ask around and see what I can find out.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
yes with sb 4.8 i had many successfuul builded rom and kernel, even with linaro 4.9.1.

actually building candycat, i might have found the problem, and fix...will give confirmation...

don't wanna say something false....xD
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I've built with sabermod as well, but always after a successful vanilla build. that way you can be sure your problem isnt coming from somewhere else...on my way home. I'll see if I can find some more info when I get there. Good luck!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
sorry , i don't understand what means"vanilla build"?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Plain build no customizations at all
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
********************************************

*==========================================*

* / __)__ _ _ __ __||_ _|| //_ _ _____ *

*/ / / ' | '_ \/ _ |\ //||// _'|_ __|*

*\ \__\ (| | | | \ \|| \_// ||\ (_|| || *

* \___)\_,_|_| |_|\__| \/ || \__,_| || *

* / *

*==========================================*

********************************************

* Candy Complete ***************************

* Enjoi ************************************

********************************************

*==========================================*

********************************************

there is a little typo at "enjoy".... xD

what fixed build was:

TARGET_GCC_VERSION_ARM := 4.8

instead

TARGET_KERNEL_CUSTOM_TOOLCHAIN :=arm-eabi-4.8

i i magine i could fix with PREFIX...will check

thank you sir...

now i have to see if the rom boots...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Very nice! It's not a typo. Just a little originality on the part of our lead dev. Good work!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
rom is not booting and i can't get logcat...

slim rom, omni rom, are a pain for me cos 4.4.2 ... no boot or stuck at bootanimation...

thank you anyway...

will retry a build ...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Probably due to the fact your compiling with gcc 4.7 for the rom and a kernel that obviously doesn't like 4.8
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
hey PR, what do you think of this one?

In file included from frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:26:0:
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.h: In constructor 'android::StagefrightRecorder::StagefrightRecorder()':
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.h:132:28: warning: 'android::StagefrightRecorder::mSurfaceMediaSource' will be initialized after [-Wreorder]
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.h:127:10: warning: 'bool android::StagefrightRecorder::mRecPaused' [-Wreorder]
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:89:1: warning: when initialized here [-Wreorder]
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp: In member function 'android::sp<android::MediaSource> android::StagefrightRecorder::createAudioSource()':
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:974:20: error: 'MEDIA_MIMETYPE_AUDIO_EVRC' was not declared in this scope
make: *** [/home/bmp7777/candykat/out/target/product/jflte/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/StagefrightRecorder.o] Error 1
make: *** Waiting for unfinished jobs....
bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/candykat$

Man, lemme tell ya, this S4 build is fighting me every step of the way, and I don't even own the damn device! Hate to keep bugging you, but do you have a suggestion?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Well stupid question #1 you syncing to caf candykat?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
nope for slim roms and omni rom i was compiling byt the past with 4.7 so it is not the point...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Yes:

repo init -u git://github.com/CandyKat/candykat.git -b ck44caf
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
i did..

actually recompiling candykat...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
It was a type I meant 4.8 and you where compiling with 4.8 according to a paste you added earlier.

Bmp I honestly don't know why it's failing on av if you're using our av and our display-caf, media-caf and audio-caf
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
my device is using display-legacy and media-legacy...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Last bit was for BMP7777
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Seeing how far I can get my klte build before I go back to hair pulling for the jflte. But I will check all of those locations and make sure.

I have both builds at the same error now.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
3.4 porting kernel

hi again, i could port a 3.4 kernel from huawei u8800 to my device huawei honor(u8860).

kernel is booting and i got touchscreen working but not correct....

for code pin, if i press 2 , number 0 appear on screen...

if somebody can point me where to look in kernel about that point?

https://github.com/rmbq/android_kernel_huawei_msm7x30

thanks you.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Any thoughts on this one?

hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:52:34: fatal error: QOMX_AudioExtensions.h: No such file or directory
compilation terminated.

No files for this in Slims audio-caf, or CMs for that matter.....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
DU unknown "audio_firmware_file" Error

Hello I was wondering if you could help me out. I am trying to build Dirty Unicorns with CM device and kernel, but everytime I build I get an error in "device/Samsung/msm8660-common/sepolicy/mediaserver.te:13" which states that audio_firmware_file is an unknown value. If I comment it out it builds, but DU doesn't boot into the rom, just freezes on the bootanimation. I do get other errors like "hardware/qcom errors, which states a file doesn't exist in the audio-caf like posted by [MENTION=3327168]BMP7777[/MENTION], but using CM source seems to fix that. The reason why I want to use CM device and kernel sources is for the recent fixes. Is there a solution without reverting? Thanks.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
What's up Andrw0830 look at this commit PRJosh pushed to the Slim source, make these same changes in your source and that will get rid of the sepolicy error.

https://gerrit.slimroms.net/#/c/8525/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Thanks will try. You have built DU, is there a key to get it to build? One time I had the screen dim and it looked like it was going to the setup screen but it froze on the boot animation. The recent changes to the device msm8660 also made an error early in the build complaining that gr_text was already defined in bootable/recovery/minui/minui.h but I just removed the duplicate entry there and that got rid of the error. Would that cause a problem. Thanks for the help.

BTW I already learned a lot of building over the last couple of weeks. I got a Diablo cm11 build with camera working!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Hey Roger, Do you have any thoughts on my issues with QOMX_AudioExtensions.h and QCMediaDefs.h ? I have been trying to copy and paste the .h files (I have copies) in what I thought were the appropriate 'include' files, but my build continues to error out for these items over and over. I haven't been able to find the needed files in Slims or CMs media-caf or audio-caf. They aren't there. Kind of at a wall until I figure these things out and would love a shove in the right direction.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
I found this file in cm's media-caf here:

https://github.com/CyanogenMod/android_hardware_qcom_media-caf/tree/cm-11.0/mm-core/omxcore/inc

It looks like, at first glance that slim's media-caf is very different from cm. It's worth diffing to see where the differences are ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thanks Titanic. I swear I looked and didn't see what I needed in them but will definitely take a closer look.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
No problem. Just an fyi, I find these things simply by googling:

The site part of the search restricts results to a specific site, in this case github.com so the above tells Google to search github.com for the keywords specified. This seriously helps narrow down what your looking for ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I looked and the media-caf looks right but the audio-caf is missing the file my build is asking for. This is the current error:

frameworks/av/media/libstagefright/AudioSource.cpp:33:25: fatal error: QCMediaDefs.h: No such file or directory

I have a QCMediaDefs.h I have been pasting into what I think are the appropriate include folders, but it continues to error for the same thing. I can't figure out where its supposed to go. Do you have an idea?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Is it? I don't use it and don't personally maintain it (my caf devices are caf-new).... Ugh I can't meld and doing git diff with phone is... Time consuming to say the least lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Yeah I have been getting stuck at the same QOMX_AudioExtensions error for the omx_aac_aenc.o file with Dirty Unicorns. Should I just comment out that include file or is there a better way? DU must use the same audio-caf as Slim if [MENTION=3327168]BMP7777[/MENTION] is experiencing the same error as me. It is weird that the file is no where to be found in either CM or both Slim and DU unless the problem lies in the kernel?

BTW thanks [MENTION=2982375]roger_n[/MENTION] and [MENTION=3877985]prbassplayer[/MENTION], I commented out the custom graphics.c and fixed the mediaserver error. I am only now stuck on this error now.

Edit: If I copy the qcom folder from CM source and merge it with DU, my build will succeed, but only when you don't use make clean. I will test my build to see if it boots, but it must either skip the file or since both the build has information from both sources, it satisfies the solution.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
I was able to compile DU for the skyrocket and did not have the QOMX error. Can you paste bin your local manifest and du.dependencies files?

---------- Post added at 05:56 PM ---------- Previous post was at 05:50 PM ----------

Since you are having so many compile issues I'm thinking the repos that you are using have mis-matched code, old and new since you guys recently switch over to Slim source as your base. You may want someone to look at the Candy repos and double check stuff just as a sanity check you are just having way too many issues.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Our lead dev has been poring over the repo for a couple weeks now and it could definitely be a possibilty. But they have successful build a for the Nexus and one devices so I know the build is possible. It's just that the only S5 device files available are CM based so that doesn't go together at all but I continue to try and hack it out so to speak.

Sorry that sounded so rambling, at the ball fields rooting for one of my sons
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Paste bin your manifest I'll try and build it myself and see how far I get.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I will as soon as I get home. Thank you brother
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
I am using CM's qcom-common and celox so that could be an issue. Here is my local_manifest:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="DirtyUnicorns-KitKat/android_device_samsung_skyrocket" path="device/samsung/skyrocket" remote="github" />

<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" remote="github" revision="cm-11.0" />

<project name="bryan2894/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="kitkat" />

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-11.0" />

<project name="CyanogenMod/android_device_samsung_celox-common" path="device/samsung/celox-common" remote="github" revision="cm-11.0" />

<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="cm-11.0" />

</manifest>

The du.depend file that came with DU's source only had the qcom-common and celox-common sources so I left that file blank, so it wouldn't overwrite my local_manifest. In case you didn't see my edit, if I replace the "hardware/qcom" with CM's after the error, it will build. I have yet to try with my recent changes to see if it now will boot, but if it doesn't I will use DU's qcom-common.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
That reminds me. I haven't been using the local I was pulling the device files manually. For some reason it won't build with the manifest in place. I'll give it to you with the repo and hopefully you'll be able to tell me where I'm going wrong.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
In BMP7777 csse shouldn't matter media caf is different as it works for us stand the rom his is compiling is using our av and Device folders (or supposed to). I'd have to agree with roger_n your source looks iffy.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I'm open to anything and I'm sure the CK team would be too. I believe it's a combination of the two. I'll be very interested to see what he says after building. ....be heading home soon
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Just to make sure your source is clear I'd rm it and resend make sure everything is being pulled correctly. Crappy advice from my part :/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Ok I used DU's qcom-common and even that gets stuck on the same error. I am beginning to think it doesn't like CM based kernel. Even though I copied my project folders over from CM, I made sure to do a proper repo init and synced and also got rid of the frameworks and hardware sources that were there originally and re-synced to make sure it was DU's. I wonder if the recent Camera changes has caused this which ironically is the reason why I am using the kernel in the first place. My local_manifest is also very basic with only the necessary projects for the device. I am going to do a test using DU's kernel, but CM's kernel and see if it works.

Edit: Using their kernel didn't help. At least I know that's not the problem. Thanks again everybody for your help. If I can't get it to work, no biggy, as I already learned alot and am having fun doing it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Ok when you say it didn't help what do you mean it didn't boot or you got compile errors, also are you using CM's or bryan2894 kernel?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
I was using his kernel as it is as close to stock CM 11 and even trying DU's kernel stopped at that same QOMX error. I can get it past the error and it will build if I swap DU's hardware/qcom source with CM's, but it doesn't boot. Also if I keep those same files and try a clean build, it gets stuck at the same error, so something is causing the error. I am near my cap for my internet for this month, so I may download the source from the beginning in a couple days to see if that will work. I thought if you copy your project files from a previous source over to the new .repo, that it will only download the files that are different and save on downloading time, but maybe it's causing an error here. Are you able to compile and boot DU from using CM's device and kernel msm8660? I am looking to be able to have fully working Camera on DU!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
ok you shouldn't get any QOMX errors because you are using DU's hardware/qcom source change it back from CM to DU's hardware/qcom. Have you ran the command "make clobber" recently if not do so and hopefully that will clear the QOMX error. I built using Byron's kernel source and all other project from DU and it hangs at the DU boot animation, I'm now building again with CM's kernel when that completes I'll post my results.

This is what I have in my local manifest:

project name="CyanogenMod/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="cm-11.0" />
<project name="android_device_samsung_skyrocket" path="device/samsung/skyrocket" remote="du" revision="du44" />
<project name="android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" remote="du" revision="du44" />
<project name="android_device_samsung_celox-common" path="device/samsung/celox-common" remote="du" revision="du44" />
<project name="proprietary_vendor_samsung" path="vendor/samsung" remote="du" revision="du44" />
<project name="android_hardware_samsung" path="hardware/samsung" remote="du" revision="du44" />
<project name="android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="du" revision="du44" />

---------- Post added at 10:33 PM ---------- Previous post was at 10:24 PM ----------

Are you going to provide a list of repos you used or a local manifest?

EDIT: I just noticed you PM'd the stuff to me it's getting late I'll look at it in the morning lol.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Sorry man, I sent you a PM at around 9EST. It doesn't show in my sent folder. Here you go:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="garwynn/proprietary_vendor_samsung_klte" path="vendor/samsung/klte" remote="github" revision="cm-11.0" />
<project name="VanirAOSP/device_samsung_klte" path="device/samsung/klte" remote="github" revision="kk44" />
<project name="garwynn/android_kernel_samsung_klte" path="kernel/samsung/klte" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="cm-11.0" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-11.0" />
</manifest>

CandyKat repo: https://github.com/CandyKat

S5 device repo: https://github.com/garwynn?tab=repositories

Sorry about that....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] a2441918:
lol this was d manifest I gave u

Sent from my SOKP powered Galaxy S 4 i9500.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Yep still working towards a build. Have you been able to get past all the recent errors?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] a2441918:
it depends on the rom. carbon nd mokee had no issues. whereas aospa has many issues. let me know ur errors. i might help u out if i know it.

Sent from my SOKP powered Galaxy S 4 i9500.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Just the same as I posted above; trying to build CandyKat for the S4(jflte) and S5(klte). Your manifest is obviously the S5 but I have a manifest for the 4 as well if you wanted it. I have included the QCMediaDefs.h in all the 'include' folders that looked right, but it hasen't helped.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] a2441918:
Dude double check whether all folders given in manifest are present. If u have errors kindly comment out that line and try again. I think commenting will surely fix the issue.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Ok so I did a make clobber and even removed all of the du folders and still no go:

"In file included from hardware/qcom/audio-caf/legacy/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:41:0:

hardware/qcom/audio-caf/legacy/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:52:34: fatal error: QOMX_AudioExtensions.h: No such file or directory

compilation terminated.

make: *** [/home/andrew/du/out/target/product/skyrocket/obj/SHARED_LIBRARIES/libOmxAacEnc_intermediates/src/omx_aac_aenc.o] Error 1

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

This is with copying most of your entries from your local_manifest and only keeping CM 11's kernel and device projects. I'll wait a couple days and try again.

To switch the topic, I noticed you have been maintaining some merges on Slim and I was wondering if you could help. [MENTION=4435460]NoSpamDan[/MENTION] have been trying to get GPS to work on SlimKat for the Skyrocket, but after numerous tries, nothing has worked. He mentions to me he has tried copying the hardware/qcom/gps folder and even comparing with files from CM 11, but still nothing. Do you know what is making GPS work on CM 11 and what could be a possible fix to make it work on Slim? If you need more info just contact him as he will have more info. Thanks for your help. Let me know if you have any roms that need testing.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
I'm fairly certain it has to be something missing in fwb or possibly libhardware/libhardware_legacy.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Took a break from hunting Slim for GPS stuff... getting frustrated.

I can build SlimKat just fine, and afaik just the GPS is broken...

With respect to GPS, I have ruled out these so far:

/bionic

/bootable

/cts

/developers

/development

/device

/external

/frameworks

/hardware

/vendor

So those include /frameworks/base and /hardware/libhardware_legacy...

I haven't made it through /libcore or /packages yet.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Libcore shouldn't handle much with that AFAIK. Still think it's fwb but like you I never found it lol.