yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] superg81:
anyone seen this yet?

Fetching projects: 100% (266/266), done.

Syncing work tree: 64% (171/266) error: Your local changes to the following files would be overwritten by checkout:

libgralloc/pmemalloc.cpp

Please, commit your changes or stash them before you can switch branches.

Aborting

Syncing work tree: 100% (266/266), done.

error: hardware/qcom/display/: OpenSensation/android_hardware_qcom_display checkout 2353abda3748460357deda52562fb31d4955b0b4

i deleted both files listed in op
[HTC Sensation] jase81:
i keep getting this error (s) can any one help please ?

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/pyramid/cm.mk]]: "device/*/pyramid/cm.mk" does not exist. Stop.
Device pyramid not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for pyramid not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/pyramid/cm.mk]]: "device/*/pyramid/cm.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_pyramid'
** Do you have the right repo manifest?

thanks guys
[HTC Sensation] blahbl4hblah:
Try to delete the display folder in hardware/qcom
[HTC Sensation] blahbl4hblah:
Did you make a local_manifest.xml? There might be another reason but since it's looking for that file its most likely the cause
[HTC Sensation] jase81:
yes its in android/system/.repo , this is the only problem upto now tho lol
[HTC Sensation] superg81:
ive got this now

Fetching projects: 98% (261/266) fatal: https://github.com/OpenSensation/android_vendor_qcom_opensource_omx_mm-core/info/refs not found: did you run git update-server-info on the server?

fatal: https://github.com/OpenSensation/android_vendor_qcom_opensource_omx_mm-video/info/refs not found: did you run git update-server-info on the server?

fatal: https://github.com/OpenSensation/android_hardware_qcom_display/info/refs not found: did you run git update-server-info on the server?

fatal: https://github.com/OpenSensation/android_vendor_htc_pyramid/info/refs not found: did you run git update-server-info on the server?

fatal: https://github.com/OpenSensation/android_vendor_qcom_opensource_omx_mm-core/info/refs not found: did you run git update-server-info on the server?

fatal: https://github.com/OpenSensation/android_frameworks_base/info/refs not found: did you run git update-server-info on the server?

fatal: https://github.com/OpenSensation/android_vendor_qcom_opensource_omx_mm-video/info/refs not found: did you run git update-server-info on the server?

error: Cannot fetch OpenSensation/android_hardware_qcom_display

error: Cannot fetch OpenSensation/android_vendor_qcom_opensource_omx_mm-core

error: Cannot fetch OpenSensation/android_vendor_htc_pyramid

error: Cannot fetch OpenSensation/android_frameworks_base

error: Cannot fetch OpenSensation/android_vendor_qcom_opensource_omx_mm-video

error: Exited sync due to fetch errors
[HTC Sensation] Bastaerd:
Looks like something is wrong in your local_manifest.xml
[HTC Sensation] superg81:
I tend to agree,but its a copy/paste from op. I do not know what to change to fix.
[HTC Sensation] Vorbeth:
I made a massive error and re-based all of OpenSensation

You can find a new (working) local manifest here: https://raw.github.com/OpenSensation/local_manifest/ics/local_manifest.xml

I've still got to add vendor files back yet.
[HTC Sensation] superg81:
Do you mind letting me know when everything is added and I will grab all at once?
[HTC Sensation] sparksco:
I wouldn't call a "initial commit" a massive error. I'd call it stealing others commits and wiping them out so that no one can tell who made the changes. You clearly did it on purpose.
[HTC Sensation] blahbl4hblah:
For the display flickering it seems to be a compatibility issues with 3.30 files 3.25 does not have this issue.

What was the massive issue though?
[HTC Sensation] rawdealer:
I don't have any flickering....and I'm running 3.25 on 3.32 fw :) it's really smooth :)

Sent with a cold beer in my hand :)
[HTC Sensation] blahbl4hblah:
Thanks for your input but others have reported the issue and I have as well. Vorbeths last build has the issue the build I made last night or so has no issue with it
[HTC Sensation] Vorbeth:
I'm not sure if it's building OMX from source that is causing the issue.

Anyhow blahbl4hblah

https://github.com/OpenSensation is now in a stable state.

You can find a local_manifest here: https://github.com/OpenSensation/local_manifest/blob/ics/local_manifest.xml

Or if you choose you can use the repo here: https://github.com/OpenSensation/android
[HTC Sensation] superg81:
i created a new directory and used your source listed along with local manifest..got this

Traceback (most recent call last):

File "/home/joey/pyramid/.repo/repo/main.py", line 366, in <module>

_Main(sys.argv[1:])

File "/home/joey/pyramid/.repo/repo/main.py", line 346, in _Main

result = repo._Run(argv) or 0

File "/home/joey/pyramid/.repo/repo/main.py", line 121, in _Run

copts, cargs = cmd.OptionParser.parse_args(argv)

File "/home/joey/pyramid/.repo/repo/command.py", line 42, in OptionParser

self._Options(self._optparse)

File "/home/joey/pyramid/.repo/repo/subcmds/sync.py", line 120, in _Options

self.jobs = self.manifest.default.sync_j

File "/home/joey/pyramid/.repo/repo/manifest_xml.py", line 215, in default

self._Load()

File "/home/joey/pyramid/.repo/repo/manifest_xml.py", line 262, in _Load

self._ParseManifest(False)

File "/home/joey/pyramid/.repo/repo/manifest_xml.py", line 342, in _ParseManifest

(project.name, self.manifestFile))

error.ManifestParseError: duplicate project OpenSensation/android_device_htc_pyramid in /home/joey/pyramid/.repo/local_manifest.xml
[HTC Sensation] sparksco:
You don't need local_manifest.xml anymore
[HTC Sensation] superg81:
thanks,ive never built without so i added as i was moving along setting everything up :cool:
[HTC Sensation] TamCore:
Got this error:

make: *** No rule to make target `out/target/product/pyramid/obj/lib/libril.so', needed by `out/target/product/pyramid/obj/EXECUTABLES/rild_intermediates/LINKED/rild'. Stop.
make: *** Waiting for unfinished jobs....
target thumb C: rild <= hardware/ril/rild/rild.c

And find out that the android_vendor_htc_pyramid repo is missing in android/default.xml.
[HTC Sensation] sparksco:
That's strange I thought Vorbeth said he added everything to default.xml
[HTC Sensation] superg81:
same error here :confused:
[HTC Sensation] mpmilestogo:
I added the missing repo manually to my manifest file at the end. It is missing from the default.XML file though.
[HTC Sensation] blahbl4hblah:
Did you add the fix that I included to one file in the OP. Did you copy and paste one command that's related to ln?
[HTC Sensation] blahbl4hblah:
Did you use opensensation android for repo init or CyanogenMod?
[HTC Sensation] superg81:
no i didnt,i did not see fix related to this

i also used opensensation android for repo init
[HTC Sensation] Vorbeth:
All error's should be fixed now, thanks TamCore

Can I ask that if you use the guide, can you please take the time to fix a few thing's :)
[HTC Sensation] superg81:
i will go back and use the guide,do i use local manifest in guide or the one you previously posted?
[HTC Sensation] Vorbeth:
Would be easier to use

repo init -u git://github.com/OpenSensation/android.git -b ics

instead of the line in the guide and ignore the local_manifest parts altogether.
[HTC Sensation] superg81:
gotcha :cool:
[HTC Sensation] TamCore:
I've ported this guide into the german language and made it compatible with ArchLinux :) It's available here.
[HTC Sensation] TamCore:
libz.so.1 is missing. Install the package zlib1g (and maybe lib64z1 if you're on 64-bit) and try again.
[HTC Sensation] jase81:
thanks for reply dude , got it sorted for now lol

half an hour of it doing its thing and this pops up

target thumb C++: libcamera_client <= frameworks/base/libs/camera/ICameraRecordingProxyListener.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/ISensorEventConnection.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/ISensorServer.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/ISurfaceTexture.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/Sensor.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/SensorChannel.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/SensorEventQueue.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/SensorManager.cpp
target thumb C++: libgui <= frameworks/base/libs/gui/SurfaceTexture.cpp
frameworks/base/libs/gui/SurfaceTexture.cpp: In member function 'android::status_t android::SurfaceTexture::updateTexImage(bool)':
frameworks/base/libs/gui/SurfaceTexture.cpp:861: error: 'isGPUSupportedFormatInHW' was not declared in this scope
make: *** [out/target/product/pyramid/obj/SHARED_LIBRARIES/libgui_intermediates/SurfaceTexture.o] Error 1
[HTC Sensation] superg81:
I had a successful build but a report of a non-boot. Anyone else?
[HTC Sensation] blahbl4hblah:
Did you by any chance make some changes to framework base?
[HTC Sensation] Vorbeth:
repo sync again
[HTC Sensation] superg81:
Will do, what changed?
[HTC Sensation] Vorbeth:
Camera libs, they were causing a segfault.
[HTC Sensation] superg81:
Thank you. Compiling now
[HTC Sensation] blahbl4hblah:
Btw you don't need to do make clobber anymore. It saves time in a compiling.

Fresh build takes about 3 hours for me on my laptop while rebuilding without make clobber is about an hour

On another note, you only need to do make clobber if you are noticing that some already merged commits aren't showing in your build
[HTC Sensation] sparksco:
Have you tried building aokp yet?
[HTC Sensation] blahbl4hblah:
Not yet
[HTC Sensation] sparksco:
repo init -u https:///pbeeler/AOKP_manifest.git -b master; repo sync;

This one is funtional for syncing the main AOKP one is not. You'll need to add in the device for building but it's not that hard.
[HTC Sensation] superg81:
My clobber builds only take 20-30 minutes. Have you set up ccache?It will drop that 3 hour clobber to 90 minutes and a non clobber to about 45
[HTC Sensation] blahbl4hblah:
Not really lol.I'm just waiting for my desktop to come back to me so I can go all out on it xD
[HTC Sensation] superg81:
Do it man! Lol. 3 commands and done
[HTC Sensation] blahbl4hblah:
I don't remember the commands lol
[HTC Sensation] superg81:
http:// http://source.android.com/source/initializing.html

Scroll down to set up ccache. CD to your directory and run those.the default works fine
[HTC Sensation] tangyiyong:
Thanks a lot!
[HTC Sensation] 56k_Rockstar:
After reading a bit is saw the mka command. Isn't it usefull to use it instead of make -j #

Source: from blah post#4 http://synrgi.wordpress.com/2011/09/16/breakfast-brunch-and-lunch/
[HTC Sensation] blahbl4hblah:
Yes it is actually lol

I have a test tomorrow so I'll fix that tomorrow
[HTC Sensation] a2296455:
CM is finally reaching out to developers –– is there any way we can get ICS to be officially supported by CM for the Sensation?

Where is the official thread for CM9?

All we have to do is get in touch with this guy:

http://www.cyanogenmod.com/blog/developer-relations
[HTC Sensation] banesi:
after executing mka bacon and finishing compiling, I can't seem to find flashable *.zip package. should I do mka otapackage after or so?

EDIT: Everything is fine, sorry for confusion.

ODVERSION: 9.0.0-RC0-pyramid-KANG

Zipping package...

Signing package...

Cleaning up...

Package complete: /home/htc/android/system/out/target/product/pyramid/update-cm-9.0.0-RC0-pyramid-KANG-signed.zip

bb97aec619bdb829c5f0e19d921ce3e1 update-cm-9.0.0-RC0-pyramid-KANG-signed.zip
[HTC Sensation] superg81:
this works well, your speed based on system is automatic

. build/envsetup.sh && brunch (device)
[HTC Sensation] jase81:
Nope have not touched owt
[HTC Sensation] TamCore:
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyCompatClient::setFmVolume(float, int)':
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:147: error: 'struct audio_policy_service_ops' has no member named 'set_fm_volume'
make: *** [out/target/product/pyramid/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyCompatClient.o] Error 1

Anyone else getting this error?
[HTC Sensation] Vorbeth:
repo sync again, I forgot to update the hardware_legacy repo to intervigilium's
[HTC Sensation] TamCore:
Compiling still fails with the same error. Also removing .repo/projects/hardware/libhardware_legacy.git hardware/libhardware_legacy and redownloading them with `repo sync` didn't helped.

philipp@thinkpad ~/android/system $ rm -rf .repo/projects/hardware/libhardware_legacy.git/ hardware/libhardware_legacy/
philipp@thinkpad ~/android/system $ repo sync
Fetching projects: 68% (170/249) remote: Counting objects: 1105, done.
remote: Compressing objects: 100% (468/468), done.
remote: Total 1105 (delta 612), reused 1011 (delta 534)
Receiving objects: 100% (1105/1105), 270.39 KiB | 525 KiB/s, done.
Resolving deltas: 100% (612/612), done.
Fetching projects: 71% (177/249) From git://github.com/intervigilium/android_hardware_libhardware_legacy
* [new branch] eclair -> github/eclair
* [new branch] froyo -> github/froyo
* [new branch] froyo-stable -> github/froyo-stable
* [new branch] gb-release-7.2 -> github/gb-release-7.2
* [new branch] gingerbread -> github/gingerbread
* [new branch] gingerbread-release -> github/gingerbread-release
* [new branch] ics -> github/ics
* [new branch] ics-test -> github/ics-test
* [new tag] cm-7.0.0 -> cm-7.0.0
* [new tag] cm-7.0.1 -> cm-7.0.1
* [new tag] cm-7.0.2.1 -> cm-7.0.2.1
* [new tag] cm-7.0.3 -> cm-7.0.3
* [new tag] cm-7.1.0 -> cm-7.1.0
Fetching projects: 100% (249/249), done.
Syncing work tree: 100% (249/249), done.

philipp@thinkpad ~/android/system $ sh build.sh
[...]
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyCompatClient::setFmVolume(float, int)':
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:147: error: 'struct audio_policy_service_ops' has no member named 'set_fm_volume'
make: *** [out/target/product/pyramid/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyCompatClient.o] Error 1
make: *** Waiting for unfinished jobs....
[HTC Sensation] sparksco:
It's looking for fm radio support...do you have the fm radio app source repo? You can check in packages/apps. If not that maybe be why. You'll also need a overlay for it in the device source tree.
[HTC Sensation] Vorbeth:
You might need to do a make clobber / make clean

Using the new repo FM is removed
[HTC Sensation] sparksco:
It's pretty obvious you don't have the correct java version :rolleyes:

Did you read the OP?
[HTC Sensation] Vorbeth:
Start again!
[HTC Sensation] eggyenergy:
Thanks reinstalling java haha
[HTC Sensation] superg81:
i dont know whether to post compiling issues here or in vorbeth's thread since im using his source but here is todays issue

hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyCompatClient::setFmVolume(float, int)':

hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:147: error: 'struct audio_policy_service_ops' has no member named 'set_fm_volume'

make: *** [out/target/product/pyramid/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyCompatClient.o] Error 1

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

joey@joey-Satellite-P775:~/pyramid$

input is always appreciated. this was a fresh sync and clobber
[HTC Sensation] TamCore:
Read the previous page :) http://xdaforums.com/showthread.php?t=1505006&page=50
[HTC Sensation] Bastaerd:
I have the same problem. Checking if I can fix it myself.
[HTC Sensation] superg81:
i did. unless im mistaken it suggests a clobber and fresh repo sync will set it going again. atleast thats how i took it :)
[HTC Sensation] blahbl4hblah:
There's a repo that was left out and it's preventing the build to finish.
[HTC Sensation] Vorbeth:
Delete hardware/libhardware_legacy then repo sync again.

The fix is online now, I missed revision="ics-test" from the repo
[HTC Sensation] superg81:
i guess the question now is when will it be put back. :D
[HTC Sensation] blahbl4hblah:
If your using opensensation android repo then it should be good to go as long as you look at the post above yours
[HTC Sensation] superg81:
hmmm,i didnt see his post when i hit reply :eek: anyway,deleted and trying again. thanks ;)
[HTC Sensation] Bastaerd:
Thanks for your answer, just compiled a build :)
[HTC Sensation] Vorbeth:
blahbl4hblah

Here's a new untested local_manifest.xml for you to try : http://pastebin.com/tCRE3asK
[HTC Sensation] blahbl4hblah:
Alright, I'll let you know how it goes
[HTC Sensation] banesi:
so we stil use repo init -u git://github.com/OpenSensation/android.git -b ics with local manifest?
[HTC Sensation] a2296455:
Do we even have maintainer's here is CM9 coming to the sensation?
[HTC Sensation] Vorbeth:
No, that was for a test to use with the guide.

if your using OpenSensations repo you don't need the local manifest.

---------- Post added at 10:51 AM ---------- Previous post was at 10:50 AM ----------

Not here, but it is coming.
[HTC Sensation] sparksco:
So when are you guys going to get a working repo source lol? I can easily add the device sources in my AOKP manifest when you do but I won't do it unless you post a working repo sources.
[HTC Sensation] eggyenergy:
Is the guide still useable the way it is? Then i give the repo sync snother tdy the first thing in the morning haha, +1 on building the guide btw(:
[HTC Sensation] AntiBillOS:
Hi folks!

You say Cyanogen have test repo?
[HTC Sensation] sparksco:
Yes your in it lol.
[HTC Sensation] eggyenergy:
This just isnt working for me:(
[HTC Sensation] sparksco:
Yeah good luck...I honestly don't even know why this guide is here anymore when it doesn't even work.
[HTC Sensation] blahbl4hblah:
Yeah it works. If anything I just need to remove the local_manifest.xml file and change the repo init to point to opensensation android repo
[HTC Sensation] sparksco:
Why do you keep saying it works when it doesn't work for anyone else?
[HTC Sensation] yozpalang:
Why won't you make one that works? I'm not being sarcastic, I'm asking
[HTC Sensation] AntiBillOS:
You try to build AOSP with CM9 configs?

As i can see on ICS4BLADE do this)

P.S. I try build CM9 for Samsung GT-S5570 Galaxy Mini

Arm v6 800mgz

Ram 280mb

Resolution 320x240

but it werry hard because my device...
[HTC Sensation] sparksco:
Well the thing is I'm not compiling cm9 I'm compiling AOKP so this guide doesn't really relate to that. The OP still says to use CM's repo manifest which doesn't work because of the http links in default.xml. Besides that no one has compiled a successfull build using this guide in a long time using Vorbeth's repo sources besides Vorbeth himself. So why would I put together a broken repo manifest? As I said in a previous post, if some people get some successfull builds using this guide I'll consider adding in the device to my AOKP manifest and posting a new guide. But until then it's not really worth my time to do so.
[HTC Sensation] TamCore:
@sparksco: Why you don't just grab the necessary repos from Vorbeth's default.xml? Where's your problem?

philipp@thinkpad ~ $ grep -E '(OpenSensation|intervigilium)' android/system/.repo/manifest.xml
<project path="device/htc/pyramid" name="OpenSensation/android_device_htc_pyramid" />
<project path="frameworks/base" name="intervigilium/android_frameworks_base" revision="ics-omx" />
<project path="hardware/libhardware" name="intervigilium/android_hardware_libhardware" revision="ics-chocolate" />
<project path="hardware/libhardware_legacy" name="intervigilium/android_hardware_libhardware_legacy" revision="ics-test" />
<project path="hardware/msm7k" name="intervigilium/android_hardware_msm7k" revision="ics-test" />
<project path="hardware/qcom/display" name="intervigilium/android_hardware_qcom_display" revision="ics-chocolate" />
<project path="hardware/qcom/media" name="intervigilium/android_hardware_qcom_media" revision="ics-test" />
<project path="vendor/qcom/opensource/omx/mm-core" name="OpenSensation/android_vendor_qcom_opensource_omx_mm-core" />
<project path="vendor/qcom/opensource/omx/mm-video" name="OpenSensation/android_vendor_qcom_opensource_omx_mm-video" />
<project path="vendor/htc/pyramid" name="OpenSensation/android_vendor_htc_pyramid" />
[HTC Sensation] sparksco:
@TamCore This guide doesn't use Vorbeth's repo manifest.

. Has anyone tried to build from Vorbeth's yet? Last time there was missing libs lol.
[HTC Sensation] TamCore:
Yes, I did it ~16 hours ago and it was good :D
[HTC Sensation] blahbl4hblah:
Thanks for reporting in

I've updated the guide so it works perfectly with OpenSensation repo

For everyone who had an issue:

cd ~/android/system/
repo init -u git://github.com/OpenSensation/android.git -b ics
[HTC Sensation] superg81:
I've compiled several
[HTC Sensation] yozpalang:
Syncing repo ........done

Building CM ..........done

Btw sensation is 29 now
[HTC Sensation] yozpalang:
Ok, I can confirm that it works :D

you can get my build here if you want

@blahbl4hblah let me know if you want me to remove the link!
[HTC Sensation] yozpalang:
So the difference between "make bacon" and "make -j# bacon" is that "make -j# bacon" pushes your machine to its limits right?
[HTC Sensation] AntiBillOS:
Can you build one from configs please?
[HTC Sensation] yozpalang:
I would if I could I don't even know what you mean by "build one from CONFIGS"?

I must say that I'm no dev I just followed the op
[HTC Sensation] Vorbeth:
You only need to pass -j with make bacon, if you don't want it to use all your CPU cores by default.

ie, you have a quad core CPU you could pass -j2 to only use 2 CPU cores.
[HTC Sensation] edgg51:
I'm gonna try this over the weekend
[HTC Sensation] sparksco:
Really I've done -j4 on a dual core and it works great :p BTW -j is not for the number of cores you have it's how many jobs or threads you want it to run at the same time. If you have a quad core you can run -j6 just fine and it'll speed up compiling a lot.
[HTC Sensation] yozpalang:
First build on i5 8gb ram time 43 min ( desktop )

second build on centrino 2 8gb ram 170 min and still going (laptop):eek: first and last time that I'm using this machine
[HTC Sensation] AntiBillOS:
@yozpalang

Sorry bu what about build? Can you try this?
[HTC Sensation] AntiBillOS:
Just info

People hu buy Galaxy Mini usualy not buy good PC and...

The right forum for me is GalaxyICS but i think its command not build his sources for mini
[HTC Sensation] broncogr:
Stay on topic.

This is the sensation dev forum.
[HTC Sensation] blahbl4hblah:
Thank you, not sure why he went off topic. If he wants some help he can simply PM me but hasn't yet
[HTC Sensation] superg81:
when cherry picking from gerrit, what commits are best to look for to help with testing on pyramid?
[HTC Sensation] blahbl4hblah:
Which Gerrit link do you want to merge?
[HTC Sensation] superg81:
nothing yet,i just want to know what to look for for things directed at pyramid
[HTC Sensation] blahbl4hblah:
I think most would be towards hardware repos and 8660 related things but it's hard to say since there's no pyramid in for cm as of yet there most likely won't be any gerrit for it for now