yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Not sure if this was for me; if so, thanks. Found this already through Google and have set up the repo init and all. Synced up successfully. I think I need to change my local repo folder to "du" instead of "dirtyunicorns". I'll try that later, since that's about all I can come up with after repeated attempts.

I'm pretty new to the commit scene, but I would love to be able to contribute. Not sure how to do it as I have no experience really yet.

EDIT: There's some info on building KitKang here, although it's mostly geared toward building on the Mac OS...

EDIT2: Just tried renaming and resyncing, and same thing. I'm on LinuXMint 15, but I think [MENTION=4559825]wantowan2[/MENTION] has successfully built DU on this platform.

---------- Post added at 09:32 AM ---------- Previous post was at 09:09 AM ----------

I'm not sure what this means:

~/du > . build/envsetup.sh
[B][COLOR="Red"]bash: local: can only be used in a function[/COLOR][/B]
/home/nospamdan/du
including device/asus/tilapia/vendorsetup.sh
including device/asus/flo/vendorsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/asus/deb/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/samsung/exhilarate/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/samsung/t769/vendorsetup.sh
including device/samsung/skyrocket/vendorsetup.sh
including device/samsung/i605/vendorsetup.sh
including device/samsung/t0lte/vendorsetup.sh
including device/samsung/l900/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including sdk/bash_completion/adb.bash

And this is what I get with the lunch command:

~/du > lunch

You're building on Linux

Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_x86-eng
3. aosp_mips-eng
4. vbox_x86-eng
5. aosp_tilapia-userdebug
6. aosp_flo-userdebug
7. aosp_grouper-userdebug
8. aosp_deb-userdebug
9. aosp_hammerhead-userdebug
10. aosp_mako-userdebug
11. cm_exhilarate-eng
12. aosp_manta-userdebug
13. cm_t769-eng
14. du_skyrocket-userdebug
15. omni_i605-userdebug
16. omni_t0lte-userdebug
17. omni_l900-userdebug
18. mini_mips-userdebug
19. mini_x86-userdebug
20. mini_armv7a_neon-userdebug

Which would you like? [aosp_arm-eng] 14
gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.

gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.
gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.
gettop: command not found
gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.

:confused:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
You have to delete the old source and sync fresh
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Aaaaaah, I was afraid of that. Luckily, I have to go to a basketball tournament in a bit, so I can leave it to sync away.

Thanks much!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Derp. Deleted everything, re-synched, setup build environment, and lunch fails again:

gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.

gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.
gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.
gettop: command not found
gettop: command not found
Couldn't locate the top of the tree. Try setting TOP.

I've build SlimBean, SlimKat and CM 10/11 on this setup, so I know my local schnizzle is OK. For some reason, DU doesn't seem to like me.

Any other things I can try?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
Are you sure you have deleted the whole folder then made a new one and init with the manifest I gave you the link to and then synced the source I've built on the new ROM 50 times and never had that error
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Yes. It's definitely strange. I COMPLETELY deleted my local DU folder. In fact I'm doing it a second time right now, and it's currently syncing.

The repo link you posted takes you to the DU github main page, which is the info I found before to get me started, and where I got the idea that I needed to use ~/du instead of ~/dirtyunicorns. This is from their github:

repo init -u https://github.com/DirtyUnicorns-KitKat/manifest.git -b du44

Silly question, but should I repo init without the ".git" part on the line above? It's pulling and syncing fine it seems.

Last time I created the /du folder using the Dolphin file browser. Maybe there is something permissions-related going on with that, although I looked them over and they were set to drwxr-xr-x, just like if they were created using the konsole.

I was really hoping to test and/or provide some DU KK feedback for the Skyrocket if possible... I haven't given up, but this funky error has certainly tested that thought. ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
There is definitely something wrong with the way your build environment is being setup. On my system, when I run build/envsetup.sh and then run gettop it returns the repo directory, before running envsetup.sh it doesn't work, I get the same error, command not found. If you still get that error I would start looking there.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
I think it is something in the DU source. I can run envsetup.sh for SlimKat and just now for Beanstalk KK and I do get the top level path back from gettop. I've spoken to wantowan2 about DU and it's apparently an a big state of flux right now, so I'm passing on it for the time being. Time to choose my battles, lol.

Thanks all for taking a look at my posts and trying to help me out. :good:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] theesotericone:
Hey guys,

Everything was building fine and dandy then all the sudden I started hitting this error:

Copy: /home/matt/aokp/out/target/product/hammerhead/system/lib/hw/gps.msm8974.so
Install: /home/matt/aokp/out/target/product/hammerhead/system/lib/hw/gralloc.msm8974.so
target Strip: libskia (/home/matt/aokp/out/target/product/hammerhead/obj/lib/libskia.so)
target SharedLib: libcamera_client (/home/matt/aokp/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libcamera_client_intermediates/LINKED/libcamera_client.so)
Error: Can't read [proguard.ClassPathEntry@65bd0dd4] (unexpected EOF)
make: *** [/home/matt/aokp/out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....

real	182m47.644s
user	653m12.175s
sys	34m58.833s
matt@mattsdm4:~/aokp$

This is for AOKP for the N5 but I'm getting the same error trying to build Omni and DU. From reading it looks like it could be a bad DL but I've started fresh twice with AOKP now. It's a bit frustrating because it fails so far in to the build process. As always help will be appreciated.:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
Now I can build two roms that both come out without any storage at all, both external and internal. Roms are omnirom and vanir. Any thoughts?? Where can I even start to look for the issues? Any help would be great!

And a huge thanks to desalesouche! For helping me get omnirom to boot!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Smittiegee19:
Definitely looking forward to omni. Everyone talks about out like its sliced bread
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
Can you post the commits you used for omni we could use them in du which is omni based
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
I'll get my pc fired up and take a look at my build process. I built for i717 though, that still helps you guys?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
If it's a 8660 device it does help if not it will help get your device running on du I've made lots of commits for various devices since Omni's line up is pretty limited mainly to newer platforms

And if it is a 8660 device I would be able to help with the storage issue

I would look through Omni's device trees and look at the commits dealing with storage then try to implement them in your trees my device sees the external but not the internal

---------- Post added at 07:03 AM ---------- Previous post was at 06:58 AM ----------

I don't think it's our source my man I build with it every day qcom and non qcom devices I'll post a link to a kk tut just to make sure you have all the dependency's installed
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
My device does use the msm8660-common repository. If I remember correctly, it just builds, no errors. To get the rom to boot up I have to copy my hardware/qcom/display-caf from my working beanstalk tree to the omni tree. Otherwise it won't fully boot... You can see my github if that'll help for device tree??

https://github.com/patch-Adams/android_device_samsung_quincyatt/commits/omni44

I'm still very much a rookie here.....

I just use cm for the 8660 and other qcom stuff, TheMuppets vendor, and omnirom/hardware/samsung repo....

I've played with DU a little but can't get the build to start yet (no rule to make target or something)...more work to be done to be sure!!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
That's easy to fix you need to add it to the build du mk and in vendor du vendor setup sh pm me the commits you used and I'll pick them into our source see if we can get du running on your device and I'll bring up to my team about making you the maintainer for that device
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
I don't have any commits yet, it's all local. I'll work on it the next day or two and get with you then. Thanks.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
Local as in you picked them and just haven't pushed them to git hub if that's the case then just fork the repos and push your changes and I can pick them from there
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Yeah, nothing personal, and I really can't say for sure it's the DU source. I've built CM11 and Slim4.4 on the same setup without major problems (except the known video camera issues), so I don't understand why I get the failure messages. I'd certainly appreciate the KK tut. ;)

I used the manifest here: https://github.com/TD-Project/manifest

Not sure I had dependencies set up correctly, but the weird errors I posted about several days ago prevented even the first lunch steps:

If I feel up to it, I might nuke my local DU stuff entirely (for a third time) and try syncing again... but I'm not so sure I won't see the same errors (again).
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
Pm sent to ya....I had to use cm hardware/qcom/audio-caf and display-caf to complete the build but that was it. I just copied the folders over....

Edit:

This rom is smokin.....really smokin...using overclock PAC kernel....but still no storage??
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
Well if you synced the right source you wouldn't get that error I replied and told you that source is nearly forgotten the omni based source is here

DirtyUnicorns-KitKat@github.com

Sync that and you'll get further if you need anything let me know

---------- Post added at 09:34 PM ---------- Previous post was at 09:30 PM ----------

It's really awesome my device is having the storage issue as well so the trick is using the caf repos from our source I'll have to go on another picking expedition lol I'll pick the commits you listed and start getting this ready for qcom I've spent the last two weeks on xynos devices and CDMA commits haha
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] NoSpamDan:
Thanks. I guess I didn't understand what you meant...

Your above source for Omni wants to open as an email address? :confused:

How do I repo init that?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ThdDude:
https://github.com/DirtyUnicorns-KitKat/manifest
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Has anyone had any luck creating an AOSP rom for any device other than nexus? If you have can you give some pointers? Been giving it a try for a while but haven't had any luck. Thanks guys
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] judas1977:
@up

I gave up some time ago, but my device is forgotten by Lord:) however we have aosp 4.4 with no omx support

Wysłane z mojego GT-I8160 przy użyciu Tapatalka
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] judas1977:
Hello, I'm trying to use parted command in recovery mode using .zip package....

Script copies parted to temp location, gives permissions, then I wrote in updater-script (just to test if parted command is working that way):

run_program("/tmp/parted/parted", "-s /dev/block/mmcblk0 print");

It's supposed to show all partitions on internal memory, but instead recovery log shows that error:

minzip: Extracted file "/tmp/parted/parted"
about to run program [/tmp/parted/parted] with 2 args
/tmp/parted/parted: invalid option --
/tmp/parted/parted: invalid option -- /
/tmp/parted/parted: invalid option -- d
/tmp/parted/parted: invalid option -- e
/tmp/parted/parted: invalid option -- /
/tmp/parted/parted: invalid option -- b
/tmp/parted/parted: invalid option -- o
/tmp/parted/parted: invalid option -- c
/tmp/parted/parted: invalid option -- k
/tmp/parted/parted: invalid option -- /
/tmp/parted/parted: invalid option -- c
/tmp/parted/parted: invalid option -- b
/tmp/parted/parted: invalid option -- k
/tmp/parted/parted: invalid option -- 0
/tmp/parted/parted: invalid option --
/tmp/parted/parted: invalid option -- p
/tmp/parted/parted: invalid option -- r
/tmp/parted/parted: invalid option -- i
/tmp/parted/parted: invalid option -- n
/tmp/parted/parted: invalid option -- t
Usage: /tmp/parted/parted [-hlmsv] [DEVICE [COMMAND [PARAMETERS]]...]
run_program: child exited with status 1
script result was [1]

How can I use parted in a script/zip mode?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Each parameter that has a space needs to be quote delimited. In your case it should be:

run_program("/tmp/parted/parted", "-s","/dev/block/mmcblk0","print");

Here is a link that describes the Edify syntax.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] judas1977:
OK, thank you.

In meantime i tried to do it using bash script. Script was successfull but i don't know what it did, because it broke my phone's recovery;))
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
What exactly are you trying to do?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Hey guys, I found the fix for my issue of the vibrator not loading randomly.There was a commit made by Google here:

CTS: whitelist /dev/pts

to the 4.3 branch. This mildly broke the char dev driver as it would assign 1 as a minor to register and the misc char dev driver doesn't set 1 as used. This caused particularly the vibrator module to not load because it errors out with this message:

This was fixed here:

Avoid to create duplicate filename for misc devices.

I have implemented this into my forked kernel and it seems to work flawlessly. I have not had my vibrator mis-load even once since implementing it. I believe that this is something that might affect more than just my obscure canadian device and decided that I wanted to submit the patch to CM's gerrit. I read the tutorial and know what I have to do, but have one question, my working dir includes my forked msm8660-common CM kernel. Do I need to re-sync using the CM repo in order to upload to gerrit or can I do something like clone it? I have a directory setup under my home dir (~/local-git) that I use for managing my own repos and thought maybe I could just clone the original cm repo into my ~/local-git folder, but I think from what I read that I have to run repo upload from the root ie: ~/WORKINGDIR. So I think a clone is not possible, am I wrong?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
hi all. during cm11 build for my device , libstagefrighthw.so is not builded.

what can i do?

how to make it build?..

thank you
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
hi all i can see alot of activity here , P

may i ask help about thet error on video driver ?

W/Adreno200-EGLSUB( 121): <DequeueBuffer:420>: dequeue native buffer fail: Device or resource busy

E/BufferQueue( 121): [FramebufferSurface] dequeueBuffer: min undequeued buffer count (2) exceeded (dequeued=2 undequeudCount=1)

thank you.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
can somebody explain how to use linaro toolchain, set build as -O3 and where can i get it for darwin?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] soccerfan6789:
Page 10:

https://docs.google.com/file/d/0B0etHDZ0uDPhb2VvUkpMR21KTkk/preview?pli=1

Here's the thread:

http://xdaforums.com/showthread.php?t=2355078
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Nothing mentioned about -O3 flag and no link for toolchain for host OS darwin (OS X)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] soccerfan6789:
I don't think there is a linaro toolchain for Darwin.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
I ran across this a while ago, but didn't look into it as I'm using Linux.

https://mobile.twitter.com/trismer/status/244865735862669313

EDIT:

I decided to check it out, and sadly it's no longer up. It leads to a page not found :(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Ok and -O3 optimisation flag? it can be used also with google's toolchain, but i don't know where to set it
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
I think you set that in your BoardConfig. mk something like

TARGET_USES_O3 := true
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
You can also set it as a flag on the command line. Make -o3. But thanks titanic fanatic. I didn't know how to set it in the device tree.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Thanks, i will give it a try :good:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] thomas.raines:
To add, I also was working on this issue with the blaze, exhilarate and skyrocket. I went thru the various init.rc files in the rom and updated them. Removed twrp, added missing sepolicy blobs, and diffed all the hardware repos with that of 2 other AOSP based ROMs. I also edited system/vold and various other files when I diffed them against the other known working ROMs. Nothing has successfully worked.

I can tell you that there is an fs that mounts as sdcard0; however, it is picking up the /data partition; however, it is read only and it is empty.

Hopefully that little bit of added info helps...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
I have talked to [MENTION=4878501]ktempleton[/MENTION] on and off on this same thing. i717 is also having the same storage issues. KT said they may have fixed for skyrocket the storage. Hit him up or may be he'll see this post?? Soon, there should be a commit on du gerrit :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Just wanted to share the actual device tree insertion for -o3 is

TARGET_USE_03 := true

Hope this helps you guys that were wondering.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
see here :)

http://gerrit.dirtyunicorns.com/#/c/1057/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] thomas.raines:
Yeah I know... It was wantowan2 that pushed the changes...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
I saw that after. The three commits fixed storage for my i717 dirty unicorn build, for what it's worth...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
how to update it?

Hi all, i would like to upgrade that file : OpenGL ES 2.0 AU_LINUX_ANDROID_JB. 04.01.01.00.036 (CL2644550)

does someone know where i can find some update of it?

thank you...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Why would you?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
why not updating files? for better otpimisation? for better working devices?

now if there is any reason to not do that , please explain...

if you know where i can update please tell...

thank you
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
building fm app error

hi all.i am trying to build fm app included in rom. here is some errors i have.

may i ask for some help?

hardware/qcom/audio-caf/legacy/msm7x30/audio_hw_hal.cpp: In function 'int android_audio_legacy::adev_set_fm_volume(audio_hw_ device*, float)':

hardware/qcom/audio-caf/legacy/msm7x30/audio_hw_hal.cpp:445:25: error: 'struct android_audio_legacy::AudioHardwareInterface' has no member named 'setFmVolume'

hardware/qcom/audio-caf/legacy/msm7x30/audio_hw_hal.cpp: In function 'int android_audio_legacy::qcom_adev_open(const hw_module_t*, const char*, hw_device_t**)':

hardware/qcom/audio-caf/legacy/msm7x30/audio_hw_hal.cpp:705:19: error: 'struct audio_hw_device' has no member named 'set_fm_volume'

build/core/binary.mk:432: recipe for target '/home/desalesouche/cm11acteXI/out/target/product/u8860/obj/SHARED_LIBRARIES/audio.primary.msm7x30_intermediates/audio_hw_hal.o' failed

thank you
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
I believe there were some commits on cm's gerrit for the 7×30 platform a while back they might help
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] desalesouche:
i found this while browsing on xda...it seems to give some positive result on my device.

i tested with all files included in my rom and i tested just adding missing files in rom...

second solution seem to give better result than the first one...

but may be there is better alternative...?

http://xdaforums.com/showthread.php?t=2257193
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
after downloading android sdk and performing command "android" to open the sdk, are there any files I NEED to download to get this build going?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] gmillz:
When you repo sync after the first time of course it only updates so if you make changes to a file they won't get replaced unless thats what was updated
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
You need to get rid of files actually....sounds like you have the android repo, which you don't need. You need the CM repos.

Start with this page: http://source.android.com/source/initializing.html

when you reach the end of that page, STOP. Do not go to the next page on that site.

Then proceed to sk8er's thread on CM10 and follow the directions there to start building.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bdusmc:
OK, just so I'm clear... let's use the bootanimation.zip instance because it's simple...

If I make a custom bootanimation, stick it in my local source so it gets included in my final builds, and then somebody goes and changes the default CM bootanimation on the CM server, it will replace my local/custom file?

In short, changes in the master server override local versions of the files?

Is there any way to prevent that other than not doing a sync at all?

I think I have some more reading to do on versioning and maintaining my own set of files.... argh
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
my first instinct would be to mirror all your changes into a seperate director, mainting the directory structure. Then after each sync, you can just copy back over whatever gets replaced.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bdusmc:
Yeah, that's kind of what I'm doing, since I thought my files would get replaced evertime I synced... I have a separate folder structure with my "custom" files. I use a script to copy over my stuff after a sync and before the build begins.

I'm playing around with theming the source to try and get a better understanding of how everything is pieced together right now. Trying to fix issues like the camera is a bit too much for me to chew on right now... Maybe later.

Did you get all of your issues straightened out and are back to building? I'm thinking about taking a stab at Gingerbread. I almost prefer it in some ways, but I gotta say, Jellybean is a huge improvement over ICS.

...too bad it wasn't the same progression for Microsoft from XP through to Windows 7. LOL :rolleyes: