yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] czarsuperstar@gmail.com:
compiling on debian.

where do i get the dependecies files for the hd2? im getting this error.

including device/htc/leo/vendorsetup.sh

including device/ti/panda/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

including vendor/cm/vendorsetup.sh

Looking for dependencies

Dependencies file not found, bailing out.

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.0.4

TARGET_PRODUCT=cm_leo

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_BUILD_TYPE=release

BUILD_ID=IMM76L

============================================

rodneyetienne@czarsuperstar:~/android/system$

thanks.
[HD2 Android NAND Development] milaq:
well, that shouldn't pose a problem. as a matter of fact, our buildbot spits out this message every build.

but to clear this error up i pushed a simple depfile to the repo. after a sync and re-lunching the error /should/ be gone.

(https://github.com/cmhtcleo/android_device_htc_leo/commit/3a2de899f6b6dc5b18b464068827b6590d626008)

cheers
[HD2 Android NAND Development] milaq:
ehrm, it seems to me like you are trying to build for a generic device instead of leo.

and did you install all prerequisites?

http://wiki.cyanogenmod.com/wiki/Galaxy_Nexus_(GSM):_Compile_CyanogenMod_(Linux)
[HD2 Android NAND Development] czarsuperstar@gmail.com:
I had a problem setting up Java so I used the pre installed Java. I'm going to do it over again.
[HD2 Android NAND Development] Rick_1995:
You should use official packages from sun's website, They work pretty well on arch linux.
[HD2 Android NAND Development] french-anonymous:
"For MAGLDR users that means that you need to specify your boot partition as rboot."

Maybe I'm stupid but... how can I do that ?
[HD2 Android NAND Development] milaq:
you need to reflash the magldr partition layout.

use this http://milaq.exnet.me/downloads/android/leo/magldr_part_cm9.zip package to flash via DAF (like you did installing magldr the first time).
[HD2 Android NAND Development] Virage:
guys, I found that new updates nightly from goomanager can't run navitel like before...

do you have any solution?
[HD2 Android NAND Development] czarsuperstar@gmail.com:
compiling on debian

i found out the problem i never downloaded a kernel source. i downloaded cm-kernel and secret.
[HD2 Android NAND Development] czarsuperstar@gmail.com:
Thank you milaq. I finally got compiled. One problem. The video camera doesn't record unless I flash the hd2 hardware acceleration zip. What to do to fix this? Thank you for all your help. Also how do you build the kernel.?
[HD2 Android NAND Development] czarsuperstar@gmail.com:
compiling error

my build starts off good than it stops at this and i dont know what it is asking me to do.

target thumb C++: libsurfaceflinger <= frameworks/base/services/surfaceflinger/MessageQueue.cpp

target thumb C++: libsurfaceflinger <= frameworks/base/services/surfaceflinger/SurfaceFlinger.cpp

target thumb C++: libsurfaceflinger <= frameworks/base/services/surfaceflinger/SurfaceTextureLayer.cpp

target thumb C++: libsurfaceflinger <= frameworks/base/services/surfaceflinger/Transform.cpp

frameworks/base/services/surfaceflinger/SurfaceFlinger.cpp: In member function 'virtual bool android::SurfaceFlinger::threadLoop()':

frameworks/base/services/surfaceflinger/SurfaceFlinger.cpp:495: error: 'EVENT_FORCE_COMPOSITION' was not declared in this scope

target thumb C++: system_server <= frameworks/base/cmds/system_server/system_main.cpp

target thumb C++: libsystem_server <= frameworks/base/cmds/system_server/library/system_init.cpp

target thumb C++: libinput <= frameworks/base/services/input/EventHub.cpp

make: *** [out/target/product/leo/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlinger.o] Error 1

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

rodneyetienne@czarsuperstar:~/android/system$

the surfaceflinger.o is my problem.

i have trashed it and started off fresh and still get this error.help please.
[HD2 Android NAND Development] marc1706:
I have the same problem while compiling cm9. Do I maybe have to define that constant somewhere in order to get it to compile?
[HD2 Android NAND Development] czarsuperstar@gmail.com:
edit the surfaceflinger.cpp in the directory from the error look for the EVENT_FORCE_COMPOSITION LINE. I deleted the whole line but if you put a # in front of it it should work if not delete the whole line and it will compile fully. hope this helps you marc:D
[HD2 Android NAND Development] milaq:
yup, we are missing this:

https://github.com/cmhtcleo/android...mmit/00e6cb061608272bad5d849f97fe3666981cbe88

i've forked qcom_hardware to cmhtcleo, merged the change and updated the local_manifest.

you guys need to repull if you want your tree to use the new repository location.

see https://github.com/milaq/android/commit/83b0eaa1b01c01757f7fa949199c51586a3320b0

cheers
[HD2 Android NAND Development] ClementNg23:
Been getting hot reboots lately after that date. For now I'm just reverting to using 8thOCT build for stability.

Personally mine would get hot reboots every time I turn my screen off and logcat would flood with something like

" servicemanager service xxx died" or similar. Hope this helps.

And this includes today's build as well (29th)
[HD2 Android NAND Development] lamahgra:
same error.....

after activating sim.....hot reboot....
[HD2 Android NAND Development] c1cl0n:
Can't turn on device after sleep mode

Hardkeys lighting and stuck

Issue comes from 22th octouber rls

logcat here
[HD2 Android NAND Development] milaq:
thx for the info.

i am pretty busy atm with some other ports but i will have a look at it asap

cheers
[HD2 Android NAND Development] c1cl0n:
Thnks, but new update still have issue and device can't wake up from sleep =((
[HD2 Android NAND Development] c1cl0n:
Can anyone tell me - is this rom are supporting or not?
[HD2 Android NAND Development] french-anonymous:
Same here. This was my first attempt with this rom. Not convinced :D

Hope it will be fixed very soon !
[HD2 Android NAND Development] inbox5005:
konesho poddergivaetsa, obnovlenia ge vyhodyat postoyanno, cm-9-20121105-NIGHTLY-leo.zip legit po ssylke naverhu
[HD2 Android NAND Development] c1cl0n:
Hi inbox5005

Sure I'm understand and updates from goo.im

But the last 3 updates cm-9-20121022-NIGHTLY-leo.zip, cm-9-20121029-NIGHTLY-leo.zip and cm-9-20121105-NIGHTLY-leo.zip have bigger issue with wakeup from sleep mode (I'm figured here)

Today is Octouber 10th and no one fix of this issue from dev

I mean is this rom are supporting to fix last bugs
[HD2 Android NAND Development] inbox5005:
moy lichniy sovet, otkatis na cm-9-20121008-NIGHTLY-leo ona u menya pochti mesyac stoyala i pokazala sebya naibolee stabilnoy iz vseh mnoy protestirovannyh,

ya postavil vmesto nee PACman_leo_v1.1_div3 i to tolko iz interesa chto tam novogo v CM10
[HD2 Android NAND Development] Virage:
the last update made my HTC restart all the time and crashing . . . I wonder whether it caused by "ungaze data2SD"?
[HD2 Android NAND Development] Rick_1995:
the guru part is nothing wrong, Post complete logcat.
[HD2 Android NAND Development] c1cl0n:
Hi Rick_1995

Thanks for interest

:)

I'm attached full logcat and dmesg

P.S. Tryed 3x times to wakeup device after sleep mode without success

:(
[HD2 Android NAND Development] ric69:
I hope you can solve this, and I will read answers with many interest because now I have this problem with all roms I tried :silly: yesterday with last Tytung's GB, this night with last Tytung'sJB, on nand, on nativesd, task29, full wipe, it doesn't help... all nights my device freeze :rolleyes:
[HD2 Android NAND Development] Rick_1995:
Hmm, i think it is because of this,

Segfault is occuring in libsurfaceflinger because they are jumping to a NULL function (look at pc register).

I/DEBUG ( 98): r0 000476c0 r1 0000000a r2 00000001 r3 00000000
I/DEBUG ( 98): r4 0000f918 r5 0000fc78 r6 0000f938 r7 100ffeb4
I/DEBUG ( 98): r8 100ffeb0 r9 400e7fd1 10 00100000 fp 0000fc08
I/DEBUG ( 98): ip 400279bc sp 100ffe88 lr 4001a1b3 [B]pc 00000000[/B] cpsr 000d0010

And the trace to the NULL function:

I/DEBUG ( 98): #00 pc 00000000
I/DEBUG ( 98): #01 pc 0001a1b0 /system/lib/libsurfaceflinger.so (_ZN7android10HWComposer7performEii)
I/DEBUG ( 98): #02 pc 0001f6ac /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger10threadLoopEv)
I/DEBUG ( 98): #03 pc 00022a1e /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv)
I/DEBUG ( 98): #04 pc 00023064 /system/lib/libutils.so
I/DEBUG ( 98): #05 pc 00012e04 /system/lib/libc.so (__thread_entry)
I/DEBUG ( 98): #06 pc 00012934 /system/lib/libc.so (pthread_create)

I will revert this commit and it should be back to normal, Another thing to note is the date this change was made, 22nd october which matches the date you say from when the rom stopped working. Thanks for the logs.

It can only happen if all those roms are sharing the "android_hardware_qcom_display" repository with this rom, otherwise it's something fishy and could be hardware related. (I can't tell about other roms as I'm on gb currently).
[HD2 Android NAND Development] czarsuperstar@gmail.com:
I use the same source and i have not notice any freezing. Im compiling a build as im writing this and will let you know.
[HD2 Android NAND Development] havlaz:
where is the downdload link?
[HD2 Android NAND Development] czarsuperstar@gmail.com:
It is building now as we speak when it is done ill PM you and update my Thread CM9 DAOTHAGUY.
[HD2 Android NAND Development] havlaz:
i've flashed the latest nightly 05/11

and i crateted a ext partition, and installed from market s2e, but i cant move the apps to the partition
[HD2 Android NAND Development] czarsuperstar@gmail.com:
im building november 10th 2012 it is still building. my last build was last month. i have two one that is experimental with google now and one plain CM9 w securecrt kernel. but when it is done ill let you try it. im building on debian not that it makes a diff but just saying.
[HD2 Android NAND Development] avi1961:
Hello everyone

After installing Andrauid 06/02/32 titung jellybean on HD2

I have some problems appeared.

I do not have a ring when an incoming call has only vibration.

Fails to perform HR.

Has anyone encountered such a problem?

Thank you
[HD2 Android NAND Development] c1cl0n:
Update at Nov 12th again provide issue in sleep mode

:(
[HD2 Android NAND Development] Rick_1995:
The change has not been merged yet, I only have r/w permissions for kernel, So milaq or arif will have to review and merge it in.
[HD2 Android NAND Development] milaq:
thx mate, ill give you push rights to the remaining repos.

reg. flinger: problem is this (http://review.cyanogenmod.org/#/c/23624/) commit. without the declaration the build will fail. so we need to declare EVENT_FORCE_COMPOSITION but handle it with an empty event. that should work :) https://github.com/cmhtcleo/android...mmit/40a48f42b3be3d20d8ba485412dc3bb71c8524d8

i'll trigger a build right now, we'll see how it goes. the bot should take an hour or so. check back then and pls post your experiences with the latest build.

cheers
[HD2 Android NAND Development] ric69:
Hi, It seems I can't boot the last one with Magldr (kernel open fails) ... but as always, perhaps I'm doing something wrong ^^

Thanks you Rick for your post below :)
[HD2 Android NAND Development] Rick_1995:
Hint: search for 'rboot' on first page
[HD2 Android NAND Development] ric69:
Thanks Rick, next time I'll read more ^^

For now, it booted, but it seems there is a hot reboot each time I wake up my phone. But it's not sure because I tried to removed some ppp files from zip and I probably destroyed rom by myself :laugh: I'll DL again tomorrow :good:
[HD2 Android NAND Development] tytung:
You may need to revert this commit (http://review.cyanogenmod.org/#/c/23624/) to avoid hot reboots.
[HD2 Android NAND Development] Rick_1995:
I think we should instead fall back to android_frameworks_base from Evervolv.
[HD2 Android NAND Development] milaq:
well, evervolv is helping us a lot (e.g. the externals) but their frameworks_base is completely NOT en par with upstream. this would lead to more problems than it would solve.

instead, we should identify the upstream commit breaking the hwc. these could be the culprit (if i missed one pls post them):

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

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

we need to revert those commits, build manually and distribute those builds for testing.

if i have some time ill build some of them

edit: switched to gerrit commits
[HD2 Android NAND Development] c1cl0n:
Hi milaq

Thanks for all your works & posts of this issue :good:

Can you provide simple method for target users of CM9 NIGHTLY ? - how we can fix it for dayly use or is it impossible?
[HD2 Android NAND Development] milaq:
heres a build with this change (http://review.cyanogenmod.org/#/c/20679/) reverted.

http://goo.im/devs/cmhtcleo/testing/cm-9-TESTING-leo-Ib2c04a1b.zip

please review and post your findings, thanks
[HD2 Android NAND Development] c1cl0n:
Sorry, issue not fixed

:(
[HD2 Android NAND Development] Rick_1995:
I think you should've reverted this one as tytung mentioned, the problem is in surfaceflinger.
[HD2 Android NAND Development] milaq:
yeah, tytung quoted my explanation in his reply referring to the same commit i mentioned earlier (http://xdaforums.com/showpost.php?p=34006945&postcount=754).

i know that this couldve been the culprit and correct me if im wrong but didnt we fix that yet?! https://github.com/cmhtcleo/android...mmit/40a48f42b3be3d20d8ba485412dc3bb71c8524d8

maybe theres some other thing going wonky on us

EDIT: getHwComposer() should return the hwc object while the call on it with hwc.perform() does in fact nothing, it just breaks the switchcase (see line 965ff)
[HD2 Android NAND Development] Rick_1995:
All i can think of is that hwc object is NULL, which causes the jump to zero mapped page.
[HD2 Android NAND Development] milaq:
hmm could be it, ill fully revert and build tonight
[HD2 Android NAND Development] _Freezer_:
i do partition with daf and after flashed rom + gapps light.

but, when i put off the screen, phone reboots !!

how can i solve this issue ?
[HD2 Android NAND Development] Anurag pandey:
Maybe u should read some posts above you
[HD2 Android NAND Development] _Freezer_:
i don't find :( ,

can you help me ?
[HD2 Android NAND Development] c1cl0n:
Devs working on it, need to wait some time

P.S. I'm too waiting this fix and checking this thread every 2 hours

:fingers-crossed:
[HD2 Android NAND Development] _Freezer_:
them, is rom problem. I thought that was my incorrect installation...

waiting the fix :)
[HD2 Android NAND Development] alex91powe:
hi devs, i have hot-reboot problem when the screen is taked off and i try to wake the device..any solutions?
[HD2 Android NAND Development] Anurag pandey:
The devs are working to fix that.please check the thread often to know when it will be fixed
[HD2 Android NAND Development] c1cl0n:
Confim it

:(
[HD2 Android NAND Development] _Freezer_:
hot reboot is fixed with cm-9-20121119-NIGHTLY-leo.zip ??
[HD2 Android NAND Development] c1cl0n:
No man, device coming to dead sleep mode and reboot after 5-10 minutes

:(
[HD2 Android NAND Development] c1cl0n:
Is this rom dead ?
[HD2 Android NAND Development] lamahgra:
it seems so... :crying::crying::crying:

dev is working on other ports....

maybe on a cm10 port for leo :fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[HD2 Android NAND Development] lan78691:
did it also fix the headphones?
[HD2 Android NAND Development] sunrisetigra:
yes it also fix the headfones:cool:
[HD2 Android NAND Development] Bexton:
Hey, just stumbled upon your posts and unless i get those feedbacks within my thread, i don't know about such an issues; thus can not find a fix. So please report such a bugs to the authors too. ;)

Anyway clyder is right about the a2sd. I noticed this bug yesterday for the first time when texasice release a new boot image (for N1 Port) with init.d support. Thus yesterday i used the app the first time with dt's a2sd. and since then i'm having the same sync problem. Without it is working properly.

I'm gonna try to fix that and will let you know when there's progress on that topic. Also, you can follow updates (or report any other issues) here: http://xdaforums.com/showthread.php?t=1389375

Thanks and kind regards,

Bexton

Edit: Just saw that you, clyder, posted a fix for this issue in your linked thread. Do you know of any issues that occur when using that fix? If not, i would release the next version as flashable zip to ensure the vold file is setup as said.
[HD2 Android NAND Development] StephanV:
Glad to see this works for me, couldnt get tytung's build to work. Great job arif!

Anyone got a clue on how to enable soft keys? Tried flashing tytungs framework with softkeys, but all that got me was a bootloop.
[HD2 Android NAND Development] daedric:
PErhaps out of topic, or mistaken, but on the DHD they got USB Mass Storage working.

WHat they did, i cannot say for sure. When i connect a usb cable, i get the exact same screen i would on a GB rom, same icon, everything.

This might be the same hack, but i wonder, how does the UMS really work ? Is it just mounting the SD card via usb (basically what the hack does) or does it do something else, like re-scan the sd-card upon disconnect etc etc ?
[HD2 Android NAND Development] hcnimda:
I recompliled the framework-res for my own to get the soft keys!

Here my framework.zip - works for me!!
[HD2 Android NAND Development] Bexton:
The Android Gadget Framework changed in kernel-3.0 and there are new sysfs entries (see system/vold/VolumeManager.cpp) which are not compatible with older kernel versions.

Unless they ported a proper 3.0 kernel (what i know they didn't) or backported the ICS vold changes (what i cannot imagine), they are using a "hack".
[HD2 Android NAND Development] hcnimda:
Calendar sync

after flash this ROM and install gapps the calendar wont sync. Any ideas?

I tried already:

- installed new gapps - no success

- wipe cache/dalvik - no success

- wipe data for calendar app - no success

this is the only issue i have right now. big thx to the devs!!
[HD2 Android NAND Development] uzi2:
Calendar works fine here using tytung's ICS kernel

I am a regular user of AD2SDX modified to move everything to EXT4 and this script would not work with the original kernel, but works fine with tytung, so it looks like a number of issues will be resolved with updates to ICS kernel.

Is Warren at work on this?
[HD2 Android NAND Development] StephanV:
Thanks a lot mate! Seems to work pretty good, although I've had a couple of SystemUI crashes. Not sure if that's due to your framework, haven't tried it long enough without suftbuttons to tell for sure.
[HD2 Android NAND Development] ph03n!x:
Am just installing this, but a few quick observations-

1. There is no ppp file in /system in the cLK package - will that not affect data?

2. The gapps package has a a"Google" suffix to the file name of a bunch of apks (CalendarGoogle.apk, BrowserGoogle.apk...), which means if the gapps is flashed on top of the ROM, we will have duplicates? I don't know about possible clashes, but that will take up much space (or am I missing something?).

Am including the gapps, and made some minor changes to the ROM and installing it, lets see how that goes :)
[HD2 Android NAND Development] arif-ali:
1. ppp is all integrated within the init.htcleo.rc. check github for more details; especially that ppp is better now with magldr, it's all integrated

2. I know where you are coming from here, you want something similar to cm7 gapps, not there yet. I'm hoping for something like that soon, its hogging the system partition.

I will create a patch for softbuttons later if people want. But I presume soon there will be options to enable it through settings. If not, I will submit a patch for it. Similar to the tablet tweaks for cm7

The kernel in fact is an older tytung at the moment. I am waiting for tytung to release the source, when I will fully include it

I have it working here with no problems. Check to make sure that you infact you haven't filled your system partition
[HD2 Android NAND Development] ph03n!x:
Thanks Arif. My missing ppp file doubt came about because 01modules still does "if [ -f /system/ppp ]" to decide if to load msm_rmnet.ko...

Here are some quick observations:

1. BT is working for calls! The last time I tried ICS was Tytung's AOSP, and I remember losing sound with BT Calls, however BT A2DP worked. In this build, BT calls work, but PowerAMP freezes, resulting in hot reboot, when I try A2DP - haven't tried with the built-in Music Player yet though

2. Launcher FC's - this applies for Trebuchet as well as stock Launcher from tytung's AOSP build, though the AOSP launcher FC's lesser than Trebuchet

3. Could be isolated - Gallery did not load all of my Picasa/ g+ albums, loaded 2 of them

4. Lockscreen - I tried locking pattern as well as regular lockscreen, neither worked. The phone does not get locked at all

5. Contact images, though show up for the People, does not show up in the Favorites

6. The Home button does not work, and I didn't find a way to bring up the 'running applications' list

7. App download from Market shows the "installing..." notification and animation even after the app is installed - I had to swipe it out

8. Tried playing a 720p video in Moboplayer as well as built-in player, it was jerky in both. With SW Decoding in Moboplayer, it was smooth but had a very low FPS. However, YouTube videos play fine so am guessing this is to do with the 720p part

9. The Calendar Widget did not show my events, though the Calendar itself show them all

Voice calls, SIP calls through CSipCimple, all of my apps, WiFi, 2G/ 3G/ HSDPA, GPS - all work.
[HD2 Android NAND Development] hcnimda:
I had this issue after install the gapps. e.g email crashes!! Before everything works very well!!

So what I did to have NO crashes:

flash update-cm9-leo-clk-xxxxxx.zip and boot

reboot into recovery

flash framework.zip and boot

then flash gapps if you want

(replace the framework-res in the cm9-leo-clk-20111216.zip was not successfully, cause I got bootloops.)

---------- Post added at 08:17 AM ---------- Previous post was at 08:11 AM ----------

I figured out now....it s the Calendar app from the gapps....seems it s not working for me. Tried three times
[HD2 Android NAND Development] arif-ali:
Thanks for testing, there sems a few issues with 4.0.3 compilation
[HD2 Android NAND Development] bobjbain:
Downloaded and installed magldr version and this is all I am getting

I/Netd ( 759): Netd 1.0 starting
E/Netd ( 759): Unable to bind netlink socket: No such file or directory
E/Netd ( 759): Unable to open quota2 logging socket
I/Netd ( 783): Netd 1.0 starting
E/Netd ( 783): Unable to bind netlink socket: No such file or directory
E/Netd ( 783): Unable to open quota2 logging socket
I/Netd ( 804): Netd 1.0 starting
E/Netd ( 804): Unable to bind netlink socket: No such file or directory
E/Netd ( 804): Unable to open quota2 logging socket
I/Netd ( 827): Netd 1.0 starting
E/Netd ( 827): Unable to bind netlink socket: No such file or directory
E/Netd ( 827): Unable to open quota2 logging socket

Ad infinitum.

Mind you my system is only 200m, I'll increase to 220 and see if I get the same errors.

Edit : Same with 220m system
[HD2 Android NAND Development] redjama:
I couldn't even get it to boot