Results 1 to 7 of 7

Thread: Porting audio to S3C6410

777
  1. [translate]    #1
    Member
    Join Date
    Aug 2010
    Location
    Vietnam
    Posts
    59

    Default Porting audio to S3C6410

    I found in a Chinese forum something about porting Android 2.2 to S3C6410 and the audio. So i post here if can help anyone dev 2.2 for I5700.
    Android 2.2 source code has been released, S3C6410 run successfully!
    Morning in bed with the phone used to open the cnbeta, first of all to see Droid X release, then that is Android2.2 source release!


    He immediately jumped out of bed starting repo, compression, ran lab compile passed.


    S3C6410 use of generic, replace the previous 2.1 init.rc to the normal load.

    The new version of the basic procedures for all the updates to the new version, launch2, gallery3D other, but seemingly tragic ARM11 running speed of a point!


    At the same time seemingly with my current kernel is not stable, it is easy to restart the UI.

    Link
    And:
    Rockie's Android Porting Guide(6)——Add ALSA to your system

    Rockie Cheng

    (1)First,you need download alsa libs and tools from Android GIT.

    git clone git://android.git.kernel.org/platform/external/alsa-lib.git

    git clone git://android.git.kernel.org/platform/external/alsa-utils.git

    git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git

    check each fold and run below command:

    git branch -a

    git checkout origin/eclair

    (2)build/target/board/idea6410/BoardConfig.mk
    #HAVE_HTC_AUDIO_DRIVER := true
    #BOARD_USES_GENERIC_AUDIO := true
    BOARD_USES_ALSA_AUDIO := true
    BUILD_WITH_ALSA_UTILS := true

    (3)make clean and rebuild

    (4)add asound.conf to your final system/etc/
    # #
    # # Mixer devices
    # #
    ctl.AndroidPlayback {
    type hw
    card 0 # Can replace with drivers name from /proc/asound/cards
    }
    ctl.AndroidRecord {
    type hw
    card 0
    }

    # #
    # # Playback devices
    # #
    pcm.AndroidPlayback {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Speaker {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Speaker_normal {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Speaker_ringtone {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Speaker_incall {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Earpiece {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Earpiece_normal {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Earpiece_ringtone {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Earpiece_incall {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth_normal {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth_ringtone {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth_incall {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Headset {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Headset_normal {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Headset_ringtone {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Headset_incall {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth-A2DP {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth-A2DP_normal {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth-A2DP_ringtone {
    type hw
    card 0
    device 0
    }

    pcm.AndroidPlayback_Bluetooth-A2DP_incall {
    type hw
    card 0
    device 0
    }

    pcm.AndroidRecord {
    type hw
    card 0
    device 0
    }

    pcm.AndroidRecord_Microphone {
    type hw
    card 0
    device 0
    }
    Link
    Last edited by toi1em; 09-05-2010 at 07:54 PM.

  2. [translate]    #2
    Senior Member
    Join Date
    May 2010
    Location
    India
    Posts
    509

    Default

    post the links. so that devs can check it out.

  3. [translate]    #3
    Member
    Join Date
    Aug 2010
    Location
    Hong Kong
    Posts
    66

  4. [translate]    #4
    Member
    Join Date
    Aug 2010
    Location
    Vietnam
    Posts
    59

    Default

    It 's a Chinese font problem. I 've solve it.

  5. [translate]    #5
    Senior Member
    Join Date
    Jul 2010
    Location
    indonesia
    Posts
    106

    Default

    anyone try it yet? If it's really work, then Froyo won't be a dream for spica.

  6. [translate]    #6
    Senior Member
    Join Date
    May 2010
    Location
    India
    Posts
    509

    Default

    also related post on same site Android 2.2ԴѷųS3C6410ɹУ(ҳ 1) - SEP Androidϵͳ - Ƕʽϵͳ SEP4020ƽ̨ǶʽLinux - Powered by Discuz! Archiver

    also to be noted he made the post on 2010-06-24 11:32. so its been a long time. so i think devs here might have seen it already.
    Last edited by tgpraveen; 09-05-2010 at 08:56 PM.

  7. [translate]    #7
    Administrator
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,730

    Default

    yes, this doesn't work on Spica
    Twitter | Devices: Samsung Spica i5700 - SamdroidMod 2.0.1 Froyo | Nexus One - Android 2.2 Froyo | Nexus S CyanogenMod 7.1
    If you like my stuff, buy me a beer!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •