This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ICS on Am335xevm not working !

Hi folks ,

             I successfully ported android on am335xevm , I am getting boot logo and lockscreen , everything are working good ! but i cant access any of teh app or icons :

if i touch settings / try to play a video file or any ! it says "Unfortunately ' <app> has stopped "

Why this happening ?

Am using bootagrs same as been quoted in developer guide of ICS by TI.

Can anyone comment on this ?

Regards

ROHIT SHANBHAG

  • What is your build variant ? is it eng or userdebug ? And Do you have any changes in Launcher app ?

  • HI Kadir

    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=4.0.3
    TARGET_PRODUCT=am335xevm
    TARGET_BUILD_VARIANT=eng
    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=IML74K

    Well, i didnt changed any of laucher app as such , just followed TI procedure to build kernel,uboot and filesystem !

    Yes  got two errors : Lib png read error for teh following files : textfield_activated_holo_dark.9.png  , status_bar_background.png , (U can refer u earlier log)

    http://e2e.ti.com/support/embedded/linux/f/354/p/233307/821566.aspx#821566

    am able to browse the folders , graphics and rest of teh things just access to them will give "unfortunately <APP NAME> stopped"

    Thanks and Regards

    ROHIT Y SHANBHAG

  • Hi

    What is your host pc OS and its version ? Did you installed required packages to build for your host pc OS ?

  • Hi ,

    MY HOst OS info :


    Distributor ID:    Ubuntu
    Description:    Ubuntu 10.04.3 LTS
    Release:    10.04
    Codename:    lucid

    On my Knowledge i have installed all neccessary !

    Plz help me in this

    Regsrds

    ROHIT SHANBHAG

  • Hi rohit,

    If you do not change anything in your aosp code, your build environment might cause this problem. I tried to build ICS for am335xevm in ubuntu 10.04 lts but didnt achieve for some reasons. In xda-forums for android ics build ubuntu 12.04 lts is recommended. I've installed it and build done successfully. I send you the steps for TI ICS build for am335xevm in ubuntu 12.04 LTS. And, let me know the result.

    Setting Up an Android Build Environment
    ======================================
    $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    $ sudo apt-get update
    $ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev minicom tftpd uboot-mkimage expect

    some packages(e.g libsdl) may not be installed, you can ignore them.

    Installing sun java6 sdk package from a different repo (workaround)
    ====================================================================
    $ sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
    $ sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse"
    $ sudo apt-get update
    $ sudo apt-get install sun-java6-jdk
    $ sudo update-java-alternatives -s java-6-sun

    Using Pre-Packaged Sources for TI am335x EVM
    =============================================
    Download the pre-packaged DevKit sources from TI-Android-ICS-4.0.3_AM335x_3.0.1.bin
    export PATH="/home/kadir/work/Android/rowboat-android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH"

    Compiling bootloader(u-boot with fastboot support)
    =================================================
    $ make CROSS_COMPILE=arm-eabi- distclean
    $ make CROSS_COMPILE=arm-eabi- am335x_evm_config
    $ make CROSS_COMPILE=arm-eabi-

    Compiling kernel
    ================
    $ cd <android source path>/kernel
    $ make ARCH=arm CROSS_COMPILE=arm-eabi- distclean
    $ make ARCH=arm CROSS_COMPILE=arm-eabi- am335x_evm_android_defconfig
    $ make ARCH=arm CROSS_COMPILE=arm-eabi- uImage

    Compiling the Android Filesystem
    ================================
    $ make TARGET_PRODUCT=am335xevm clean
    #ifdef SGX
    $ make TARGET_PRODUCT=am335xevm OMAPES=4.x -j8
    #else
    $ make TARGET_PRODUCT=am335xevm droid kernel_build wl12xx_compat -j8
    #endif

  • Hi rohit,

    If you do not change anything in your aosp code, your build environment might cause this problem. I tried to build ICS for am335xevm in ubuntu 10.04 lts but didnt achieve for some reasons. In xda-forums for android ics build ubuntu 12.04 lts is recommended. I've installed it and build done successfully. I send you the steps for TI ICS build for am335xevm in ubuntu 12.04 LTS. And, let me know the result.

    8105.setup_env.txt

  • Hello Kasir,

                           Thanks for the hint ,!!!!

    ICS working perfectly with am335xevm ...

    I can install apk, wifi is working and can access all folders!

    THANKS A LOT , for making my day with ICS ...

    but, small issue is still killing me :

    1)I dont have bar with back button.

    2)When i play video or audio , its stopping ! ,is their any memory constraints ?

    Kindly reply me back

    Regards

    ROHIT

  • Hi

    Congratulations. For your first problem, you want softkeys and you need a launcher app that supports softkeys (for exapmle, ADW launcher). Second, check your codecs for audio and video.

    "If my answer satisfies you, click verify answer button"

  • Hi Kadir,

    after referring TI post , am able to get teh black colour bar on my right side , which act as "back/Esc "  when i touch it(it takes me to previous page).

    But , am not getting icons on it.

    Any idea about that ?

    Audio and video issues were solved by altering drivers

    Thanks

    ROHIT Y SHANBHAG

  • Hi Rohit,

    I faced a similar problem with software navigation bar and solved by adding the following to device/ti/am335xevm/overlay/frameworks/base/core/res/res/values/config.xml file.

    You can try this.

    <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
    autodetected from the Configuration. -->
    <bool name="config_showNavigationBar">true</bool>

    Regards,

    Ebin