Android on 96Boards FAQ

how can we interface a new LCD display with DragonBoard through high speed gpio pin?

Hi @Akira,

I’m using a JACK P2 soldered on J7. To play and record audio I use the follow commands on the command line:

tinymix ‘MultiMedia1 Mixer TERT_MI2S_TX’ 1

tinymix ‘DEC1 MUX’ ‘ADC2’

tinymix ‘ADC2 MUX’ ‘INP2’

tinycap /data/test.wav

tinymix ‘PRI_MI2S_RX Audio Mixer MultiMedia1’ 1

tinymix ‘RX1 MIX1 INP1’ ‘RX1’

tinymix ‘RX2 MIX1 INP1’ ‘RX2’

tinymix ‘RDAC2 MUX’ ‘RX2’

tinymix ‘HPHL’ ‘Switch’

tinymix ‘HPHR’ ‘Switch’

tinymix ‘MI2S_RX Channels’ ‘Two’

tinyplay /data/test.wav

But I want to start up the DragonBoard with these configurations. I’ve tried to modify the file ‘mixer_paths_sbc.xml’ but I didn’t succeed, may you know how I can start the system with these configurations. Should I modify any boot file? Could you help me?

Thanks

@Vitor Pacheco:

I have done some things with initialization files on the DragonBoard 410c running Android.

There is a post boot script I was told to work with and had success using. (init.qcom.post_boot.sh)

  1. From a host machine, you will need adb setup.
  2. root system, pull file, modify, push, reboot.
adb root
adb remount
exit out of shell
adb pull /etc/init.qcom.post_boot.sh
  1. Use your favorite text editor to edit post boot script (add your modifications to bottom of the script, save, quit.)
adb push init.qcom.post_boot.sh /etc/init.qcom.post_boot.sh
adb reboot

After reboot, wait until board is completely booted up to ensure your script was run.

This has worked for me with GPIO setup on Android. You might run into permission issues when pulling and pushing the init files, be sure to set permission as needed.

I hope this helps!!!

If you are still having problems, please bring your issues to OpenHours. I am there every week for a live broadcast to help answer questions like these in person, with developers from all over the world!

Hi @Robert Wolff,

Thanks for your reply.
I’ve been doing your team course on Coursera and I’ve done these configurations for GPIO.
I thought the init.qcom.post_boot was just for GPIO settings and honestly, I don’t know why didn’t I try this before.
But thank you, I tried and It’s working now.

I’m trying to follow OpenHours and if I have more questions, I’ll be glad to share with you.

Thanks so much,

Vitor

@Vitor Pacheco:

I am very glad to hear of your success!!! It would be nice to have you in OpenHours! These next few weeks we will be doing a DragonBoard 410c mini-series and giving away DragonBoards! :smiley: invite your friends or workmates and friends.

We will also have the DragonBoard 410c creator on the call, he will be answering all questions related to DB410c.

I hope to see you there.

Keep in touch!

Thanks @Robert Wolff,

I’ve now another problem, when I use the Music app from Android, I can play musics and listen it with my headset, but when I use the Sound Recorder app, the microphone doesn’t work and it records nothing. I think I should modify the microphone as primary, but I don’t know how. Do you know what I could do?

I noticed that when I start the DragonBoard the JackP2 audio configurations are right, but when I try to use Sound Recorder, it changes the recording configurations.

Thank you in advance.

Hi
i have created one kernel module.and compiled in android source code…but whenever i will try to load that module in dragonboard 410c.it showing error:
insmod: failed to load svs_driver.ko: Required key not available.
I searched on google also.but i didnt get.what is the problem with my module.
please Help.

Hi All

anyone know the latest Android base code Version On the 410C board?
How can i download the latest Version code?

Thank you everyone in advance

@yanzm

Have you been to the DB410c documentation landing page? You can download latest image there, ready for flashing.

https://github.com/96boards/documentation/blob/master/ConsumerEdition/DragonBoard-410c/Downloads/Android.md

I would recommend using the sd card image.

I hope this was helpful. If you still have questions, please bring them to OpenHours this week:

Thanks!

Hi Team,

Do we have pre-built binaries available for Dragonboard 410C on Android Nougat. If available Please share the link

Regards
Vinay

Hello, @vinay

Pre-built images for DB410c can be found here: http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/

The release notes can be found here(for latest): https://developer.qualcomm.com/download/db410c/android_release_notes-LM80-P0436-12_Rev_G.pdf

QC Android build is currently on Marshmallow as noted on page 6 of release notes.


As you may know, 96Boards and Linaro do not play a part in building nor advancing these images.

Currently, I am unsure as to the progress with Android on the DragonBoard 410c. I will try to check on this and try to update you as soon as I get some information.

Please feel free to join us on 96Boards OpenHours every week. Bring your questions, and we will try to get you answers in real time on our live conference call.

www.96Boards.org/OpenHours

Hope this helps!

Thanks @Robert. It has been a very quick response.Please let me know when you have an Android nougat update on Dragonboard410C.

I really like the DragonBoard 410c, but I’m interested in running Android and am becoming concerned about the viability of Android on this platform. Robert, as you have pointed out, the Android builds are coming from Qualcomm and it’s apparent that the quality is, how shall we say, suspect. As I understand it, builds.96boards.org/builds are the actual “releases”, while builds.96boards.org/snapshots are the builds that could become releases in the future. Please clarify this for me if I’m wrong. The latest release from Qualcomm is now six months old, and shows off the phone app crashing continuously right from boot up. Yes, I found some instructions on this forum to stop the messages, but the phone app continues to crash repeatedly. This sure doesn’t give me the warm fuzzies about Android on DragonBoard 410c, so I need to look elsewhere. Unfortunately, the “elsewhere” means either switching operating systems, or going away from 96boards altogether. I’m hoping that I’m wrong and someone from Qualcomm will point out where to get the stable build of Android for the 410c, but it seems if they had that it would be up on the builds.96boards.org/builds site. Also, while we’re at it, maybe someone from Qualcomm could point out where the release and/or build notes are for the snapshot builds?

builds.96boards.org/builds are the actual “releases”, while builds.96boards.org/snapshots are the builds that could become releases in the future
Yes

shows off the phone app crashing continuously right from boot up
This is fixed in http://builds.96boards.org/snapshots/dragonboard410c/qualcomm/android/128/

Thanks for the confirmations. I installed snapshot build 128 this morning, and sure enough, the phone app crashing problem is gone. There is however another continuous error condition reported, something trying to run the sdcard command with usage problems.
I think the largest concern is the state of support of Android for the DragonBoard 410c. The link from the DragonBoard 410c product page in the 96boards site to the Android download references build 99, which is Android 5.1.1. On the same page, the apparent companion link to the release/build notes accesses a build note for Android 6. That could be release build 118, but that has the crashing phone app problem. Snapshot build 128 fixes the crashing phone app but the release notes from the DragonBoard 410c product page in the 96boards site don’t match it either, although they are a lot closer. Plus, the Build from 96boards (build 118) was done in July, with nothing since other than the snapshots, which suggests that at best the build schedule is very infrequent.

Perhaps someone can answer a few questions which might help the developer community:

  1. When will a more stable Android build be available via the builds.96boards.org/releases path?
  2. Could the release/build notes be packaged with the download (inside the zipfile) or at least in the download page (e.g. http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/16.06/)
  3. What actually is the optimal site (URL) for getting the best Android builds for the DragonBoard 410c? Is it through 96boards, through Qualcomm, or through some other site?

Hi,

I have few problems when using Android v6 on dragonboard 410c.

  1. Android v6 (build 128) cannot use USB thumbdrive. I install StickMount app but still cannot get my thumbdrive mounted. Android v5 does not have this problem and I can browse the content with file manager.
  2. There is no speaker sound when I play music or movie. But in Settin=> Sound & notification, when I adjust Alarm volume or Ring volume but not Media volume, I can hear alert sound from the speaker. So hardware should have no problem.
    This thread, http://www.96boards.org/forums/topic/audio-headset-issue/#gsc.tab=0, says that I have to execute the following commands with root,

Enable Speaker and Play:

tinymix ‘PRI_MI2S_RX Audio Mixer MultiMedia1’ 1
tinymix ‘RX3 MIX1 INP1’ ‘RX1’
tinymix ‘SPK DAC Switch’ 1
tinyplay /data/audio/test.wav
Sometimes it works.
I also change the above 3 settings in mixer_paths_sbc.xml but find tinyplay can have speaker output but media app cannot.

Appreciate any help!

Hi,

I overlook the statement
Playback using Android Music player would play the audio over HDMI, as that is the default
setting. To change the default behavior, edit the file
device/qcom/msm8916_32/mixer_paths_sbc.xml based on the use case and push the file
into DragonBoard 410c via adb to /system/etc/ .
Oh silly me! The second problem is fixed.

The remaining issue is that why USB thumbdrive is not mounted automatically. Can anyone advise?

Thanks in advance!

Hi,

Come back to the USB thumb drive problem that is caused by Android 6.0. The pre-installed file manager does not support. Have to use another ES Explorer instead.

How long can the dragonboard 410c run on android continuously 24/7 ? is it safe to do that coz it heats up too much

Hard to say how long you can run it for but it shouldn’t overheat. When the CPU/GPU is busy the chip will heat up until it reaches a target temperature (which is pretty hot) but then it will throttle back the clocks to maintain that temperature.

Likewise if the system is running but not red-lining then it shouldn’t heat up so much.