No audio on Android 1.5 dream build?

32 views
Skip to first unread message

deg

unread,
May 7, 2009, 6:26:25 PM5/7/09
to android-platform
I've just built from the Android-1.5 source tree for my ADP1.

Audio does not seem to be working. Music, gallery videos, and even the
phone ringtone are all silent.
This did work fine in builds I've done in the past from earlier
sources, as well as in the HTC 1.5 images.

Is this a known problem? Any workarounds? Or, have I just missed a
step somewhere?

Thanks,
David

Edin Hodzic

unread,
May 7, 2009, 6:31:25 PM5/7/09
to android-...@googlegroups.com
I had to pull /system/lib/libhtc_acoustic.so from the HTC image and push it to the newly built device.

Dino
--
Edin Hodzic
di...@concisoft.com
Mobile: 408-828-6723

Concisoft LLC
http://www.concisoft.com
Work: 925-468-0296
Fax: 925-460-9329

Cristina

unread,
May 8, 2009, 5:17:35 AM5/8/09
to android-platform
Hi,

I have detect more differences on /system/libs and /system/etc between
the HTC official android 1.5 firmware, and the firmware generated
using the android-1.5 open source branch.

The following system libraries and files do on the HTC official one
but do not appear when flashing the open source generated firmware.

/system/lib/libhtc_acoustic.so
/system/lib/libmm-adspsvc.so
/system/lib/libopencorehw.so
/system/lib/libOmxMpeg4Dec.so
/system/lib/libOmxH264Dec.so
/system/lib/libOmxVidEnc.so
/system/lib/libspeech.so
/system/lib/libjni_pinyinime.so
/system/lib/libpvasfreg.so
/system/lib/libpvasf.so
/system/lib/hw/lights.goldfish.so
/system/lib/hw/sensors.trout.so
/system/etc/contributors.css
/system/etc/AudioPreProcess.csv
/system/etc/contributors.html

By the way, the camcorder is not working on my ADP1 with the open
source android 1.5 firmware. Perhaps it has something to do with the
missing libraries. Do you have also this problem?

It seems like the htc files that have to be pushed using
extract_files.sh do not extract all the needed libraries for version
1.5. Maybe the htc vendor files should be update to include all
necessary libs.

Cristina


On 8 mayo, 00:31, Edin Hodzic <d...@concisoft.com> wrote:
> I had to pull /system/lib/libhtc_acoustic.so from the HTC image and push it
> to the newly built device.
>
> Dino
>
>
>
> On Thu, May 7, 2009 at 3:26 PM, deg <d...@degel.com> wrote:
>
> > I've just built from the Android-1.5 source tree for my ADP1.
>
> > Audio does not seem to be working. Music, gallery videos, and even the
> > phone ringtone are all silent.
> > This did work fine in builds I've done in the past from earlier
> > sources, as well as in the HTC 1.5 images.
>
> > Is this a known problem? Any workarounds? Or, have I just missed a
> > step somewhere?
>
> > Thanks,
> > David
>
> --
> Edin Hodzic
> d...@concisoft.com
> Mobile: 408-828-6723
>
> Concisoft LLChttp://www.concisoft.com
> Work: 925-468-0296
> Fax: 925-460-9329

deg

unread,
May 8, 2009, 5:34:36 AM5/8/09
to android-platform
Thanks, worked like a charm.

I'll submit the obvious patch to the vendor/dream/htc project. (Or,
have you done so already?)

On May 8, 1:31 am, Edin Hodzic <d...@concisoft.com> wrote:
> I had to pull /system/lib/libhtc_acoustic.so from the HTC image and push it
> to the newly built device.
>
> Dino
>
>
>
> On Thu, May 7, 2009 at 3:26 PM, deg <d...@degel.com> wrote:
>
> > I've just built from the Android-1.5 source tree for my ADP1.
>
> > Audio does not seem to be working. Music, gallery videos, and even the
> > phone ringtone are all silent.
> > This did work fine in builds I've done in the past from earlier
> > sources, as well as in the HTC 1.5 images.
>
> > Is this a known problem? Any workarounds? Or, have I just missed a
> > step somewhere?
>
> > Thanks,
> > David
>
> --
> Edin Hodzic
> d...@concisoft.com
> Mobile: 408-828-6723
>
> Concisoft LLChttp://www.concisoft.com
> Work: 925-468-0296
> Fax: 925-460-9329

deg

unread,
May 8, 2009, 5:42:01 AM5/8/09
to android-platform
Testing camcorder now...

I'm also having a problem: The camera app works in still mode and
successfully switches to video mode, but does not record . The
application then reports that the camcorder is not responding. Is this
what you are seeing too?

I'm running with libhtc_acoustic.so, but I've not tried adding the
other files that you (Cristina) found missing. Have you tried adding
them yet? Some of the filenames sure sound video-related.

David

Cristina

unread,
May 8, 2009, 5:53:11 AM5/8/09
to android-platform
I have tried to push all the missing lib files into system, and now
the camcorder works ok.

However I have detected new problems:
1. Incoming calls does not work. When I try to call to the phone it
launch an com.android.phone error.
2. Home button does not work either

So there must be something else that is not included

Have you tested these functionalities? Do they work for you?

Thanks,
Cristina

deg

unread,
May 8, 2009, 6:11:13 AM5/8/09
to android-platform
I've not seen your problem with incoming calls. I've seen incoming
calls work at least once with this build.
However, I have had problems, both on this build and earlier, with
incoming calls being diverted to network voicemail, because the phone
was not yet properly provisioned.

(Something does appear to be wrong with provisioning in this build.
I've been unable to get SdkSetup to work. It looks like the
instructions in the first message (by JBQ) in
http://groups.google.com/group/android-platform/browse_thread/thread/798f406d0a17cb1e
are no longer correct.
But, that's a discussion for a different thread... I'll post what I've
seen ASAP, but it's not related to the audio issue.)

Re the home button... I had not noticed; I guess I tend to use the
back button. But, I see it's not working for me either. I'm not sure
if this is a real bug here, or because of some earlier hacking I did
to try to get SdkSetup to work. (SdkSetup is also a homescreen app).
I suggest you post this question to a different thread too, so the
subjects gets noticed by folks who understand this better.

David

Cristina

unread,
May 8, 2009, 6:32:50 AM5/8/09
to android-platform
Hi David,

I have re-flashed the firmware, and now when I receive an incoming
call, it get diverted to the network voicemail.
¿How did you solved that problem in this build and earlier?

Thanks again for your answers!
Cristina

On 8 mayo, 12:11, deg <d...@degel.com> wrote:
> I've not seen your problem with incoming calls.  I've seen incoming
> calls work at least once with this build.
> However, I have had problems, both on this build and earlier, with
> incoming calls being diverted to network voicemail, because the phone
> was not yet properly provisioned.
>
> (Something does appear to be wrong with provisioning in this build.
> I've been unable to get SdkSetup to work. It looks like the
> instructions in the first message (by JBQ) inhttp://groups.google.com/group/android-platform/browse_thread/thread/...

deg

unread,
May 8, 2009, 6:42:21 AM5/8/09
to android-platform
In previous versions, the problem was that the phone needed to be
provisioned. You needed to include the SdkSetup app in the build.
Instructions were at http://andblogs.net/2009/01/cupcake-on-g1adp1/ or
at the start of the thread I quoted above.

This did not work for me in 1.5, yet. I've made the changes, but have
not succeeded in getting SdkSetup to launch. But, strangely, I did
succeed in getting an incoming call one time.

I'll try to look into this further, but I'm running off for the
weekend. If you have time, and if the old instructions don't work for
you, can you post a question about this today?

David

Cristina

unread,
May 8, 2009, 8:54:51 AM5/8/09
to android-platform
Hi David,

I have checked the instructions on the thread you passed me above, and
it works.
I have added the line
LOCAL_MODULE_TAGS := eng development
to development/apps/SdkSetup/Android.mk.

Then I have regenerated the firmware and now both the incoming calls
and the home button works.
Another way to provision the phone without using SdkSetup is to use
the following command to update the provision property in the
database:

adb shell sqlite3 /data/data/com.android.providers.settings/databases/
settings.db "INSERT INTO secure (name, value) VALUES
('device_provisioned','1');"

However I prefer the first option, as it is integrated with the
source.

Thanks a lot for your help!
Cristina

deg

unread,
May 10, 2009, 7:40:40 AM5/10/09
to android-platform
Yes, thanks. Works for me too.

(I had faked myself out previously. I thought that SdkSetup was
supposed to bring up the provisioning screens, like on the HTC builds,
rather than just quietly set the flag. Now, I looked at the source,
and all makes sense).

And, thanks for the sqlite tip too. I agree with you; I prefer the
SdkSetup technique. But, good to have this in my bag of tricks too.

David

deg

unread,
May 11, 2009, 4:34:37 AM5/11/09
to android-platform

jseghers

unread,
May 12, 2009, 1:11:34 PM5/12/09
to android-platform
As for the issue with incoming calls, you need to set the phone to
"provisioned".
follow the information at the bottom of this thread:
http://groups.google.com/group/android-platform/browse_thread/thread/88f1de1bcb6ccd94
to set "device_provisioned" in the secure settings table.
Reply all
Reply to author
Forward
0 new messages