yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
I did that. So, it will not remove that functionality? If you see I edited the post with the error after I make the change you suggested
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
That will remove torch. I think slim is going the aosp way and think they're using lightbulb instead. Check the packages to be built in packages/apps to see if there is a package for lightbulb.

I'm not sure about your next error though. I'll be running a slim build myself later today and will let you know if I run into the same build error.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
instead deleting you can add to frameworks/base/core/res/res/values/config.xml.

it will keep the feature and build.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
OK thanks. Any ideas about other error?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Probably missing something in hardware_qcom_media

Shouldn't we've never needed that overlay and have torch shortcut just fine. Cm just does it different
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Yeah, they must have put it into their vendor folder in a config overlay or something because I just checked their repo and it has torch. So it must be building because my builds have torch and I too had commented out this line in the overlay to build ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
Strange because the dependencies for slim require a qcom media audio and video and cm does not. I am a little lost there. Prbassplayer, nice to see you around :) you are missed
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Here's one that maybe someone smarter can answer. I have an aokp build and have re-enabled the usb mass storage settings, but that only mounts the primary sdcard. I have it all working if I write the vold path into the /sys/devices/.../.../lun_ex/file. I added a bit if code to write this file using FileUtils.stringToFile from the android.os.FileUtils package just after the other card is mounted and this works perfectly in both cm and carbon, but in aokp, it gives me a permissions error. I'm calling the function from inside the SystemUI.apk and have gone overboard and set permissions to 777 on the lun_ex/file, but still I get a permission denied error in aokp. The sepolicies are the same. Any ideas?

---------- Post added at 11:14 AM ---------- Previous post was at 11:11 AM ----------

In cm, those repos are included in .repo/default.xml

In slim, the -caf repos are not and you need to bring them in ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
As mentioned caf repository are included in manifest, slim needs it as a dependency. If I remember correctly msm8660 uses display and audio caf, media is regular media repo, but we don't have all the things cm has in it, so like I said probably missing something. But to be sure you should check the board comfig files to see what repo are caf or not.

I'd compare Android manifest xml for systemui to verify any perm differences.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
Hmmm. I guess I will look around for a media repo. This is my 2nd time building android from source and first time building slim. Could I just change some file somewhere to point to cm's media repo and have things work like that or do I have to manually compare and add?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Just add:

To your local_manifest.xml file, and then re-sync ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
Did that work for your build?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Don't think that will work, you will need to modify the platform manifest. But I'm only guessing our room services dislikes same repo in 2 places.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
Is it possible to use cm's media repo instead of slims?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Modify the main manifest. But why don't you look for what's missing and push to our Gerrit for review. Good learning experience and I'd be willing to bet it's just a single commit that's missing. :p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
If I edit the platform manifest won't those changes get clobbered when I do repo sync? Yea if this works I will do a pull to merge the changes. Seems like your guys media repo is 3 commits behind

---------- Post added at 09:04 PM ---------- Previous post was at 08:04 PM ----------

frameworks/av/services/audioflinger/Tracks.cpp:87:88: error: 'audio_is_compress_voip_format' was not declared in this scope

make: *** [/home/user/Public/out/target/product/hercules/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/Tracks.o] Error 1

this is even with CM's media repo :(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
in front of line 87 , add: //

and rebuild.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
Thanks for trying to help. However that would comment out an if statement which has an else and endfi. Don't think that is the best approach.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
If you need to remove something from the main manifest to replace it with another thing. Use

<remove-project name="blahblah" />

<project name="replacement/blahblah" path="whatever" remote="cm" revision="cm-11.0" />

And so on and so forth.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Posting again here. CM gerrit has some useful stuff for android_device_msm_8660-common .. Has a few things for camera. Not a complete fix but better than it is atm. No pause when starting the recording... 1080 is still borked.. but the commit says WIP. Work in progress. Sharing with you guys that we are not forgotten. :D Hope this makes your night!

http://review.cyanogenmod.org/#/c/55132/ <-- Link

Also last updated April 10th, 2014.. [MENTION=3877985]prbassplayer[/MENTION] .. Just saying it may not ever be done, but it is still being worked on..
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Thats been there since last year I believe, I wouldn't put to much faith in it every be completed.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
Not completely forgotten yet :p A friend of mine upgraded to a Galaxy S5 and is letting me play with his old Skyrocket, so I plan on having a bit of fun with this device. Already upgraded the amount of available RAM by 66MB:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Any ideas on this error I'm getting trying to build SlimKat? I'd like to fix it properly, instead of commenting things out, but I can't really figure out what it's complaining about. Something about size_t not initialized with 'const' type...?

target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Threads.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/Tracks.cpp
target thumb C++: libcameraservice <= frameworks/av/services/camera/libcameraservice/gui/RingBufferConsumer.cpp
frameworks/av/services/audioflinger/Tracks.cpp: In constructor 'android::AudioFlinger::ThreadBase::TrackBase::TrackBase(android::AudioFlinger::ThreadBase*, const android::sp<android::AudioFlinger::Client>&, uint32_t, audio_format_t, audio_channel_mask_t, size_t, uint32_t, const android::sp<android::IMemory>&, int, int, bool)':
frameworks/av/services/audioflinger/Tracks.cpp:62:1: error: uninitialized member 'android::AudioFlinger::ThreadBase::TrackBase::mFrameSize' with 'const' type 'const size_t {aka const unsigned int}' [-fpermissive]
make: *** [/home/nospamdan/slim44/out/target/product/skyrocket/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/Tracks.o] Error 1
make: *** Waiting for unfinished jobs....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
If it fixes the 5-second delay, I am surprised those changes haven't been merged. I know they want to get it all fixed at the same time, but if it is abandoned, that is one problem that could be fixed on all roms. There is a temp fix for the 1080p, as using an older version of Camera from CM 10.1 or using the package flashed here: http://d-h.st/qnq, fixes it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
We're supposed to be getting a kernel upgrade so that we can switch to media-caf and that was at least initially why they were waiting. It's been so long though that it feels abandoned, not sure if they're going to move forward with that or not :( check out the "next" branch of the kernel to see what Steve was working on.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
This fixed the 5-second delay on the Sensation: https://github.com/sultanxda/sultan...mmit/2c44f2e1b727a5222721602412f1aff9e81ac0e1

Or you could just backport newer vidc drivers and it'll also be fixed.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
I did indeed make a build with those changes and the "next" kernel. To get a good build you'll have to edit the camera 2 app.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jahrule:
How did you get past the errors that I was facing when building slimkat? I have my build posted on the slimkat thread. Whatever, you did to get past the build errors I was having (you mentioned you did not comment it out) would most likely be the culprit. More info helps.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
I'll get this!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Hehehe, I did actually comment a few lines out, but the majority I got stuck at had this:

which I changed to:

I probably broke something else by doing this, but I think I saw that in another file and figured I'd give it a try...

No successful build just yet, though. Now it's stuck here:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Those flags are usually set in the Android.mk files. I suggest that you diff the one from cm with the one your working with, those defines may be missing ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
Instead of changing each of those ifdefs, you can add this to your device tree (BoardConfigCommon.mk):

COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
That's defined already in msm8660-common so no clue why it's problematic o_o
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Thanks, yes the line is present already in /device/samsung/msm8660-common/BoardConfigCommon.mk at line 47 (for SlimKat, anyway).

I see there are 4 total files named BoardConfigCommon.mk in my SlimKat source, though:

/device/samsung/msm8660-common/BoardConfigCommon.mk (has the line)

/device/samsung/qcom-common/BoardConfigCommon.mk (doesn't have the line or an include statement for #1)

/device/samsung/celox-common/BoardConfigCommon.mk (doesn't have the line, but HAS an include statement for #1)

/hardware/qcom/msm8x74/BoardConfigCommon.mk (don't think this applies)

Not sure if #2 (qcom-common) is important or not... kinda confused about this.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
I just looked through the first page and on the Slimroms platform_manifest page, they mention to use qcom when you have CodeAurora trees, so just by knowing our device is part of the msm8660 repo, use this repo on terminal: "repo init -u git://github.com/SlimRoms/platform_manifest.git -b kk4.4". Also not sure if you saw, but if you sync with CM 11, you can use that .repo file and delete the local_manifest of Slimkat. I know these instructions on the main page are mainly for the old Slimkat, but see if the repo I gave you works for Slimkat. Since I don't know how far you are in building Slimkat, please give me some leeway as I am going in blind, but I made sure to read before I posted this. I currently only have a laptop with 256GB SSD, so I can't dual boot with Ubuntu and have enough space to build.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
No wrong repo init, need to use kk4.4-caf branch
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
I was using that repo init command, and I got pretty far, but hit a major wall. I'm trying pr's suggestion now. Thanks both of you.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] R1kki:
hey, :)

we have compile more unofficial ROM for our device. but have little problem.

Can you help us?

ROMs have one BIG BUG, we have bad micro sensitivity. (all roms, who based in CM - have this problem)

people, who called me, ask me to speak louder. my words "eating" or so quiet.

i have GitHub our developer. https://github.com/desalesouche

but, i want to say one interesting thing.

we have 2 kernel: the first, compiled by [MENTION=4479868]desalesouche[/MENTION] - have bad micro.

and the second, PORTED with our stock firmware - and HAVE bad micro too.

but on stock firmware, we have great mirco and dont have this problem.

i think, problem in HAL or in device tree.

mb someone know, how to fix it.

sorry, my English very bad. with best regards, Nikita
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Try enabling/disabling second mic (overlay in rom) might help.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Need a hand here... Trying to build SlimKat for the Skyrocket and I need to use the "next" kernel version. When I lunch and choose slim_skyrocket-userdebug, my slim_manifest.xml gets reset to use revision="CM11.0" instead of revision="next".

Clearly I'm missing something here, and was wondering if I should keep the revision="CM11.0" and add maybe branch="next" or something like that?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Find slim.dependencies and change branch to "next" on the lines for the kernel. If you want to use a custom kernel empty the file of everything but [ ] and save it. Then it will use only the roomservice.XML to pull in the wanted changes. The .dependencies is what tells the lunch menu to pull in different files that are needed to compile correctly. It pulls in what the device "depends" on.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Why use next kernel? If memory serves it was actually behind cm-11.0
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
It's needed by all the newer stuff. Part of the camera "fixes/updates".

Edit: plus it's good to know in case anyone wants to use a custom kernel or whatever.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
f2fs ported to 3.0 kernel

hi all i manage to implement f2fs feature to my 3.0.101 kernel thanks to that github:

https://github.com/nowcomputing/f2fs-backports

following exactly the procedure...

hope it will help others dev...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Question about dd command

Hey guys, I'm building a standalone kernel for my device and am creating an aroma installer to handle backup/restore of the existing kernel and modules. My question is about using the dd command in a shell script. I would like to use the following for backing up the boot partition:

and then for restore:

# dd if=/system/lib/modules/backup/boot.img of=/dev/block/mmcblk0p8 bs=4096

My research on google has a lot of people saying not to use this command because it can brick the phone. With what I've presented above, does anyone see any reason this would be dangerous? Is there another way to restore a boot.img from a shell script other than dd?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
EDIT:

I see in Philz recovery he uses a shell script to do a raw backup and he uses the cat command instead. Not sure if there is a reason for that, but it's an alternative I'm going to use.

Backup:

Restore:

With this I will backup the existing boot.img to be restored later.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SoCalHTCFuze:
I'm having to rebuild my Ubuntu box with new hardware rather than the VM it has been on, using 12.04. Maybe this has been covered before, maybe not, but a search and a skim of 560 posts didn't find it on XDA.

First post in Environment Setup:

The second set of commands on step #2 is throwing the following

The following packages have unmet dependencies:
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.7)

Recommends: libgl1-mesa-dri:i386 (>= 7.2)
E: Unable to correct problems, you have held broken packages.

sudo apt-get update didn't bring me up, is this a backward ver dependency? what are you all doing to correct this?

For now I've just manually run

sudo apt-get install libgl1-mesa-dri

Also, installing the REPO in step #5 is a broken URL

$ curl http://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

I instead installed from here. Maybe someone can update that for the next person.

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
The setup in the op is outdated.

http://xdaforums.com/showthread.php?t=2464683

Here's an updated setup procedure for those interested.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SoCalHTCFuze:
Thank you much.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SoCalHTCFuze:
Those instructions worked well, I was able to revert my open JDK back to Oracle, other libs, etc, and had a few CM11 builds complete last night. I seem to have all the appropriate files in ~/cm11/out/target/product/skyrocket with the exception of the flashable zip. I'm wondering if my mix of the two setups is causing this or my bad case of CRS is making me forget something in the process. This is what happens when you don't do this for such a long time... thoughts?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
What command did you use to build?

Edit: might try mka otapackage and see if it makes a zip for you.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SoCalHTCFuze:
I tried breakfast and brunch using -userdebug, also went with the straight make bacon, also mka and none of them produce a flashable zip, just the directories and relevant .img files. Rather than futz around, I've already blown out my Ubuntu again and started the fresh process from that thread to start new, easy enough, and takes out the overlap. I'll see if that changes anything and check back.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SoCalHTCFuze:
I upped to Ubuntu 14.04, followed that tutorial for env setup and all seemed good. However, I again ended up without the flashable zip regardless or how I built CM. I'm going to give AOKP a spin and see if its different.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Try echoing all error output to a log file to see if there is something failing without crashing the build

mka bacon -j4 2> log.txt

Then you can search through the file to see what happened ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SoCalHTCFuze:
After spending much time tracing my steps, I finally came up with a zipalign error. "undefined reference to `android::VectorImpl::reservedVectorImpl1()'". I must have missed something somewhere. Ideas?

Full error below and exit:

host Executable: zipalign (/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign)
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x28): undefined reference to `android::VectorImpl::reservedVectorImpl1()'
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x2c): undefined reference to `android::VectorImpl::reservedVectorImpl2()'
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x30): undefined reference to `android::VectorImpl::reservedVectorImpl3()'
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x34): undefined reference to `android::VectorImpl::reservedVectorImpl4()'
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x38): undefined reference to `android::VectorImpl::reservedVectorImpl5()'
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x3c): undefined reference to `android::VectorImpl::reservedVectorImpl6()'
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x40): undefined reference to `android::VectorImpl::reservedVectorImpl7()'
/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/ZipAlign.o:(.data.rel.ro._ZTVN7android6VectorIPNS_8ZipEntryEEE[vtable for android::Vector<android::ZipEntry*>]+0x44): undefined reference to `android::VectorImpl::reservedVectorImpl8()'
collect2: ld returned 1 exit status
make: *** [/home/mike/cm11/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign] Error 1
make: *** Waiting for unfinished jobs....

Edit:

Running 'make clean', 'repo sync -j4' and 'mka bacon -j4 2> log.txt' again to see if it was a fluke...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
It looks like your missing a flag in the BoardConfigCommon.mk found at device/samsung/msm8660-common. Look in this file for a line similar to the following:

Notice the -DNEEDS_VECTORIMPL_SYMBOLS. I think that's the flag you might be missing. Make sure it exists, if not you'll have to add it then clobber and build fresh to pick up the changes made to the BoardConfigCommon.mk
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SoCalHTCFuze:
This worked. I got a successful build with the flashable zip! It's always frustrating when something goes wrong with the sync or maybe just some artifact left behind. I think the Clean (aka clobber) was the key. Will flash tonight and then I'm sure I will have more questions.

Thanks for keeping me motivated to track down the issue! I reinstalled Ubuntu several times to start clean on 12.04 before moving to 14.04 and finally having success.

EDIT:

Flashed perfectly on my Skyrocket! I'd like to look into these Bluetooth/audio errors next... then maybe ASOP KitKat!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Movm:
Good evening :

First: if my question is wrong here, please don't blame me, I don't know it better.

I'm on miui 4.1 unofficial right now and I want to change the kernel to a pimped one with more then the 'official governors' .

I have two options:

First: adding governors to an existing boot.img. the problem is, when I want to extract it ( I have tried up to 5 kernel unpacker tools ) it just shows me the ramdisk and zimage (or sth like that ) and some additional files but not the needed driver folder.

2. I think I have a better working from a CM for same device and also for 4.1 but when I change it (I first changed just boot.img and in second try boot.img and modules ) but I'm stuck at boot logo.

Please help

Ps: I'm not lazy ;)

Send from the death star

---------- Post added at 06:18 PM ---------- Previous post was at 06:17 PM ----------

Edit: the device is HUAWEI honour (u8860), it's miui 5 unofficial 4.3 jb

Send from the death star