Android installation

I’m having trouble getting a useable Android interface working on my new Zero. The process I’ve followed is below. I’ve recorded logs over the serial interface with PuTTY, but I can’t upload them as I’m a new user :frowning: .

  1. Start recording serial logs in PuTTY.
  2. Maskrom mode. Load radxa-zero-erase-mmc.bin
  3. In U-Boot shell run commands specified in https://wiki.radxa.com/Zero/install/Boot_Troubleshooting :
    mmc dev 2 0
    mmc erase 0 20000
    mmc dev 2 1
    mmc erase 0 2000
    mmc dev 2 2
    mmc erase 0 2000
    reset
  4. Following steps in https://wiki.radxa.com/Zero/install/eMMC_Android
    i. In maskrom mode, load bootloader.img
    ii. Run flash-all.bat, modified to remove reboot commands, like the Linux version of the script. I was really surprised - it worked this time (unlike the previous 5 attempts).
  5. Reboot into Android (fastboot reboot)
  6. Device shows an “MBOX” logo (“Make your life colorful”) and stops. Key message in serial logs appears to be:
    “vout: aml_tvout_mode_work: monitor_timeout”
    • Tried connecting a USB hub with mouse/keyboard - no change.
    • Unplug and replug USB cable - no change.
    • Try a different display (1080p native panel) - no change.
    • Serial console / shell is accessible. Caommands can be entered via PuTTY.
    • ADB reports a connected device.

I can’t upload the serial terminal logs and I’m not sure of what other kinds of boot messages to look for. Does anyone have any ideas on how to get the launcher displayed?

Edit: I found some video sub-system-related error messages…

[ 44.273601@3] Registered firmware driver success.
[ 44.275270@3] Try to load video/h264_enc.bin …
[ 44.281524@3] load firmware size : 76288, Name : video/h264_enc.bin.
[ 44.283711@3] the fw pack ver v0.0 is too lower.
[ 44.288270@3] it may work abnormally so need to be update in time.
[ 44.295104@3] Try to load video/video_ucode.bin …
[ 44.312247@3] load firmware size : 1706240, Name : video/video_ucode.bin.
[ 44.313607@3] the fw pack ver v0.2 is too lower.
[ 44.318025@3] it may work abnormally so need to be update in time.
[ 44.363793@1] Amlogic A/V streaming port init
[ 44.366042@1] get gate demux control ok ec480e80
[ 44.367120@1] get gate parser_top control ok ec480c80
[ 44.372210@1] get gate vdec control ok ec480a80
[ 44.376722@1] get gate clk_81 control ok ec480880
[ 44.381411@1] get gate clk_vdec_mux control ok ec480680
[ 44.386601@1] get gate clk_hcodec_mux control ok ec480480
[ 44.391951@1] get gate clk_hevc_mux control ok ec480280
[ 44.397153@1] get gate clk_hevcb_mux control ok ec480080
[ 44.402413@1] get gate ahbarb0 control ok ec480240
[ 44.407155@1] get gate asyncfifo control failed (null)
[ 44.439541@2] ammvdec_h264 module init
[ 44.469253@2] ammvdec_mpeg12 module init
[ 44.477711@0] ammvdec_mpeg4_driver_init_module
[ 44.506495@0] amvenc_avc_probe – reserved memory config fail.
[ 44.506688@0] amvenc_avc - cma memory pool size: 60 MB
[ 44.511888@0] encode_wq_init.
[ 44.514849@0] encode start monitor.
[ 44.518330@1] encode workqueue monitor start.
[ 44.527324@0] vpu_init
[ 44.527614@0] vpu_probe
[ 44.527627@0] HevcEnc reserved memory config fail.
[ 44.532196@0] HevcEnc - cma memory pool size: 64 MB
[ 44.536985@0] HevcEnc - wave420l_irq: 58
[ 44.540913@0] vpu base address get from platform driver physical base addr=0xff610000, virtual base=0xf251c000
[ 44.551107@0] success to probe vpu device with video memory from cma
[ 44.581466@1] audit: type=1400 audit(1420070450.920:8): avc: denied { setattr } for pid=1 comm=“init” name=“slabinfo” dev=“proc” ino=4026532011 scontext=u:r:init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0
[ 44.595822@1] audit: type=1400 audit(1420070450.936:9): avc: denied { setattr } for pid=1 comm=“init” name=“slabinfo” dev=“proc” ino=4026532011 scontext=u:r:init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0
[ 44.643755@3] logd.auditd: start
[ 44.820082@3] type=1400 audit(1420070451.160:10): avc: denied { write } for pid=2430 comm=“init” name="/" dev=“mmcblk0p20” ino=2 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
[ 44.838669@3] type=1400 audit(1420070451.160:11): avc: denied { write } for pid=2430 comm=“init” name="/" dev=“mmcblk0p20” ino=2 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
[ 44.853648@3] type=1400 audit(1420070451.164:12): avc: denied { setattr } for pid=2430 comm=“init” name=“media” dev=“mmcblk0p20” ino=917505 scontext=u:r:vendor_init:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=dir permissive=0
[ 44.926655@2] logd.daemon: reinit
[ 45.318740@3] fb: osd_open, 1497, fb_index=0,fb_rmem_size=26738688
[ 45.319437@3] fb: osd_open, 1497, fb_index=1,fb_rmem_size=1048576
[ 45.325463@3] fb: osd_open, 1497, fb_index=2,fb_rmem_size=1048576
[ 45.331630@3] fb: vpu clkc clock is 199 MHZ
[ 45.335633@3] vpu: switch_vpu_mem_pd: unsupport vpu mod: 53
[ 45.341177@3] fb: osd_open, 1497, fb_index=3,fb_rmem_size=8388608
[ 45.368773@3] hdmitx: system: restore hdcp_pwr 0
[ 45.374920@2] hdmitx: system: sname = 1080p60hz
[ 45.374953@2] hdmitx: system: char_clk = 148500
[ 45.378546@2] hdmitx: system: cd = 4
[ 45.382090@2] hdmitx: system: cs = 2
[ 45.385066@1] unifykey: amlkey_init_gen() enter!
[ 45.390212@2] hdmitx: RX tmds clk: 460 Calc clk: 148
[ 45.396708@2] type=1400 audit(1420070451.164:12): avc: denied { setattr } for pid=2430 comm=“init” name=“media” dev=“mmcblk0p20” ino=917505 scontext=u:r:vendor_init:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=dir permissive=0
[ 45.416023@2] type=1400 audit(1420070451.736:13): avc: denied { read } for pid=3168 comm=“android.hardwar” name=“u:object_r:default_prop:s0” dev=“tmpfs” ino=11633 scontext=u:r:hal_neuralnetworks_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0