Android 7.1 Nougat DR1 for RPi3

7,180 views
Skip to first unread message

Peter Yoon

unread,
Oct 21, 2016, 9:40:49 AM10/21/16
to Android-rpi
Update Android version to android-7.1.0_r4

On this build, Android SDK API Level is 25 - which is matched to following post : 

Tablet mode Settings app is still crashing, Try LeanbackLauncher & TvSettings

On Friday, October 7, 2016 at 3:55:57 AM UTC+9, Peter Yoon wrote:
Updated Android version to android-7.0.0_r14

Updated Boot firmware & Kernel version to 4.4.22

On Wednesday, August 24, 2016 at 11:20:45 PM UTC+9, Peter Yoon wrote:

It's on early stage, but some features are tested like followings.

- Android UI with VC4 gpu (1280x720 resolution)
- Graphics output to HDMI port. (Audio not working)
- USB keyboard / mouse
- Ethernet
- On-board WIFI / BT

- Tablet mode Settings app is crashing, Try LeanbackLauncher & TvSettings.

Chetan Rajpal

unread,
Oct 24, 2016, 1:28:01 PM10/24/16
to Android-rpi
why settings still crashing on your build but not on rt android build?? what rt android has changed in settings app?? do you know anything about it?

Sahaj Sarup

unread,
Oct 24, 2016, 1:34:35 PM10/24/16
to Android-rpi
Rt uses their own settings app
https://github.com/RTAndroid/android_packages_apps_Settings
Aosp settings crashes but we don't know why.

Chetan Rajpal

unread,
Oct 25, 2016, 1:13:52 PM10/25/16
to Android-rpi
Ok... I wanna ask one more thing does audio work on 7.1?? Also, is there any way to speed up boot cause every time I boot it takes 10mins on samsung evo sd card.. I am using your tablet build of marshmallow...

Thien Pow Chong

unread,
Oct 27, 2016, 1:55:13 AM10/27/16
to Android-rpi
10min is too long for pi3, maybe you need another microSD card with Class10

7.0 has no audio, they got uploaded the binary here
http://www.mediafire.com/download/dw5kunz5w03k0cq/and7rpi2016-08-25.img.tar.bz2

7.1 not sure, i am still trying to do the source code repo sync.  and nobody uploaded a binary yet.

Thien Pow Chong

unread,
Oct 27, 2016, 1:53:44 PM10/27/16
to Android-rpi


did the 7.1 build from source
checked the kernel, there's no sound driver in it, is it normal?

Igor Kalkov

unread,
Oct 27, 2016, 3:44:42 PM10/27/16
to Android-rpi
Maybe the sound is missing just because nobody had time to enable it? :D
I don't use other distributions for RPi, so I can't compare. But maybe it is as easy as turning it on in the kernel config?

Thien Pow Chong

unread,
Oct 28, 2016, 4:44:08 AM10/28/16
to Android-rpi
from the bcm2709_deconfig most of the values are m... i suppose m = manual rite? 

CONFIG_SOUND=y
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_DUMMY=m
CONFIG_SND_ALOOP=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_BCM2835=y
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_UA101=m
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_6FIRE=m
CONFIG_SND_SOC=m
CONFIG_SND_BCM2835_SOC_I2S=m
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m
CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m
CONFIG_SND_BCM2708_SOC_RPI_DAC=m
CONFIG_SND_BCM2708_SOC_RPI_PROTO=m
CONFIG_SND_BCM2708_SOC_JUSTBOOM_DAC=m
CONFIG_SND_BCM2708_SOC_JUSTBOOM_DIGI=m
CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m
CONFIG_SND_BCM2708_SOC_IQAUDIO_DIGI=m
CONFIG_SND_BCM2708_SOC_RASPIDAC3=m
CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m
CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m
CONFIG_SND_DIGIDAC1_SOUNDCARD=m
CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m
CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m
CONFIG_SND_SOC_ADAU1701=m
CONFIG_SND_SOC_WM8804_I2C=m
CONFIG_SND_SIMPLE_CARD=m
CONFIG_SOUND_PRIME=m

Igor Kalkov

unread,
Oct 28, 2016, 5:06:47 AM10/28/16
to Android-rpi
m = "module"
RTAndroid builds would probably include all of those kernel modules, but they are not loaded by default. We can do some experiments on that. Other distributions usually don't include modules.
Could you please check how this is done on Raspbian or something similar? If we know which config option(s) is/are relevant, we could just change them to "y".

Thien Pow Chong

unread,
Oct 28, 2016, 1:49:02 PM10/28/16
to Android-rpi
found the descriptions for the config, and changed some m to y just as a bet... not sure if it helps.

CONFIG_SOUND=y                                                   #Sound card support
CONFIG_SND=y                                                     #enable ALSA
CONFIG_SND_SEQUENCER=m              #enable MIDI sequencer and router support
CONFIG_SND_SEQ_DUMMY=m             #You don't need this unless you want to connect many MIDI devices or applications together.
CONFIG_SND_MIXER_OSS=y                                         #To enable OSS mixer API emulation, Many programs still use the OSS API, so say Y.
CONFIG_SND_PCM_OSS=y                                           #To enable OSS digital audio (PCM) emulation. say Y too.
CONFIG_SND_SEQUENCER_OSS=y                                    #Say Y here to enable OSS sequencer emulation
CONFIG_SND_HRTIMER=y                                            #Say Y here to enable HR-timer backend for ALSA timer. ALSA uses this
CONFIG_SND_DUMMY=m                  #This driver does nothing
CONFIG_SND_ALOOP=m                   #This module returns played samples back to the user space using the standard ALSA PCM device.
CONFIG_SND_VIRMIDI=m                   #virtual MIDI driver
CONFIG_SND_MTPAV=m                   #MOTU MidiTimePiece AV multiport MIDI adapter connected to the parallel port
CONFIG_SND_SERIAL_U16550=m           #MIDI serial port interfaces
CONFIG_SND_MPU401=m                  #MIDI ports compatible with the Roland MPU-401 interface in UART mode
CONFIG_SND_BCM2835=y                                         #raspberry pi build-in-audio, this is the core i think.
CONFIG_SND_USB_AUDIO=m                #USB audio and USB MIDI devices
CONFIG_SND_USB_UA101=m                #Edirol UA-101 and UA-1000 audio/MIDI interfaces
CONFIG_SND_USB_CAIAQ=m                #caiaq USB audio interfaces
CONFIG_SND_USB_CAIAQ_INPUT=y                                  #input controllers like buttons, knobs, alpha dials and analog pedals
CONFIG_SND_USB_6FIRE=m                #TerraTec 6fire DMX USB interface
CONFIG_SND_SOC=m                       #ASoC provides power efficient ALSA
CONFIG_SND_BCM2835_SOC_I2S=m                     #add support for codecs attached to the BCM2835 I2S interface
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC=m          #HIFIBERRY_DAC interface
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS=m     #HIFIBERRY_DACPLUS interface
CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI=m
CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP=m
CONFIG_SND_BCM2708_SOC_RPI_DAC=m
CONFIG_SND_BCM2708_SOC_RPI_PROTO=m
CONFIG_SND_BCM2708_SOC_JUSTBOOM_DAC=m
CONFIG_SND_BCM2708_SOC_JUSTBOOM_DIGI=m
CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC=m
CONFIG_SND_BCM2708_SOC_IQAUDIO_DIGI=m
CONFIG_SND_BCM2708_SOC_RASPIDAC3=m
CONFIG_SND_BCM2708_SOC_ADAU1977_ADC=m
CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD=m
CONFIG_SND_DIGIDAC1_SOUNDCARD=m
CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO=m
CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC=m
CONFIG_SND_SOC_ADAU1701=m
CONFIG_SND_SOC_WM8804_I2C=m
CONFIG_SND_SIMPLE_CARD=m                #enables generic simple sound card support
CONFIG_SOUND_PRIME=m                     #Open Sound System drivers


Igor Kalkov

unread,
Oct 28, 2016, 5:51:52 PM10/28/16
to Android-rpi
Great job! Let me know if you get sound with this config.

WalkOnATYCLB

unread,
Oct 28, 2016, 7:41:00 PM10/28/16
to Android-rpi
I'm very much interested too. I always watch this group. Good job guys :)

drraj...@gmail.com

unread,
Oct 29, 2016, 1:01:32 AM10/29/16
to Android-rpi
Ok this seems to be intresting nice job... I'll too try it..

Thien Pow Chong

unread,
Oct 29, 2016, 9:07:28 AM10/29/16
to Android-rpi
why it can't put in final.config when doing the merge?


Value requested for CONFIG_SND_BCM2835 not in final .config
Requested value:  CONFIG_SND_BCM2835=y
Actual value:
Message has been deleted

Thien Pow Chong

unread,
Oct 29, 2016, 9:38:03 AM10/29/16
to Android-rpi
final .config file is found in kernel/rpi folder as hidden file

 

Thien Pow Chong

unread,
Oct 29, 2016, 9:55:37 AM10/29/16
to Android-rpi
found another parameter that is required but not in the defconfig

CONFIG_SND_ARM=y

this is a must have too.

Igor Kalkov

unread,
Oct 29, 2016, 10:06:49 AM10/29/16
to Android-rpi
Good job! You can try setting the value manually after the merge tool (before compilation)

Thien Pow Chong

unread,
Oct 29, 2016, 1:27:49 PM10/29/16
to Android-rpi
just a little script to share with those who is building from source.
can save this script as copyBOOTSys.sh as shown in the pic and put it into the folder structure as RTAndroid.  then you can utilize the RTAndroid's install script to install after copying files.






#!/bin/bash

AndroidSrcPath="/media/thienpow/Backup/Android7Src"

copyfiles
()
{
    echo
" delete old files..."
    rm
-rf boot
    rm system
.img

    echo
" creating folders..."
    mkdir
-p boot/overlays

    echo
" copying files..."
    cp
-a "$AndroidSrcPath/device/brcm/rpi3/boot/" .
    cp
"$AndroidSrcPath/kernel/rpi/arch/arm/boot/zImage" boot
    cp
"$AndroidSrcPath/kernel/rpi/arch/arm/boot/dts/bcm2710-rpi-3-b.dtb" boot
    cp
"$AndroidSrcPath/kernel/rpi/arch/arm/boot/dts/overlays/vc4-kms-v3d.dtbo" boot/overlays

    cp
"$AndroidSrcPath/out/target/product/rpi3/ramdisk.img" boot

    cp
"$AndroidSrcPath/out/target/product/rpi3/system.img" .
}

copyfiles
echo
"All done. "



WalkOnATYCLB

unread,
Oct 29, 2016, 3:39:50 PM10/29/16
to Android-rpi
Does this mean this new image your making will allow sound in 3.5 jack and official Raspberry pi touch screen support?

Igor Kalkov

unread,
Oct 29, 2016, 4:14:49 PM10/29/16
to Android-rpi
It would be nice to get any kind of sound first, let's keep the steps small.
Here is a list of sound-related modules loaded by default on Raspbian:

kernel/sound/arm/snd-bcm2835.ko
Alsa driver for BCM2835

kernel/sound/core/snd.so
Advanced Linux Sound Architecture driver for soundcards

kernel/sound/core/snd-pcm.ko
Midlevel PCM code for ALSA

kernel/sound/core/snd-timer.so
ALSA timer interface

Thien Pow Chong

unread,
Oct 30, 2016, 3:36:52 AM10/30/16
to Android-rpi
i am adding what Igor has suggested too now.
below is what is not there before

CONFIG_SND_PCM=y
CONFIG_SND_TIMER=y

also i am modifying the audio_policy.conf which can be found in device/brcm/rpi3

global_configuration {
  attached_output_devices AUDIO_DEVICE_OUT_SPEAKER
  default_output_device AUDIO_DEVICE_OUT_SPEAKER
}


audio_hw_modules
{
  primary
{
    outputs
{
      primary
{
        sampling_rates
48000
        channel_masks AUDIO_CHANNEL_OUT_STEREO
        formats AUDIO_FORMAT_PCM_16_BIT
        devices AUDIO_DEVICE_OUT_SPEAKER
        flags AUDIO_OUTPUT_FLAG_PRIMARY
     
}
      hdmi
{
        sampling_rates
44100|48000
        channel_masks
dynamic
        formats AUDIO_FORMAT_PCM_16_BIT
        devices AUDIO_DEVICE_OUT_AUX_DIGITAL
        flags AUDIO_OUTPUT_FLAG_DIRECT
     
}
   
}
 
}
}

not sure if it works.

hate the 4 hours per make... my pc too slow.

Igor Kalkov

unread,
Oct 30, 2016, 8:30:41 AM10/30/16
to Android-rpi
Not sure if this is relevant, but found these lines in the logcat:

01-01 00:00:32.908   436   436 I SystemServer: StartWiredAccessoryManager
01-01 00:00:32.910   436   436 W WiredAccessoryManager: This kernel does not have wired headset support
01-01 00:00:32.911   436   436 W WiredAccessoryManager: This kernel does not have usb audio support
01-01 00:00:32.911   436   436 W WiredAccessoryManager: This kernel does not have HDMI audio support

Thien Pow Chong

unread,
Oct 30, 2016, 10:52:57 PM10/30/16
to Android-rpi
can use "make menuconfig" in kernel/rpi folder to check which driver is loaded into the kernel

from the peyo source, sound and gpio was not loaded as built in driver for kernel.
so if your touch screen was connected via gpio then it might not work but if connected via usb, it should work out of the box bcos the mice and touchscreen driver was included.



Thien Pow Chong

unread,
Oct 30, 2016, 11:55:17 PM10/30/16
to Android-rpi

yes, hdmi audio is not loaded into the kernel.




Igor Kalkov

unread,
Oct 31, 2016, 2:49:10 AM10/31/16
to Android-rpi
Did you get audio working by enabling this option?

Thien Pow Chong

unread,
Oct 31, 2016, 2:51:10 AM10/31/16
to Igor Kalkov, Android-rpi
not tested yet. will try to dig more first... 

Sent from Nylas N1, the extensible, open source mail client.

On Oct 31 2016, at 2:49 pm, Igor Kalkov <k4l...@gmail.com> wrote:

Did you get audio working by enabling this option?

--
You received this message because you are subscribed to a topic in the Google Groups "Android-rpi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-rpi/x8H3iRjuv-k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-rpi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-rpi/c18fa6cf-a2a8-4835-81aa-93dd65861069%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Thien Pow Chong

unread,
Oct 31, 2016, 7:20:28 AM10/31/16
to Android-rpi
anyway to build faster?

after changing a few config, rebuild for 4 hours already... :'(

Igor Kalkov

unread,
Oct 31, 2016, 8:04:14 AM10/31/16
to Android-rpi
RAM / SSD / CPU are crucial. Are you building the kernel only or the full platform?
On my machine kernel compilation takes about 5 minutes. The full platform about 1 hour.

Thien Pow Chong

unread,
Oct 31, 2016, 9:06:40 AM10/31/16
to Android-rpi
i am changing another pc. it's just crazy have to wait all day.

ubunt...@gmail.com

unread,
Nov 8, 2016, 10:39:11 AM11/8/16
to Android-rpi

Hi folks,

I have tested all the trial and error cases Thein and Igor have suggested, but still couldn't get the audio :(..
Still I could see the logcat logs as below,

01-01 00:01:05.248   400   400 W WiredAccessoryManager: This kernel does not have wired headset support
01-01 00:01:05.249   400   400 W WiredAccessoryManager: This kernel does not have usb audio support
01-01 00:01:05.249   400   400 W WiredAccessoryManager: This kernel does not have HDMI audio support 


Anything else which we can try? If anyone can give pointers then i would try, test and share the results as i have faster PC.

Thanks

On Monday, 31 October 2016 09:06:40 UTC-4, Thien Pow Chong wrote:
i am changing another pc. it's just crazy have to wait all day.

Thien Pow Chong

unread,
Nov 8, 2016, 7:16:23 PM11/8/16
to Android-rpi, ubunt...@gmail.com
there are some stanza/settings have to be added to the rpi3.mk but i am not sure what is it...

if you have fast internet too can try download the banana pi source code and see how they load the hdmi and sound at the .mk
ftp://pub:bana...@dev.banana-pi.org.cn/Source_Code/bpi2/BPI-M2-Android4.4.tar.gz

Thien Pow Chong

unread,
Nov 9, 2016, 10:09:49 AM11/9/16
to Android-rpi, ubunt...@gmail.com
just found someone tried on the mk file

https://github.com/android-raspi/android_device_broadcom_rpi3/blob/aosp-7.1/device.mk
look at the line 85 onwards.

and he has a custom boot mk with modules/driver install 
https://github.com/android-raspi/android_device_broadcom_rpi3/blob/aosp-7.1/custombootimg.mk

ubunt...@gmail.com

unread,
Nov 9, 2016, 4:36:41 PM11/9/16
to Android-rpi, ubunt...@gmail.com
Thanks for the inputs, will try and let u guys know.

Thien Pow Chong

unread,
Nov 10, 2016, 9:28:12 AM11/10/16
to Android-rpi, ubunt...@gmail.com
found another suspect

android.hardware.audio.pro

this should included to 
rpi3_core_hardware.xml

Igor Kalkov

unread,
Nov 10, 2016, 12:02:47 PM11/10/16
to Android-rpi, ubunt...@gmail.com
Good finding! Are you building it already or should I test it next days?

ubunt...@gmail.com

unread,
Nov 10, 2016, 4:20:25 PM11/10/16
to Android-rpi, ubunt...@gmail.com
I tried adding android.hardware.audio.pro to rpi3_core_hardware.xml. Compiled and tested but still the audio doesn't work!
Anyone got success?

Thien Pow Chong

unread,
Nov 11, 2016, 6:45:36 AM11/11/16
to Android-rpi, ubunt...@gmail.com
found 1 more suspect

i looked into the differences of the android 6 and android 7

android 6 local_manifests has the following 2 lines
<project path="hardware/amlogic/audio" name="hardware_amlogic_audio" revision="master" remote="peyo"/> <project path="hardware/amlogic/libstagefrighthw" name="hardware_amlogic_libstagefrighthw" revision="marshmallow" remote="peyo"/> hopefully this is the very last missing part.

Thien Pow Chong

unread,
Nov 11, 2016, 7:28:51 AM11/11/16
to Android-rpi, ubunt...@gmail.com
sorry 2 more lines that is required... din't see it earlier. <remove-project name="platform/external/tinyalsa" /> <project path="external/tinyalsa" name="external_tinyalsa" revision="marshmallow" remote="peyo" />


Thien Pow Chong

unread,
Nov 11, 2016, 8:36:26 AM11/11/16
to Android-rpi, ubunt...@gmail.com
but to make a correct config of these lines you can't simply copy and paste, bcos android 7 local_manifest point to the remote at https://github.com/codewalkerster
<remote name="hk" fetch="https://github.com/codewalkerster"/>
from there can find repo which is similar:

android_hardware_amlogic_libstagefrighthw
android_hardware_amlogic_audio
android_hardware_alsa_sound
android_external_alsa-utils
android_external_alsa-lib

so it should be config as example below:
<project path="android/hardware/amlogic/audio" name="android_hardware_amlogic_audio" revision="master" remote="hk"/> and so on as the list above...

something like that...

Thien Pow Chong

unread,
Nov 11, 2016, 9:40:52 AM11/11/16
to Android-rpi, ubunt...@gmail.com
sorry my suggestion has some error... bcos revision should be more specific to point to s905_5.1.1_master
and the path should just remove android
correct example: 

<project path="hardware/amlogic/audio" name="android_hardware_amlogic_audio" revision="s905_5.1.1_master" remote="hk"/> 

Thien Pow Chong

unread,
Nov 11, 2016, 9:47:25 AM11/11/16
to Android-rpi, ubunt...@gmail.com
btw, someone might want to test using mali driver with gpu support instead of software rendering... 
not sure if it's working... https://github.com/codewalkerster/android_hardware_arm_gpu/tree/s905_5.1.1_master/mali

Thien Pow Chong

unread,
Nov 11, 2016, 9:54:50 AM11/11/16
to Android-rpi, ubunt...@gmail.com
for display driver... look into these 2...

android_hardware_arm_gpu
android_hardware_amlogic_mali

Thien Pow Chong

unread,
Nov 11, 2016, 12:00:34 PM11/11/16
to Android-rpi, ubunt...@gmail.com
below are needed in BoardConfig.mk if you want to use the 3.5 audio jack. BOARD_USES_I2S_AUDIO := true #if you are using hifiBerry card for 120db BOARD_USES_PCM_AUDIO := true #analog, regular speaker BOARD_USES_SPDIF_AUDIO := true #if connect to hifi with RCA.. red/white output.

per...@gmail.com

unread,
Nov 11, 2016, 1:20:09 PM11/11/16
to Android-rpi
Hello

how possible to run webview or install app on this version?

Igor Kalkov

unread,
Nov 11, 2016, 4:20:48 PM11/11/16
to Android-rpi
Nice! Does it mean the audio jack works now with these changes?

Thien Pow Chong

unread,
Nov 12, 2016, 9:02:58 PM11/12/16
to Igor Kalkov, Android-rpi
just finished compiled... still failed... :'(


Sent from Nylas N1, the extensible, open source mail client.

On Nov 12 2016, at 5:20 am, Igor Kalkov <k4l...@gmail.com> wrote:

Nice! Does it mean the audio jack works now with these changes?

--

You received this message because you are subscribed to a topic in the Google Groups "Android-rpi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-rpi/x8H3iRjuv-k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-rpi...@googlegroups.com.

Thien Pow Chong

unread,
Nov 12, 2016, 9:13:25 PM11/12/16
to Igor Kalkov, Android-rpi
from the logcat, AudioPolicy is set, AudioFlinger is running...

and i picked all ALSA as built-in kernel.. 

i think the very last part i din't check is the Audio HAL...


Sent from Nylas N1, the extensible, open source mail client.
audio.png

ubunt...@gmail.com

unread,
Nov 15, 2016, 2:40:08 PM11/15/16
to Android-rpi, k4l...@gmail.com
Hi,

I changed few kernel configurations and
I could see following serial messages on my board at start up,

[    4.070258] ALSA device list:
[    4.070263]   #0: Dummy 1
[    4.070268]   #1: Loopback 1
[    4.070272]   #2: bcm2835 ALSA

something can be derived from this?

ZPOW

unread,
Nov 16, 2016, 12:08:19 PM11/16/16
to ubunt...@gmail.com, Android-rpi, Igor Kalkov
peyo's kernel_rpi is not updated.  from the bcm2709_defconfig
last updated date is Aug.

while the official rpi-4.4.y last updated is 15 days ago.
https://github.com/raspberrypi/linux/blob/rpi-4.4.y/arch/arm/configs/bcm2709_defconfig

i think it could be the firmware doesn't match the kernel source

ZPOW

unread,
Nov 16, 2016, 7:04:02 PM11/16/16
to ubunt...@gmail.com, Android-rpi, Igor Kalkov
1532 commits behind...
peyo.png

ZPOW

unread,
Nov 16, 2016, 7:24:24 PM11/16/16
to ubunt...@gmail.com, Android-rpi, Igor Kalkov
specifically "Sound" is 472 commits behind

ZPOW
sound.png

Igor Kalkov

unread,
Dec 7, 2016, 6:16:57 AM12/7/16
to Android-rpi
It seems Peter updated his repositories. Did it help?

jag...@gmail.com

unread,
Dec 8, 2016, 7:12:05 AM12/8/16
to Android-rpi
Hello everyone.

Thank you for your work.

You know if you already have the appropriate settings to get the audio in raspberry with Android 7.X.

Thank you all and very grateful for your work.

maurice...@gmail.com

unread,
Dec 11, 2016, 9:43:51 AM12/11/16
to Android-rpi, jag...@gmail.com
Hello Jag,

Do I understand this correctly, do you have working HDMI or 3.5mm Jack sound on the RTAndroid release with some settings?

Do you might want to share these settings?

Op donderdag 8 december 2016 13:12:05 UTC+1 schreef jag...@gmail.com:

jag...@gmail.com

unread,
Dec 11, 2016, 9:48:23 AM12/11/16
to Android-rpi
Nooo.
On the contrary, I do not have sound and I appreciate the work they are doing in this forum. Google translator is bad

maurice...@gmail.com

unread,
Dec 11, 2016, 10:12:55 AM12/11/16
to Android-rpi, jag...@gmail.com
too bad, I was hoping someone found a solution :)

Op zondag 11 december 2016 15:48:23 UTC+1 schreef jag...@gmail.com:

secuflag

unread,
Dec 14, 2016, 9:42:02 AM12/14/16
to Android-rpi
Hi all,

I just pushed a workaround for the audio issue on Nougat, see here: https://github.com/peyo-hd/device_brcm_rpi3/pull/52

Igor Kalkov

unread,
Dec 14, 2016, 11:08:24 AM12/14/16
to Android-rpi
Does it fix HDMI or audio jack?

neilcu...@googlemail.com

unread,
Dec 14, 2016, 4:43:45 PM12/14/16
to Android-rpi
Android-Things uses a different overlay for the sound:

dtoverlay=pwn-2chan-with-clk,pin=18,func=2,pin2=13,func2=4

I will try this out tomorrow

Igor Kalkov

unread,
Dec 15, 2016, 6:52:06 AM12/15/16
to Android-rpi, neilcu...@googlemail.com
Great, thanks. Please keep up up-to-date.

neilcu...@googlemail.com

unread,
Dec 15, 2016, 2:59:09 PM12/15/16
to Android-rpi, neilcu...@googlemail.com
Done some reading, this appears to be for directing audio to the GPIO pins.

On a side note - I updated from 20161208 to 20161214 and appeared to lose the App Draw button.

Igor Kalkov

unread,
Dec 16, 2016, 11:39:24 AM12/16/16
to Android-rpi, neilcu...@googlemail.com
Google has redesigned the Launcher. Depending on your screen you have to swipe from the bottom to see the app drawer.

approx4...@gmail.com

unread,
Dec 24, 2016, 6:37:19 AM12/24/16
to Android-rpi
As I said on the PR. I wanted to mention that here as well. This .so file can be copied to the respective folder in RTAndroid (and probably the other Nougat ROMs, too) to enable HDMI audio. That's a very nice catch. Thanks a lot.

That would be:
https://github.com/secuflag/device_brcm_rpi3/blob/429b332cc1ace266eeb13ccd1e17f08a3d10f960/audio.primary.rpi3.so?raw=true
to "system/lib/hw/" on the system partition.
Message has been deleted

louisru...@gmail.com

unread,
Dec 24, 2016, 10:09:15 PM12/24/16
to Android-rpi
Confirmed HDMI Audio works on rtandroid-aosp--7.1-20161224-rpi3.zip with workaround .so file.

maurice...@gmail.com

unread,
Dec 25, 2016, 8:28:45 AM12/25/16
to Android-rpi, approx4...@gmail.com

Great work, just wanted to let you guys know that it also worked for me on the 24-12-216 version.


Op zaterdag 24 december 2016 12:37:19 UTC+1 schreef approx4...@gmail.com:

Igor Kalkov

unread,
Jan 2, 2017, 3:37:39 PM1/2/17
to Android-rpi, approx4...@gmail.com, maurice...@gmail.com
Thanks for your work, guys. I don't like the idea of copying binary files, but your finding brought me on the right track and we fixed the audio issue in the most recent build.

approx4...@gmail.com

unread,
Jan 3, 2017, 6:49:46 PM1/3/17
to Android-rpi, approx4...@gmail.com, maurice...@gmail.com
Awesome! I find it really impressive, that the RPi3 is able to run a much newer version of android than the vast majority of android devices on the market. And open source solutions contribute to keeping it this way. So thanks.

I believe that working audio will make it more interesting to many more people, resulting in a bigger community and more development over all. I've been excited about the earlier android experiments back on the older raspberries, only to be disappointed when those blog entries were never updated after a few months. And it seems that the raspberry pi android repository at Google https://android.googlesource.com/device/pifoundation/rpi3/ was intented for Android Things all along, however I do not think this IoT OS does the raw power of the RPi3 justice. Since the RPi3 will probably not be superseded by a RPi4 in the near Future https://www.raspberrypi.org/help/faqs/#generalFuture the efforts can be concentrated on this device, without the dreadful "The device 'n' is dead! Long live device 'n+1'!" scenario. I hope this effort stays alive for the next few android releases to come.

grape...@gmail.com

unread,
Jan 4, 2017, 1:26:38 AM1/4/17
to Android-rpi
Awesome! I find it really impressive, that the RPi3 ARM single board computer is able to run a much newer version of android than the vast majority of android devices on the market. And open source solutions contribute to keeping it this way. So thanks.

On Friday, October 21, 2016 at 9:40:49 PM UTC+8, Peter Yoon wrote:
Update Android version to android-7.1.0_r4

On this build, Android SDK API Level is 25 - which is matched to following post : 

Tablet mode Settings app is still crashing, Try LeanbackLauncher & TvSettings

On Friday, October 7, 2016 at 3:55:57 AM UTC+9, Peter Yoon wrote:
Updated Android version to android-7.0.0_r14

Updated Boot firmware & Kernel version to 4.4.22

On Wednesday, August 24, 2016 at 11:20:45 PM UTC+9, Peter Yoon wrote:

It's on early stage, but some features are tested like followings.

- Android UI with VC4 gpu (1280x720 resolution)
- Graphics output to HDMI port. (Audio not working)
- USB keyboard / mouse
- Ethernet
- On-board WIFI / BT

- Tablet mode Settings app is crashing, Try LeanbackLauncher & TvSettings.

Ivan Enev

unread,
Jan 4, 2017, 1:58:17 PM1/4/17
to Android-rpi
It doesn't work for me. No audio at all! Is there anything I can try to get it to work. Any specific settings in the config.txt perhaps?

approx4...@gmail.com

unread,
Jan 4, 2017, 2:17:25 PM1/4/17
to Android-rpi
This works on my LG Flatron W2261VP:

hdmi_force_hotplug=1
hdmi_drive=2
hdmi_group=1
hdmi_mode=16

maurice...@gmail.com

unread,
Jan 15, 2017, 9:19:53 AM1/15/17
to Android-rpi

I currently have the issue that it worked on my computer screen with audio, but when I connect the raspberry Pi to my car Stereo the screen displays a green stripe and it does not fill the entire screen, also the audio does not work on my car stereo. See picture below for info, if I need to upload some debugging information, please let me know what and where to find it. the car stereo I am using is the folowing (the link is dutch, could not find the english version...): http://www.kenwood.nl/car/navigatie_multimedia/mulimedia/DNR8025BT/?view=details



Op vrijdag 21 oktober 2016 15:40:49 UTC+2 schreef Peter Yoon:

Igor Kalkov

unread,
Jan 15, 2017, 11:19:44 AM1/15/17
to Android-rpi, maurice...@gmail.com
Are you using the audio jack? I don't know whether it's operational - for now only the HDMI audio is working.
What kind of screen are you using?

maurice...@gmail.com

unread,
Jan 15, 2017, 11:43:03 AM1/15/17
to Android-rpi
I am using HDMI audio on the car stereo: http://www.kenwood-electronics.co.uk/car/nav_mm/mm/DNR8025BT/

it has a 800x640 pixels screen. I removed all couplers and it is now a directly connected without extensions, I also tried disabling the overscan, but still the green stripe with no audio.

hdmi_group 2
hdmi_mode 7

buildprop also changed to the apropiate resolution.

Igor Kalkov

unread,
Jan 15, 2017, 12:15:54 PM1/15/17
to Android-rpi, maurice...@gmail.com
Well, the green stripe (no idea what that is!) and the audio are separate issues. Does your device generally supports HDMI audio (did you test it in other setups)?

maurice...@gmail.com

unread,
Jan 15, 2017, 12:19:46 PM1/15/17
to Android-rpi
the chromecast version 1 works like a charm with the sound and video 😉

maurice...@gmail.com

unread,
Jan 21, 2017, 8:31:21 AM1/21/17
to Android-rpi
So I ust finished fixing the resolution, I connected my Linux laptop to it and found it could handle a much larger resolution then expected:
[   505.846] (II) RADEON(0): EDID vendor "JKC", prod id 1280
[   505.846] (II) RADEON(0): Using hsync ranges from config file
[   505.846] (II) RADEON(0): Using vrefresh ranges from config file
[   505.846] (II) RADEON(0): Printing DDC gathered Modelines:
[   505.846] (II) RADEON(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 -hsync -vsync (45.0 kHz eP)
[   505.846] (II) RADEON(0): Modeline "720x480"x0.0   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[   505.846] (II) RADEON(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[   505.846] (II) RADEON(0): Modeline "1920x1080i"x0.0   74.25  1920 2008 2052 2200  1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[   505.846] (II) RADEON(0): Modeline "1280x720"x0.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
and gave the following settings in config.txt (build.prop resolution is 1280x720)
hdmi_force_hotplug=1
hdmi_drive
=2
hdmi_group
=1
hdmi_mode
=4
disable_overscan
=1
config_hdmi_boost
=5
kernel
=zImage
device_tree
=bcm2710-rpi-3-b.dtb
dtparam
=audio=on
dtparam
=i2c1=on
dtparam
=i2c_arm=on
dtoverlay
=vc4-kms-v3d,cma-256
initramfs ramdisk
.img 0x01f00000
mask_gpu_interrupt0
=0x400
avoid_warnings
=2
gpu_mem
=256
enable_uart
=1

The image is still a little out of the screen (left and top, but overscan cannot fix this) but this is not a big point for me, it works great :D

My biggest problem is the sound ;)
Is there any way for me to get the sound working, can I get some information like the logging of the resolution to find out if there are protocols which are not supported on the raspberry pi? Or does someone know what goes wrong?

Igor Kalkov

unread,
Jan 21, 2017, 11:18:57 AM1/21/17
to Android-rpi, maurice...@gmail.com
Well, if the HDMI audio is working with other devices, I really don't know why it doesn't work with this one.
Does this device have a separate audio input? You could use the audio jack instead.
Regarding the logs, if you can connect it to network, you can pull ADB and/or kernel logs.

ZPOW

unread,
Jan 21, 2017, 9:14:49 PM1/21/17
to Igor Kalkov, Android-rpi, maurice...@gmail.com
1. how many speaker on your car?
2. check if your original 2din connected to "amplifier".

if you have many speaker and the 2din do not connect to any amplifier, then the pi wont provide enough power to the speaker to generate sound.  you need to connect an amplifier to the speaker, then from the pi audio to the amplifier.

ZPOW

--
You received this message because you are subscribed to a topic in the Google Groups "Android-rpi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-rpi/x8H3iRjuv-k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-rpi+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-rpi/9996e0fc-91be-4d2a-9210-1dc200e93cf6%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

maurice...@gmail.com

unread,
Jan 21, 2017, 11:06:41 PM1/21/17
to Android-rpi
The 2din is not connected to an external amplifier, but it has an internal one, the chromecast does also not have the capability to provide the correct strength to ¨amplify¨ this much. On the other hand, neither does the HDMI cable have that capability. All the sound that goes through HDMI is digital and the ¨receiver¨ can convert this to it's internal, or external amplifier. So I think that the digital sound connection through HDMI goes wrong somewhere (it can be possible that the raspbery pi want's to communicate using a protocol that is maybe to new for the car stereo?). For the record, my car has in the front: 2 tweeters and 2 mid-speakers/subwoofers and in the back 2 tweeters and one subwoofer with an own amplifier, which get's the signal from the rear tweeters, so 6 speakers on the internal amplifier.

Below is the message log, do you know if there are other logs which can contain more information about this, and where can I find them :) ?
I could not find an direct error for the sound problem, but there are a lot of ¨no such file or directory¨, is this normal or are you guys working on this?
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.39+ (jenkins@halhof) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Jan 10 01:37:09 CET 2017
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 256 MiB at 0x10000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 192512
[    0.000000] free_area_init_node: node 0, pgdat c0d559c0, node_mem_map ee8d5000
[    0.000000]   Normal zone: 1692 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 192512 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (101480->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 12 pages/cpu @ee894000 s18752 r8192 d22208 u49152
[    0.000000] pcpu-alloc: s18752 r8192 d22208 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 190820
[    0.000000] Kernel command line: 8250.nr_uarts=1 cma=256M@256M dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=720 bcm2709.boardrev=0xa02082 bcm2709.serial=0x5d62a4d4 smsc95xx.macaddr=B8:27:EB:62:A4:D4 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  initrd=0x01f00000 dwc_otg.lpm_enable=0 console=ttyS0,115200 no_console_suspend root=/dev/ram0 acpi_irq_nobalance noirqbalance isolcpus=1 elevator=deadline rootwait androidboot.hardware=rpi3 androidboot.selinux=permissive
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 484800K/770048K available (8196K kernel code, 345K rwdata, 2420K rodata, 1024K init, 550K bss, 23104K reserved, 262144K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xef800000 - 0xff800000   ( 256 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef000000   ( 752 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0b5e00c   (11609 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0d56560   ( 346 kB)
[    0.000000]        .bss : 0xc0d59000 - 0xc0de2948   ( 551 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     RCU kthread priority: 1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000023] Switching to timer-based delay loop, resolution 52ns
[    0.000254] Console: colour dummy device 80x30
[    0.000285] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[    0.000303] pid_max: default: 32768 minimum: 301
[    0.000422] Security Framework initialized
[    0.000438] SELinux:  Initializing.
[    0.000489] SELinux:  Starting in permissive mode
[    0.000535] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000549] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001546] Disabling cpuset control group subsystem
[    0.001575] Initializing cgroup subsys io
[    0.001599] Initializing cgroup subsys memory
[    0.001636] Initializing cgroup subsys devices
[    0.001653] Initializing cgroup subsys freezer
[    0.001670] Initializing cgroup subsys net_cls
[    0.001684] Initializing cgroup subsys debug
[    0.001720] CPU: Testing write buffer coherency: ok
[    0.002259] CPU0: update cpu_capacity 1024
[    0.002272] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002283] [bcm2709_smp_prepare_cpus] enter
[    0.002358] Setting up static identity map for 0x100000 - 0x100034
[    0.011068] [bcm2709_boot_secondary] cpu:1 started (0) 17
[    0.011256] [bcm2709_secondary_init] enter cpu:1
[    0.011292] CPU1: update cpu_capacity 1024
[    0.011299] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.014103] [bcm2709_boot_secondary] cpu:2 started (0) 18
[    0.014244] [bcm2709_secondary_init] enter cpu:2
[    0.014265] CPU2: update cpu_capacity 1024
[    0.014271] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.017148] [bcm2709_boot_secondary] cpu:3 started (0) 17
[    0.017277] [bcm2709_secondary_init] enter cpu:3
[    0.017297] CPU3: update cpu_capacity 1024
[    0.017304] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.017371] Brought up 4 CPUs
[    0.017394] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.017402] CPU: All CPU(s) started in HYP mode.
[    0.017410] CPU: Virtualization extensions available.
[    0.017944] devtmpfs: initialized
[    0.031017] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.031360] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.043291] pinctrl core: initialized pinctrl subsystem
[    0.043975] NET: Registered protocol family 16
[    0.050380] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.060723] bcm2709: Mini UART enabled
[    0.060766] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.060776] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.060938] Serial: AMBA PL011 UART driver
[    0.061093] uart-pl011 3f201000.uart: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[    0.061265] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.127840] SCSI subsystem initialized
[    0.128023] usbcore: registered new interface driver usbfs
[    0.128107] usbcore: registered new interface driver hub
[    0.128210] usbcore: registered new device driver usb
[    0.128434] media: Linux media interface: v0.10
[    0.128508] Linux video capture interface: v2.00
[    0.129621] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-01-04 15:10
[    0.155453] Advanced Linux Sound Architecture Driver Initialized.
[    0.158821] clocksource: Switched to clocksource arch_sys_counter
[    0.159332] FS-Cache: Loaded
[    0.159539] CacheFiles: Loaded
[    0.172208] NET: Registered protocol family 2
[    0.173006] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.173121] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.173309] TCP: Hash tables configured (established 8192 bind 8192)
[    0.173409] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.173458] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.173709] NET: Registered protocol family 1
[    0.174076] RPC: Registered named UNIX socket transport module.
[    0.174087] RPC: Registered udp transport module.
[    0.174095] RPC: Registered tcp transport module.
[    0.174103] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.174384] Trying to unpack rootfs image as initramfs...
[    0.296503] Freeing initrd memory: 1516K (c1f00000 - c207b000)
[    0.299098] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.300538] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.300644] audit: initializing netlink subsys (disabled)
[    0.300700] audit: type=2000 audit(0.296:1): initialized
[    0.313567] VFS: Disk quotas dquot_6.6.0
[    0.313868] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.316208] FS-Cache: Netfs 'nfs' registered for caching
[    0.317194] NFS: Registering the id_resolver key type
[    0.317240] Key type id_resolver registered
[    0.317249] Key type id_legacy registered
[    0.317569] fuse init (API version 7.23)
[    0.319129] SELinux:  Registering netfilter hooks
[    0.320850] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.320977] io scheduler noop registered
[    0.320994] io scheduler deadline registered (default)
[    0.321043] io scheduler cfq registered
[    0.324858] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.325883] console [ttyS0] disabled
[    0.325943] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 59, base_baud = 31250000) is a 16550
[    1.084928] console [ttyS0] enabled
[    1.089587] bcm2835-rng 3f104000.rng: hwrng registered
[    1.094949] vc-cma: Videocore CMA driver
[    1.098964] vc-cma: vc_cma_base      = 0x00000000
[    1.103773] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.109266] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.114988] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    1.124167] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.132107] [drm] Initialized drm 1.1.0 20060810
[    1.139270] [drm:vc4_hdmi_bind] *ERROR* Failed to get pixel clock
[    1.145503] vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
[    1.153272] vc4-drm soc:gpu: master bind failed: -517
[    1.173569] brd: module loaded
[    1.185244] loop: module loaded
[    1.189361] zram: Added device: zram0
[    1.194227] vchiq: vchiq_init_state: slot_zero = 0xd0480000, is_master = 0
[    1.202682] Loading iSCSI transport class v2.0-870.
[    1.208497] tun: Universal TUN/TAP device driver, 1.6
[    1.213645] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.220159] PPP generic driver version 2.4.2
[    1.224755] PPP BSD Compression module registered
[    1.229578] PPP Deflate Compression module registered
[    1.234759] PPP MPPE Compression module registered
[    1.239917] usbcore: registered new interface driver brcmfmac
[    1.245920] usbcore: registered new interface driver smsc95xx
[    1.251829] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.258481] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.464610] Core Release: 2.80a
[    1.467827] Setting default values for core params
[    1.472735] Finished setting default values for core params
[    1.678748] Using Buffer DMA mode
[    1.682124] Periodic Transfer Interrupt Enhancement - disabled
[    1.688054] Multiprocessor Interrupt Enhancement - disabled
[    1.693720] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.698157] Dedicated Tx FIFOs mode
[    1.702033] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xd0404000 dma = 0xd0404000 len=9024
[    1.712077] FIQ FSM acceleration enabled for :
[    1.712077] Non-periodic Split Transactions
[    1.712077] Periodic Split Transactions
[    1.712077] High-Speed Isochronous Endpoints
[    1.712077] Interrupt/Control Split Transaction hack enabled
[    1.734835] dwc_otg: Microframe scheduler enabled
[    1.734900] WARN::hcd_init_fiq:413: FIQ on core 1 at 0xc0509554
[    1.740911] WARN::hcd_init_fiq:414: FIQ ASM at 0xc050987c length 36
[    1.747272] WARN::hcd_init_fiq:439: MPHI regs_base at 0xef8b2000
[    1.753417] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.758497] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.765958] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    1.771667] Init: Port Power? op_state=1
[    1.775659] Init: Power Port (0)
[    1.779126] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.786037] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.793384] usb usb1: Product: DWC OTG Controller
[    1.798173] usb usb1: Manufacturer: Linux 4.4.39+ dwc_otg_hcd
[    1.804020] usb usb1: SerialNumber: 3f980000.usb
[    1.809509] hub 1-0:1.0: USB hub found
[    1.813366] hub 1-0:1.0: 1 port detected
[    1.817931] dwc_otg: FIQ enabled
[    1.817940] dwc_otg: NAK holdoff enabled
[    1.817947] dwc_otg: FIQ split-transaction FSM enabled
[    1.817975] Module dwc_common_port init
[    1.818215] usbcore: registered new interface driver usb-storage
[    1.824584] mousedev: PS/2 mouse device common for all mice
[    1.830371] usbcore: registered new interface driver xpad
[    1.835956] usbcore: registered new interface driver usb_acecad
[    1.842051] usbcore: registered new interface driver aiptek
[    1.847803] usbcore: registered new interface driver gtco
[    1.853389] usbcore: registered new interface driver hanwang
[    1.859221] usbcore: registered new interface driver kbtab
[    1.865187] usbcore: registered new interface driver usbtouchscreen
[    1.872172] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 83) (baudrate 100000)
[    1.881184] bcm2708_i2c 3f805000.i2c: BSC2 Controller at 0x3f805000 (irq 83) (baudrate 100000)
[    1.891092] IR NEC protocol handler initialized
[    1.895713] IR RC5(x/sz) protocol handler initialized
[    1.900863] IR RC6 protocol handler initialized
[    1.905482] IR JVC protocol handler initialized
[    1.910100] IR Sony protocol handler initialized
[    1.914820] IR SANYO protocol handler initialized
[    1.919707] IR Sharp protocol handler initialized
[    1.924506] IR MCE Keyboard/mouse protocol handler initialized
[    1.930447] IR XMP protocol handler initialized
[    1.935968] device-mapper: uevent: version 1.0.3
[    1.941176] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    1.951067] bcm2835-cpufreq: min=600000 max=1200000
[    1.957798] sdhci: Secure Digital Host Controller Interface driver
[    1.964073] sdhci: Copyright(c) Pierre Ossman
[    1.968670] sdhost: log_buf @ d0407000 (d0407000)
[    2.014843] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.020467] Indeed it is in host mode hprt0 = 00021501
[    2.031891] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    2.037819] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    2.067977] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.074330] ledtrig-cpu: registered to indicate activity on CPUs
[    2.080612] hidraw: raw HID events driver (C) Jiri Kosina
[    2.090559] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.099346] usbcore: registered new interface driver usbhid
[    2.100617] mmc0: new high speed SDHC card at address 59b4
[    2.100996] mmcblk0: mmc0:59b4 USD   15.0 GiB
[    2.115035] usbhid: USB HID core driver
[    2.119010] usbcore: registered new interface driver r8712u
[    2.119473]  mmcblk0: p1 p2 p3 p4
[    2.128087] usbcore: registered new interface driver r8188eu
[    2.133877] usbcore: registered new interface driver rtl8723au
[    2.139945] ashmem: initialized
[    2.145769] u32 classifier
[    2.148519]     Actions configured
[    2.150450] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.151946] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.153451] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.156159] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.174242] Netfilter messages via NETLINK v0.30.
[    2.179084] nf_conntrack version 0.5.0 (11694 buckets, 46776 max)
[    2.185783] ctnetlink v0.93: registering with nfnetlink.
[    2.191553] xt_time: kernel timezone is -0000
[    2.196304] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.201709] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.208336] Indeed it is in host mode hprt0 = 00001101
[    2.208435] arp_tables: (C) 2002 David S. Miller
[    2.208483] Initializing XFRM netlink socket
[    2.209226] NET: Registered protocol family 10
[    2.209913] mip6: Mobile IPv6
[    2.209930] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.210070] sit: IPv6 over IPv4 tunneling driver
[    2.210584] NET: Registered protocol family 17
[    2.210601] NET: Registered protocol family 15
[    2.210667] Key type dns_resolver registered
[    2.211544] Registering SWP/SWPB emulation handler
[    2.212121] vc-sm: Videocore shared memory driver
[    2.212128] [vc_sm_connected_init]: start
[    2.242592] mmc1: new high speed SDIO card at address 0001
[    2.329236] random: nonblocking pool is initialized
[    2.339114] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-cc4eda9c
[    2.368709] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[    2.445980] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.452784] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.460446] hub 1-1:1.0: USB hub found
[    2.464297] hub 1-1:1.0: 5 ports detected
[    2.499781] [vc_sm_connected_init]: end - returning 0
[    2.506060] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    2.515758] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops)
[    2.522137] vc4_dsi 3f700000.dsi: DSI not set up by firmware.
[    2.527980] vc4-drm soc:gpu: bound 3f700000.dsi (ops vc4_dsi_ops)
[    2.534183] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops)
[    2.540447] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops)
[    2.547406] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops)
[    2.554351] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops)
[    2.561675] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops)
[    2.568557] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.575351] [drm] Driver supports precise vblank timestamp query.
[    2.582273] vc4-drm soc:gpu: No connectors reported connected with modes
[    2.589101] [drm] Cannot find any crtc or sizes - going 1024x768
[    2.608274] Console: switching to colour frame buffer device 128x48
[    2.624190] vc4-drm soc:gpu: fb0:  frame buffer device
[    2.634034] of_cfs_init
[    2.636574] of_cfs_init: OK
[    2.642970] ALSA device list:
[    2.645991]   #0: bcm2835 ALSA
[    2.650442] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.658641] init: init first stage started!
[    2.667064] SELinux: 2048 avtab hash slots, 7057 rules.
[    2.671527] SELinux: 2048 avtab hash slots, 7057 rules.
[    2.671546] SELinux:  1 users, 2 roles, 666 types, 0 bools, 1 sens, 1024 cats
[    2.671554] SELinux:  63 classes, 7057 rules
[    2.673209] SELinux:  Completing initialization.
[    2.673216] SELinux:  Setting up existing superblocks.
[    2.685085] audit: type=1403 audit(2.681:2): policy loaded auid=4294967295 ses=4294967295
[    2.694146] init: (Initializing SELinux non-enforcing took 0.03s.)
[    2.703767] init: init second stage started!
[    2.714366] init: Running restorecon...
[    2.758887] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.795281] init: waitpid failed: No child processes
[    2.801051] init: (Loading properties from /default.prop took 0.00s.)
[    2.812935] init: (Parsing /init.environ.rc took 0.00s.)
[    2.818649] init: (Parsing /init.usb.rc took 0.00s.)
[    2.825026] init: (Parsing init.superuser.rc took 0.00s.)
[    2.830574] init: (Parsing init.rt.common.rc took 0.01s.)
[    2.836133] init: (Parsing init.rt.target.rc took 0.01s.)
[    2.841755] init: (Parsing /init.rpi3.rc took 0.02s.)
[    2.849175] init: (Parsing /init.usb.configfs.rc took 0.00s.)
[    2.855319] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.855434] init: (Parsing /init.zygote32.rc took 0.00s.)
[    2.855466] init: (Parsing /init.rc took 0.05s.)
[    2.856444] init: Starting service 'ueventd'...
[    2.857161] init: Waiting for /dev/.coldboot_done...
[    2.861185] ueventd: ueventd started!
[    2.885899] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.896394] smsc95xx v1.0.4
[    2.941497] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:62:a4:d4
[    3.093713] ueventd: Coldboot took 0.23s.
[    3.094571] init: Waiting for /dev/.coldboot_done took 0.24s.
[    3.109055] init: write_file: Unable to open '/proc/sys/kernel/hung_task_timeout_secs': No such file or directory
[    3.119602] init: write_file: Unable to open '/proc/sys/kernel/sched_tunable_scaling': No such file or directory
[    3.129951] usb 1-1.5: new low-speed USB device number 4 using dwc_otg
[    3.136685] init: write_file: Unable to open '/proc/sys/kernel/sched_latency_ns': No such file or directory
[    3.146637] init: write_file: Unable to open '/proc/sys/kernel/sched_wakeup_granularity_ns': No such file or directory
[    3.158759] init: write_file: Unable to open '/dev/cpuctl/cpu.rt_period_us': Permission denied
[    3.167583] init: write_file: Unable to open '/dev/cpuctl/cpu.rt_runtime_us': Permission denied
[    3.176877] init: write_file: Unable to open '/dev/cpuctl/bg_non_interactive/cpu.rt_period_us': Permission denied
[    3.187328] init: write_file: Unable to open '/dev/cpuctl/bg_non_interactive/cpu.rt_runtime_us': Permission denied
[    3.200175] init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory
[    3.228686] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.237037] fs_mgr: __mount(source=/dev/block/mmcblk0p2,target=/system,type=ext4)=0
[    3.246008] EXT4-fs (mmcblk0p3): Ignoring removed nomblk_io_submit option
[    3.272089] usb 1-1.5: New USB device found, idVendor=046d, idProduct=c517
[    3.279076] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.286497] usb 1-1.5: Product: USB Receiver
[    3.290830] usb 1-1.5: Manufacturer: Logitech
[    3.306766] input: Logitech USB Receiver as /
devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:046D:C517.0001/input/input0
[    3.324553] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[    3.334945] fs_mgr: __mount(source=/dev/block/mmcblk0p3,target=/cache,type=ext4)=0
[    3.344845] EXT4-fs (mmcblk0p4): Ignoring removed nomblk_io_submit option
[    3.373301] logitech 0003:046D:C517.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-3f980000.usb-1.5/
input0
[    3.409301] logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
[    3.420287] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:046D:C517.0002/input/input1
[    3.433951] EXT4-fs (mmcblk0p4): 1 orphan inode deleted
[    3.439261] EXT4-fs (mmcblk0p4): recovery complete
[    3.484476] logitech 0003:046D:C517.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.5/input1
[    3.527331] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[    3.537693] fs_mgr: __mount(source=/dev/block/mmcblk0p4,target=/data,type=ext4)=0
[    3.571028] init: (Parsing /
system/etc/init/atrace.rc took 0.00s.)
[    3.578210] init: (Parsing /system/etc/init/audioserver.rc took 0.00s.)
[    3.585607] init: (Parsing /system/etc/init/bootanim.rc took 0.00s.)
[    3.592965] init: (Parsing /system/etc/init/bootstat.rc took 0.00s.)
[    3.600104] init: (Parsing /system/etc/init/cameraserver.rc took 0.00s.)
[    3.607719] init: (Parsing /system/etc/init/debuggerd.rc took 0.00s.)
[    3.614932] init: (Parsing /system/etc/init/drmserver.rc took 0.00s.)
[    3.622388] init: (Parsing /system/etc/init/dumpstate.rc took 0.00s.)
[    3.629588] init: (Parsing /system/etc/init/gatekeeperd.rc took 0.00s.)
[    3.637137] init: (Parsing /system/etc/init/init-debug.rc took 0.00s.)
[    3.644435] init: (Parsing /system/etc/init/installd.rc took 0.00s.)
[    3.651697] init: (Parsing /system/etc/init/keystore.rc took 0.00s.)
[    3.658835] init: (Parsing /system/etc/init/lmkd.rc took 0.00s.)
[    3.666013] init: (Parsing /system/etc/init/logcatd.rc took 0.00s.)
[    3.673095] init: (Parsing /system/etc/init/logd.rc took 0.00s.)
[    3.680035] init: (Parsing /system/etc/init/mdnsd.rc took 0.00s.)
[    3.686913] init: (Parsing /system/etc/init/mediacodec.rc took 0.00s.)
[    3.694352] init: (Parsing /system/etc/init/mediadrmserver.rc took 0.00s.)
[    3.702000] init: (Parsing /system/etc/init/mediaextractor.rc took 0.00s.)
[    3.709858] init: (Parsing /system/etc/init/mediaserver.rc took 0.00s.)
[    3.717383] init: (Parsing /system/etc/init/mtpd.rc took 0.00s.)
[    3.724312] init: (Parsing /system/etc/init/netd.rc took 0.00s.)
[    3.731067] init: (Parsing /system/etc/init/perfprofd.rc took 0.00s.)
[    3.738423] init: (Parsing /system/etc/init/racoon.rc took 0.00s.)
[    3.745406] init: (Parsing /system/etc/init/rild.rc took 0.00s.)
[    3.752361] init: (Parsing /system/etc/init/servicemanager.rc took 0.00s.)
[    3.760014] init: (Parsing /system/etc/init/surfaceflinger.rc took 0.00s.)
[    3.767861] init: (Parsing /system/etc/init/uncrypt.rc took 0.00s.)
[    3.774927] init: (Parsing /system/etc/init/vdc.rc took 0.00s.)
[    3.781763] init: (Parsing /system/etc/init/vold.rc took 0.00s.)
[    3.811286] init: write_file: Unable to open '/sys/kernel/debug/tracing/tracing_on': No such file or directory
[    3.823434] init: Starting service 'logd'...
[    3.837238] init: property_set("ro.build.characteristics", "tablet") failed
[    3.844771] init: (Loading properties from /system/build.prop took 0.01s.)
[    3.851948] init: (Loading properties from /vendor/build.prop took 0.00s.)
[    3.859028] init: (Loading properties from /factory/factory.prop took 0.00s.)
[    3.866466] init: /recovery not specified in fstab
[    3.879481] init: Starting service 'debuggerd'...
[    3.884933] init: do_start: Service debuggerd64 not found
[    3.892674] init: Starting service 'vold'...
[    3.928594] init: Not bootcharting.
[    4.139425] logd.auditd: start
[    4.143016] logd.klogd: 4140164269
[    4.638519] init: Starting service 'exec 1 (/
system/bin/tzdatacheck)'...
[    4.675770] init: Service '
exec 1 (/system/bin/tzdatacheck)' (pid 130) exited with status 0
[    4.688034] init: (Loading properties from /data/local.prop took 0.00s.)
[    4.824659] init: Starting service '
logd-reinit'...
[    4.832415] init: write_file: Unable to open '
/proc/sys/vm/min_free_order_shift': No such file or directory
[    4.846540] init: Starting service '
healthd'...
[    4.852678] init: Starting service '
lmkd'...
[    4.856035] binder: 132:132 transaction failed 29189, size 0-0
[    4.863316] logd.daemon: reinit
[    4.864507] init: Starting service '
servicemanager'...
[    4.865679] init: Starting service '
surfaceflinger'...
[    4.866663] init: Service '
logd-reinit' (pid 131) exited with status 0
[    4.867339] init: Starting service '
adbd'...
[    4.868189] init: Service '
adbd' is being killed...
[    4.871086] init: Starting service '
sysinit'...
[    4.872780] init: Starting service '
console'...
[    4.874008] init: cannot find '
/system/bin/update_verifier' (No such file or directory), disabling 'exec 2 (/system/bin/update_verifier)'
[    4.874083] init: cannot find '
/system/bin/install-recovery.sh' (No such file or directory), disabling 'flash_recovery'
[    4.874849] init: Starting service '
zygote'...
[    4.876387] init: Starting service '
audioserver'...
[    4.877622] init: Starting service '
cameraserver'...
[    4.879080] init: Starting service '
drm'...
[    4.879350] init: couldn'
t write 142 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[    4.880440] init: Starting service 'installd'...
[    4.881773] init: Starting service 'keystore'...
[    4.883145] init: Starting service 'mediacodec'...
[    4.884732] init: Starting service 'mediadrm'...
[    4.886110] init: Starting service 'mediaextractor'...
[    4.887486] init: Starting service 'media'...
[    4.888790] init: Starting service 'netd'...
[    4.890231] init: Starting service 'ril-daemon'...
[    4.891627] init: Starting service 'gatekeeperd'...
[    4.944563] type=1400 audit(4.940:3): avc: denied { getattr } for pid=141 comm="audioserver" path="/vendor" dev="rootfs" ino=84 scontext=u:r:audioserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
[    4.963359] type=1400 audit(4.958:4): avc: denied { getattr } for pid=142 comm="cameraserver" path="/vendor" dev="rootfs" ino=84 scontext=u:r:cameraserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
[    5.043233] type=1400 audit(5.038:5): avc: denied { getattr } for pid=146 comm="mediacodec" path="/vendor" dev="rootfs" ino=84 scontext=u:r:mediacodec:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
[    5.063460] type=1400 audit(5.039:6): avc: denied { getattr } for pid=147 comm="mediadrmserver" path="/vendor" dev="rootfs" ino=84 scontext=u:r:mediadrmserver:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
[    5.093458] init: Starting service 'perfprofd'...
[    5.305375] EXT4-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[    5.378936] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[    5.858963] healthd: No battery devices found
[    6.435171] init: Starting service 'bootanim'...
[    6.457891] type=1400 audit(6.450:7): avc: denied { getattr } for pid=204 comm="bootanimation" path="/vendor" dev="rootfs" ino=84 scontext=u:r:bootanim:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
[    6.556134] init: Starting service 'su_daemon'...
[    6.740941] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[    6.753117] init: Service 'sysinit' (pid 137) exited with status 0
[   12.905413] capability: warning: `main' uses 32-bit capabilities (legacy support in use)
[   22.387489] healthd: battery l=100 v=0 t=42.4 h=2 st=2 chg=a
[   22.971144] init: write_file: Unable to open '/proc/sys/vm/extra_free_kbytes': No such file or directory
[   25.429048] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   25.436420] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.947117] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   25.954129] brcmfmac: brcmf_add_if: ignore IF event
[   25.964146] brcmfmac: power management disabled
[   25.989775] init: Starting service 'wpa_supplicant'...
[   27.274136] brcmfmac: private ioctl SETSUSPENDMODE
[   28.749266] uart-pl011 3f201000.uart: no DMA platform data
[   29.488527] init: Service 'bootanim' (pid 204) exited with status 0
[   29.554970] init: Starting service 'sysinit'...
[   29.635253] EXT4-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[   29.650311] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[   30.051645] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[   30.070159] init: Service 'sysinit' (pid 779) exited with status 0
[   44.218470] type=1400 audit(44.212:8): avc: denied { read } for pid=1233 comm="Adjust-pool-6-t" name="address" dev="sysfs" ino=10055 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   44.240586] type=1400 audit(44.212:9): avc: denied { open } for pid=1233 comm="Adjust-pool-6-t" path="/sys/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0/address" dev="sysfs" ino=10055 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   44.269577] type=1400 audit(44.212:10): avc: denied { getattr } for pid=1233 comm="Adjust-pool-6-t" path="/sys/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0/address" dev="sysfs" ino=10055 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   53.611576] brcmfmac: private ioctl BTCOEXMODE
[   53.907336] brcmfmac: private ioctl BTCOEXMODE
[   53.924634] brcmfmac: private ioctl SETSUSPENDMODE
[   53.935718] brcmfmac: power management disabled
[   56.039278] brcmfmac: power management disabled
[   56.052002] brcmfmac: private ioctl BTCOEXMODE
[   56.493235] init: write_file: Unable to open '/proc/sys/net/ipv4/tcp_default_init_rwnd': No such file or directory
[   56.867801] type=1400 audit(56.863:11): avc: denied { read } for pid=1554 comm="Adjust-pool-6-t" name="address" dev="sysfs" ino=10055 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   56.921108] type=1400 audit(56.863:12): avc: denied { open } for pid=1554 comm="Adjust-pool-6-t" path="/sys/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0/address" dev="sysfs" ino=10055 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[   56.951404] type=1400 audit(56.863:13): avc: denied { getattr } for pid=1554 comm="Adjust-pool-6-t" path="/sys/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0/address" dev="sysfs" ino=10055 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  232.969267] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.

maurice...@gmail.com

unread,
Jan 22, 2017, 6:43:04 AM1/22/17
to Android-rpi, maurice...@gmail.com
Sorry, it was not the whole dmesg: http://pastebin.com/hbxr7HAD

Op zondag 22 januari 2017 05:06:41 UTC+1 schreef maurice...@gmail.com:
[    0.000000<span style="color: #660;" class="styled-

maurice...@gmail.com

unread,
Jan 22, 2017, 8:14:49 AM1/22/17
to Android-rpi, maurice...@gmail.com
Also, I tested sound from my laptop to the car stereo, and that works also.
I just came across the logcat, here are the logs: http://pastebin.com/24H6sjH8

Is it normal to have the following line in the logging?:
01-01 01:00:26.106   439   439 W WiredAccessoryManager: This kernel does not have HDMI audio support



Op zondag 22 januari 2017 12:43:04 UTC+1 schreef maurice...@gmail.com:

maurice...@gmail.com

unread,
Jan 25, 2017, 2:42:30 PM1/25/17
to Android-rpi
Anybody an idea?

Igor Kalkov

unread,
Jan 25, 2017, 3:39:32 PM1/25/17
to Android-rpi, maurice...@gmail.com
Sorry, I have no idea why the HDMI audio doesn't work with your stereo, but does work with a monitor :-/

maurice...@gmail.com

unread,
Jan 25, 2017, 3:42:35 PM1/25/17
to Android-rpi, maurice...@gmail.com
Yeah, on my monitors (IIyama ProLite E2473HS) it works fine.

Op woensdag 25 januari 2017 21:39:32 UTC+1 schreef Igor Kalkov:

maurice...@gmail.com

unread,
Jan 25, 2017, 3:44:33 PM1/25/17
to Android-rpi, maurice...@gmail.com
Is there any direction from here where I can help to resolve this issue?

Op woensdag 25 januari 2017 21:39:32 UTC+1 schreef Igor Kalkov:
Sorry, I have no idea why the HDMI audio doesn't work with your stereo, but does work with a monitor :-/

Igor Kalkov

unread,
Jan 25, 2017, 4:56:34 PM1/25/17
to Android-rpi, maurice...@gmail.com
Did you check the audio jack while connected to your car stereo (you have to change the configuration first - please read the FAQ at our homepage)? Just to make sure the audio is actually there and it is probably the HDMI-(format?) issue.

maurice...@gmail.com

unread,
Jan 26, 2017, 3:13:30 AM1/26/17
to Android-rpi, maurice...@gmail.com
I will try this tonight, also I will try the sound with another raspberry pi with another OS, maybe it's the raspberry pi itself ( I hope not :( ).

Op woensdag 25 januari 2017 22:56:34 UTC+1 schreef Igor Kalkov:

maurice...@gmail.com

unread,
Jan 26, 2017, 3:46:20 PM1/26/17
to Android-rpi, maurice...@gmail.com
I just tried the folowing things on two raspberry pi 3's:
raspberry pi with NOOBS:
- HDMI sound, works
- 3.5mm sound, works
Raspberry pi with RT Android 7.1 (build after sound fix, and the latest build):
- HDMI sound, does not work
- 3.5mm sound, works (but this is such a huge workaround, that I don't want to be permenent, it requires a lot of switching between my inputs on the car stereo)


Op woensdag 25 januari 2017 22:56:34 UTC+1 schreef Igor Kalkov:
Did you check the audio jack while connected to your car stereo (you have to change the configuration first - please read the FAQ at our homepage)? Just to make sure the audio is actually there and it is probably the HDMI-(format?) issue.

Igor Kalkov

unread,
Jan 26, 2017, 4:58:40 PM1/26/17
to Android-rpi, maurice...@gmail.com
Sorry, I have no clue what might be causing this. Maybe some kind of HDMI type mismatch (PCM / Bitstream / MHL) - unfortunately I don't know much about those.

maurice...@gmail.com

unread,
Jan 28, 2017, 3:51:42 PM1/28/17
to Android-rpi, maurice...@gmail.com

I just ruled out the power source, by using the exact powersupply I am using on the screen (I used a very long power extension cord :P ).
I pretty much ruled out every config.txt setting, those look like they don't do much:

######
## Default
######
hdmi_force_hotplug
=1
hdmi_drive
=2
hdmi_group
=1
hdmi_mode
=4
#disable_overscan=0
config_hdmi_boost
=5

######
## Custom
######
test_mode
hdmi_pixel_encoding
=1
hdmi_ignore_cec_init
=1
disable_audio_dither
=1
overscan_left
=800
overscan_top
=400
hdmi_edid_file
=1
#hdmi_ignore_edid_audio=1
hdmi_force_edid_audio
=1

######
## Default
######

kernel
=zImage
device_tree
=bcm2710-rpi-3-b.dtb
dtparam
=audio=on
dtparam
=i2c1=on
dtparam
=i2c_arm=on
dtoverlay
=vc4-kms-v3d,cma-256
initramfs ramdisk
.img 0x01f00000
mask_gpu_interrupt0
=0x400
avoid_warnings
=2
gpu_mem
=256
enable_uart
=1



I also tested another bitrate in the system/etc/audio_policy.conf (44100), no luck there, it works on the TV/Screen, but not on the car stereo. I tried to get some info with tvservice on raspian with the following result, but I do not know if those are supported with this Android:


Op donderdag 26 januari 2017 22:58:40 UTC+1 schreef Igor Kalkov:

maurice...@gmail.com

unread,
Jan 28, 2017, 4:38:24 PM1/28/17
to Android-rpi, maurice...@gmail.com
I forgot to post the full EDID information:
HDMI:EDID version 1.3, 1 extensions, screen size 16x9 cm
HDMI
:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI
:EDID found monitor name descriptor tag 0xfc
HDMI
:EDID monitor name is DNX571HD
HDMI
:EDID found monitor range descriptor tag 0xfd
HDMI
:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI
:EDID monitor range: vertical is 59-61 Hz, horizontal is 15-46 kHz, max pixel clock is 80 MHz
HDMI
:EDID monitor range does not support GTF
HDMI
:EDID found preferred CEA detail timing format: 1280x720p @ 60 Hz (4)
HDMI
:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
HDMI
:EDID established timing I/II bytes are 20 00 00
HDMI
:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI
:EDID standard timings block x 8: 0x0101 0101 0101 0101 0101 0101 0101 0101
HDMI
:EDID parsing v3 CEA extension 0
HDMI
:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
HDMI
:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI
:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI
:EDID found CEA format: code 2, 720x480p @ 60Hz
HDMI
:EDID found CEA format: code 1, 640x480p @ 60Hz
HDMI
:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16 bits
HDMI
:EDID found HDMI VSDB length 7
HDMI
:EDID HDMI VSDB has physical address 1.0.0.0
HDMI
:EDID HDMI VSDB supports AI:no, dual link DVI:no
HDMI
:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:no 30-bit:no DC_yuv444:no
HDMI
:EDID HDMI VSDB max TMDS clock 75 MHz
HDMI
:EDID HDMI VSDB has no latency information
HDMI
:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI
:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)
HDMI
:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 61864)
HDMI
:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 4566472)
HDMI
:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI
:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 5190888)
HDMI
:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI
:EDID preferred mode remained as CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz
HDMI
:EDID has HDMI support and audio support



Op zaterdag 28 januari 2017 21:51:42 UTC+1 schreef maurice...@gmail.com:

hannah....@gmail.com

unread,
Feb 4, 2017, 8:00:41 PM2/4/17
to Android-rpi
Hey guys does anyone know how they managed to compress the 8 gig .img file to 207mb?

maurice...@gmail.com

unread,
Feb 14, 2017, 3:18:55 PM2/14/17
to Android-rpi
Does nobody know where to debug next?......


Op vrijdag 21 oktober 2016 15:40:49 UTC+2 schreef Peter Yoon:
Update Android version to android-7.1.0_r4

Frans Thamura

unread,
Feb 19, 2017, 10:00:12 AM2/19/17
to Android-rpi
will this version add the "shutdown" apps?

or any idea to shut down the raspi after use it

my raspi3, work well with this version

F

Yuri Danilov

unread,
Feb 19, 2017, 11:06:15 AM2/19/17
to Android-rpi
Hi All .

Is the anybody have issue with LAN on this version ?
On my rpi3 LAN not works in settings not allowed LAN settings also no IP in About. In Linux the same LAN port works.
Wi-Fi works correctly.

Update Android version to android-7.1.0_r4

On this build, Android SDK API Level is 25 - which is matched to following post : 

Tablet mode Settings app is still crashing, Try LeanbackLauncher & TvSettings

rutvik.m...@gmail.com

unread,
May 15, 2019, 12:26:02 AM5/15/19
to Android-rpi
unable to execute this command:- lunch rpi3-eng



On Monday, 24 October 2016 23:04:35 UTC+5:30, Sahaj Sarup wrote:
Rt uses their own settings app
https://github.com/RTAndroid/android_packages_apps_Settings
Aosp settings crashes but we don't know why.
Reply all
Reply to author
Forward
0 new messages