yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Doktaphex:
Where do I need to look for this error? Sorry if that's a dumb question, I mean is that during compile, or during boot attempt?
[Desire HD Android Development] Shelnutt2:
During/after boot. Anytime a sound is to be played you'll see that in the logcat.
[Desire HD Android Development] twistedumbrella:
It will be in logcat
[Desire HD Android Development] Doktaphex:
Well if I could even get it to boot that would be a start. :D

EDIT: Off to Uni now for Java lecture.

@twistedumbrella: Any startling new progress? or still stuck with 'sh' error at splash screen?
[Desire HD Android Development] LorD ClockaN:
I've spent A LOT of time Inc ics sdk and nexus dump, so I decided this time to wait for you guys to sort this out... No time to make new kernel versions for dhd, incredible, saga...

Sent from my Desire HD with BlackIce ROM
[Desire HD Android Development] vicedens2002:
No, mine passed the splash screen and showed the android animations. But in logcat it shows "waiting for device" :(
[Desire HD Android Development] tmdegler:
I think this is why you guys are having audio and ts problems.http://www.youtube.com/user/EyesFreeAndroid
[Desire HD Android Development] Shelnutt2:
Here is the fix for the audio issue:

http://review.cyanogenmod.com/#patch,sidebyside,10303,1,libaudio-qsd8k/AudioHardware.cpp
[Desire HD Android Development] twistedumbrella:
So what did you do differently? You keep saying "mine is different" but I can't find the post where you say how. Maybe I just missed that part.

Did you submit that patch (is it the one I merged), or should I revert and try that one instead?
[Desire HD Android Development] wbbigdave:
I have unpacked that x10 Kernel.sin if you want the ramdisk and kernel headers etc?
[Desire HD Android Development] vicedens2002:
Yup missed :P

you replied
[Desire HD Android Development] Shelnutt2:
Revert and try that one. It includes my namespace fixes but also fixes the mono and stereo issue which you'd of had once you got it fully booting.

Or you can just change the couple lines around AudioStreamOutMSM72xx* out;. Thats the difference from my patch.
[Desire HD Android Development] twistedumbrella:
Oh, well in that case it isn't really the same as more of the source being fixed to allow it to get further. It is more accurately less of the source being used. That is a step back when you think about it.
[Desire HD Android Development] LorD ClockaN:
I need the source
[Desire HD Android Development] twistedumbrella:
I was just looking at that. Figured I would ask since I am at a stand-still waiting for the ace test to finish building or error out. Currently its closer to finishing.
[Desire HD Android Development] twistedumbrella:
irc.freenode.com

#building_ics_source

webchat.freenode.net
[Desire HD Android Development] wbbigdave:
Poop, Yeh i dunno much aboot all that im afraid, im just a linux dude with some unpacking skills :P I am looking at the unpacked files for any hints etc, will report anything I find of interest. You guys have any clues what I should be hunting down.
[Desire HD Android Development] twistedumbrella:
I will have the irc up with a permanent channel soon, just waiting for some people to leave so I can recreate it. I made it and got disconnected so it went rogue the first time.

Waiting on 1 people....
[Desire HD Android Development] twistedumbrella:
Well there was one user that either didn't get or decided to ignore the title, the public message, and the private message.

New room is #building_ics_source
[Desire HD Android Development] Doktaphex:
I'll see you there later on.
[Desire HD Android Development] :
who was that user? wasnt me by any chance? I was there for a couple of secs, tried joining new one but cant get in
[Desire HD Android Development] dotsoa:
Might want to set the channel mode to -m twistedumberlla. Unless you wanted it to be +m :p
[Desire HD Android Development] Sebianoti:
How's the progress? i'm mainly waiting for CM9 but this could do while they work on it. How long until its roughly done?
[Desire HD Android Development] dictionary:
3 years ... :| lol. Just let them work! As soon as they have something they will post. We are all anxious haha
[Desire HD Android Development] twistedumbrella:
I am trying but it is being a tool from androirc. Keeps going invite only lol.
[Desire HD Android Development] babijoee:
don't ask for eta. these guys are working on it. a build will be released once its ready.
[Desire HD Android Development] M..N:
Hmm you on your phone? Try yaaic maybe?
[Desire HD Android Development] wbbigdave:
Sorry my bad...

explained in chan my problem...

In other news nothing is jumping out at me re: touch screen from that x10 kernel...
[Desire HD Android Development] twistedumbrella:
No worries, it happens. It was better to switch anyway to take a chance to register and such. Should have thought of that the first time.
[Desire HD Android Development] killersloth:
irc = +iFail (must be invited ;)) ?
[Desire HD Android Development] :
news on touchscreen, I have managed to map the home and other touch thingy to the panel on bottom, but not the back button, I'm taking my time on this as im helping other on other things lol
[Desire HD Android Development] twistedumbrella:
I just fixed the flags. Stupid bot had me blocked out.
[Desire HD Android Development] wildchild048:
Can somebody tell me what other phone uses the same ts as we do?I have an idea.
[Desire HD Android Development] twistedumbrella:
Pretty sure the dinc or dinc2
[Desire HD Android Development] rida007:
We need ics i like ur work some help from i can donate mouaaah
[Desire HD Android Development] wildchild048:
Thanks Im going to see if i can get ts working without pointer.
[Desire HD Android Development] M..N:
Can't send to channel again :p
[Desire HD Android Development] Shelnutt2:
You're gonna need the makefile update too, http://review.cyanogenmod.com/#patch,sidebyside,10303,1,libaudio-qsd8k/Android.mk . Forgot about that in my own built too:o
[Desire HD Android Development] JoKeR_FaCe:
I search a complete compilte build with running touchscreen (not touchscreen as pointer) fore some tests! can someone have one for me?
[Desire HD Android Development] Moh_Jay:
...

My life is cool...
[Desire HD Android Development] MedLine:
how did you end up fixing the otapackage build error?
[Desire HD Android Development] vicedens2002:
Change the releasetools folder with Cynogenmod ones.....

I didn't report back ? fail me :/
[Desire HD Android Development] twistedumbrella:
You do know that is for qsd8, right? I put it in 5v2 before I realized it was the wrong patch.
[Desire HD Android Development] inertiax3:
Stuck at ...

hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:45: error: 'AudioHardware' has not been declared
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:45: error: ISO C++ forbids declaration of 'AudioHardware' with no type
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp: In function 'int android::AudioHardware()':
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:46: error: only constructors take base initializers
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:48: error: 'mInit' was not declared in this scope
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:49: error: no return statement in function returning non-void
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp: At global scope:
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:51: error: expected constructor, destructor, or type conversion before '::' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:57: error: 'AudioHardware' is not a class or namespace
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp: In function 'android::status_t android::initCheck()':
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:59: error: 'mInit' was not declared in this scope
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp: At global scope:
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:62: error: expected constructor, destructor, or type conversion before '*' token
hardware/msm7k/libaudio-qdsp5v2/AudioHardware.cpp:341: error: expected '}' at end of input
make: *** [out/target/product/ace/obj/SHARED_LIBRARIES/audio.primary.qsd8k_intermediates/AudioHardware.o] Error 1

anyone has a fixed /libaudio-qdsp5v2/AudioHardware.cpp file please? Thanx in advance ;)
[Desire HD Android Development] twistedumbrella:
The one I had was based on the qsd8, and it turns out it only seemed to work because I had it checking for ace, when I use mecha so it was the same as not building it at all. I am testing a new alteration, and I will post if it works.
[Desire HD Android Development] Shelnutt2:
Yeah you just need to port the patch. I'll push an update 5v2 version to your github. We had to port this to generic for the heroc.

Bah! Cause you pulled me earlier patches, now apparently github things I've forked cm's repo not yours. So I can send a pull request. So here is the links with the ported audio patches.

https://github.com/Shelnutt2/android_hardware_msm7k/tree/ics/libaudio-qdsp5v2
[Desire HD Android Development] twistedumbrella:
Sorry, I dumped it to because it was giving me a hard time about the sync with a different audio test. I will sort it out in a minute. I haven't been all there today. Think I'm getting my annual cold.
[Desire HD Android Development] kmalinich:
There's 4.0.1 running on the Desire HD with MIUI from GalnetMIUI ... does that help? Maybe compile ICS from that source, minus the MIUI tweaks?
[Desire HD Android Development] Krendelrus:
it's not a real ICS, forget about it (btw, MIUI is not open source)
[Desire HD Android Development] Brau0303:
If that is the same version as in the Infuse forum, then it only has the 4.x.x framework components not a full ICS based rom.

Cheers

BR
[Desire HD Android Development] kmalinich:
Damn, I knew it was too good to be true. Learn something every day.
[Desire HD Android Development] vicedens2002:
you get that and what happens next ? bootloop ?
[Desire HD Android Development] twistedumbrella:
No, just sits there
[Desire HD Android Development] vicedens2002:
I think the memory management is not working well. Can you upload the build ? I will have a look at it...
[Desire HD Android Development] twistedumbrella:
http://db.tt/G5zHLRVK

Hmm, let me try something...
[Desire HD Android Development] vicedens2002:
What have you skipped ?
[Desire HD Android Development] twistedumbrella:
Nothing, but I found out audio got attacked by my autocorrect. I ran again after fixing it and I am reenabling webrtc since I am arm7
[Desire HD Android Development] zFr3eak:
i just can say i got one build pass the sh log. it is caused of missing bin files. i addes a few from the dump one and i got threw it. then i ran into audio problems :(
[Desire HD Android Development] randomblame:
Got it compiled for muh novel trying to merge in armv6-vfp fixes but until then I've got webrtc disabled and I'm compiling for armv5. Anyhow I can't figure out why the graphics are flickering its driving me mad. Any thoughts? What changed between honeycomb and ics that would cause this crap. I'm so tired.
[Desire HD Android Development] Shelnutt2:
Here is the simple fix for webrtc. The problem is gcc related and not related to armv5/6/7. Just trick gcc by saying your compiling for armv7 in the file.
[Desire HD Android Development] zFr3eak:
the build i had already began with dalvik links but after about 15 seconds i got a audiomanager/policy fail...
[Desire HD Android Development] twistedumbrella:
For the record, the sh errors seemed closely related to the updater script from gingerbread. I had this idea that not all the files were being properly linked and "permissioned" and by doing "make otapackage" the sh errors stopped. I can safely say this is most likely true.
[Desire HD Android Development] twistedumbrella:
Should I still be using this fix even if I am compiling for v7? Just making sure because I dropped the other fix that was noted to be a v5/v6 error.
[Desire HD Android Development] vicedens2002:
Hmm.... So all files are assumed to be fine, only the installer is bad ? :P

Have you seen other ICS source builds, they seem to have the updater scripts same like that of their Gingerbread ones ? I have a slow internet connection here in university otherwise I could have downloaded and looked at it...
[Desire HD Android Development] twistedumbrella:
I never said all the files were fine, because there still are other errors.

If you look at the solutions to the sh errors that include things like "adding bin files from sdk builds" it will make more sense why I said its the updater script. My initial step was to remove all the links and then have the files created during install. I had posted earlier, and possibly in another thread, that using the current updater-scripts, some of these files would not be recreated. I was dismissed with the typical "sure, whatever you want to do"

With the fact that I did not add or change anything from the otapackage version, and it gets past the sh error just fine, I think it is a bit convincing that it is the missing toolbox links that cause it. Options I have seen to fix the sh error are either to remove linking and use the premade symlinks or add in the missing symlink definitions based on the premade links being dropped.
[Desire HD Android Development] Doktaphex:
I have to concur. It was only after I first found out about using make otapackage that the 'SH" errors disappeared without having to drop other bits in there.
[Desire HD Android Development] twistedumbrella:
At some point I will have to check differences so we have some sort of basis for how they should look. I doubt every build will always be from source once things get rolling.
[Desire HD Android Development] Shelnutt2:
No you shouldn't need it building for armv7. Unless webrtc errors out about not supporting the asm code.
[Desire HD Android Development] twistedumbrella:
I will have to try without that, but if I follow the code correctly it shouldn't hurt having it either. Just trying to rule out any possible variables I can before moving forward.
[Desire HD Android Development] randomblame:
I had the same damned sh errors on novel and it was all in the symlinks I used the ones from another build and it was fixed.
[Desire HD Android Development] xT4Z1N4TRx:
how do i fix

?? thanks :)
[Desire HD Android Development] twistedumbrella:
How did you get there?
[Desire HD Android Development] Doktaphex:
I'm pretty sure that this is what is screwing over the boot:

const size_t nProfileMappings = sizeof(sCamcorderQualityNameMap)/sizeof(sCamcorderQualityNameMap[0]);
const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]);
CHECK(quality != -1);

Here is the logcat output regarding the fatal error:

( 1303): frameworks/base/media/libmedia/MediaProfiles.cpp:318 quality != -1
F/libc ( 1303): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

I could be wrong, but I'm gonna comment out that check and see what happens.
[Desire HD Android Development] xT4Z1N4TRx:
Just doing a nexus s port, since they have it all working. Any ideas?
[Desire HD Android Development] Shelnutt2:
Right shouldn't effect it all because its setting it to the arch you're already using :)
[Desire HD Android Development] slawson:
Do we have any progress on the touch screen on the NS port?
[Desire HD Android Development] randomblame:
zomg damned thing crashed during the last compile - again- I have to freaking make clean :mad:

shelnut - that patch to spl_inl.h makes this https://github.com/TeamICS/ICS_Fixes/blob/ics/patch-preprocessing_Android.mk unnessecary right?
[Desire HD Android Development] Doktaphex:
Was that directed at me, and if so. Damnit!
[Desire HD Android Development] AdrianM:
Backing-up current ROm. :p:D

Can't wait to taste some Ice Cream Sandwich.
[Desire HD Android Development] jwhood:
I know im not in my thread,ive tried to switch stuff around,so this would work on mytouch 4g,just cant get it right,can anyone please mod a build for us,i would be so greatful,edit: i get a status 7 when i tryed to boot the modded zip i made
[Desire HD Android Development] s14evil:
Ready for some testing... My pc died so that's all I can do help...
[Desire HD Android Development] twistedumbrella:
Can someone give me a working TS boot.img for the ace, with the modules folder? I have the entire thing set up and I have to see if it works. It should pick boot image in the install script
[Desire HD Android Development] grzesiek1945:
Please give link to ics ;) upload done?
[Desire HD Android Development] twistedumbrella:
... I can read. Forgot what you may have heard.

You should have quoted this post instead, lol
[Desire HD Android Development] buzzboy:
Download is up.

Regards
[Desire HD Android Development] zFr3eak:
look in the op i updated it guys. umbrella please test the zip on your phone without editing anything. it should work excatly like the original one from you :) and for sure it also works on desire hd...

EDIT: and now i will play Battlefield 3 to come down from all the things that happend today lol
[Desire HD Android Development] DubelBoom:
i want BF3 too...... but im buying MW3 (only because of split screen..)

now im downloading

and tomorrow keep deving ok? ;)
[Desire HD Android Development] s14evil:
Will I need adb to test... I have no pc to reboot into recovery...and dose it have root access....
[Desire HD Android Development] twistedumbrella:
I am uploading some slight edits. Do you have the bcm4329.ko for the kernel you included? I have added the necessay changes for it to swap out all the important files
[Desire HD Android Development] Scottymeuk:
Flashes fine and boots. Can kinda use it but cannot get any further than the home screen. Good work so far though.
[Desire HD Android Development] mi7:
thanks for the hard work

I can install with recovery?
[Desire HD Android Development] grzesiek1945:
Yep but before do backup of course
[Desire HD Android Development] zFr3eak:
well i only included hw's boot.img and the updater-script for both devices. and build.prop lol
[Desire HD Android Development] twistedumbrella:
..."it boots and is usable, but still has some significant issues to be worked out. It has also been edited to install on both the Thunderbolt and Desire HD (Thanks zFr3eak for setting up the layout)

The downloads are arranged by priority / focus and will change to reflect current status. Future dates and times mean that the upload is in progress and is estimated to become available at that time. Please keep in mind that these are estimated times, but should be fairly accurate.

Current Port:

11/12/11-5:59PM_EST

Testing some of the files and ideas from the DHD thread by shaky combined with the current base to see if something better can result

Current Base:

11/12/11-5:59PM_EST

The stable, generic SDK base that has working EGL. This is a good place to start for new ports and transferring the work to a different device"

Excerpt from my other thread, with the links to the files. I am trying to get everything set up, and have included all the proprietary files I have tested so far for both devices, set to work depending on the device.
[Desire HD Android Development] zFr3eak:
great man so the zip works on both you tried it ? :) what i can do next ?

are you using now the zip i made for both devices ?
[Desire HD Android Development] twistedumbrella:
Same folder concept for the boot images but a run script to swap out libs and stuff as they are added. The vendor folder allowed me to pack all the files in and the system takes what it needs. The script is a cm7 one in /system/bin. I forget the name but it is something about config. It stands out. That will give the layout for adding files that replace others.

Anything that isn't a replacement, such as keylayout can go directly in the vendor folder. Best thing to do now is find everything needed to get WiFi up and running. Pretty sure I can get sound and Bluetooth pretty easily. After that data. Graphics will be a bit tricky for both devices, but I want to test what I had in the sdk build.
[Desire HD Android Development] zFr3eak:
ok sounds good - why not using my method for system files ? Where i can download the new base for both devices or isnt it up now ?

what about getting calls - data where we have to look ? i guess i can fix sdcard too...
[Desire HD Android Development] twistedumbrella:
It was about my earlier statement.
[Desire HD Android Development] Doktaphex:
So it was. :D

Any thoughts on my idea?
[Desire HD Android Development] twistedumbrella:
Possible. I have a lot to look over when I get home.
[Desire HD Android Development] Doktaphex:
compile is nearly done, however, the real issue as I have come to realise is that whilst booting it's not connecting to the camera HAL, which obviously is a problem. We'll see what happens, but I'm not hopeful.
[Desire HD Android Development] twistedumbrella:
It did the same thing on the nexus port. Need to get it to compile one similar to camera.default.so

Seems to be the new thing to have all the libs in hw.
[Desire HD Android Development] ToneyEricsson:
I was thinking - seeing as the Sensation is getting Ice Cream Sandwich wouldn't it just be a case of resize when it comes out for the DHD or isn't it as simple as that?
[Desire HD Android Development] Doktaphex:
No difference at all with errors. I'm making silly mistakes as I'm a total noob with programming.
[Desire HD Android Development] Shelnutt2:
Right not necessary anymore :)
[Desire HD Android Development] randomblame:
Thanks it's behaving much better now.
[Desire HD Android Development] inertiax3:
Dear Devs, which kernel (boot.img) are you using when flashing your ICS test builds? LordClockan's with the ICS TS fix?
[Desire HD Android Development] Ubii:
It acctually boots now!

Touch works with pointer but System UI and com.android.phone dies all the time..

I just commented out the lines 318("CHECK(quality != -1);") and 523("CHECK(isCamcorderProfile(quality));") in frameworks/base/media/libmedia/MediaProfiles.cpp to get i boot.

Anyone know how to continue?
[Desire HD Android Development] inertiax3:
Could you please upload this build somewhere?
[Desire HD Android Development] EvoXOhio:
the sensation will get ICS with sense. This is AOSP ICS. Since a majority of the changes in ICS are visual, getting ICS with Sense isn't going to seem like much of an upgrade.
[Desire HD Android Development] Ubii:
Sure, here it is.

http://dev-host.org/q0f1a117nku9/ICS-booting.zip
[Desire HD Android Development] Aamir.Badat:
True sense 4.0 would have to be a big upgrade but i think AOSP ICS is much sexier to the human eye with the slick UI. ;)
[Desire HD Android Development] Doktaphex:
It came to fruition! Huzzah! :D
[Desire HD Android Development] ToneyEricsson:
I see - Ice Cream Sandwich with Sense for the DHD does sound good definitely better than that horrible multi coloured Runnymede. :D
[Desire HD Android Development] vicedens2002:
put SystemUI.apk and Phone.apk from the nexus S port build v1.1.... But the device is slow....

Adb logcat shows too much "cannot handle flush"
[Desire HD Android Development] Ubii:
"fixed" systemui but phone still dies

And yes, we have to do something about all the "cannot handle flush" errors.
[Desire HD Android Development] vicedens2002:
How did you fix?

I think flush errors are caused by defected memory management...

Because it says cannot handle flush <memory location>...
[Desire HD Android Development] killersloth:
gralloc issues? again I think we need a new kernel from someone with real skill in that field :)
[Desire HD Android Development] Ubii:
I meant that I used your method and replaced them. And I know it's not really a fix.
[Desire HD Android Development] LorD ClockaN:
I killya :-)

Sent from my Desire HD with BlackIce ROM
[Desire HD Android Development] n9ntje:
Oopsya is also a good reply, methinks.
[Desire HD Android Development] tamercan:
you can upload the final version of the ICS?
[Desire HD Android Development] simmarjit:
final? There is no final build ...my friend
[Desire HD Android Development] JoKeR_FaCe:
:)

can you upload the Alpha with some fixes? ;)
[Desire HD Android Development] grzesiek1945:
They will upload if will be done.
[Desire HD Android Development] xT4Z1N4TRx:
how did you fix the systemui errors?