Page 1 of 1

VLC for 2nd generation ARM based Google TV devices

Posted: 03 Aug 2012 22:59
by nbrunsga
Team,

2nd generation ARM based Google TV devices from Sony, LG and Vizio have started to ship. All have Marvell Armada 1500 CPUs. Will VLC for Android run on any of these?

LG: http://www.lg.com/us/lggoogletv/index.jsp
Sony: http://store.sony.com/p/NSZ-GS7/en/p/NSZGS7
Vizio: http://www.vizio.com/costar/overview

My Sony NSZGS7 has arrived and a Vizio Costar should arrive next week. Happy to test on both if a build is available.

cheers
Niels

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 04 Aug 2012 15:22
by edwardw
Team,

2nd generation ARM based Google TV devices from Sony, LG and Vizio have started to ship. All have Marvell Armada 1500 CPUs. Will VLC for Android run on any of these?

LG: http://www.lg.com/us/lggoogletv/index.jsp
Sony: http://store.sony.com/p/NSZ-GS7/en/p/NSZGS7
Vizio: http://www.vizio.com/costar/overview

My Sony NSZGS7 has arrived and a Vizio Costar should arrive next week. Happy to test on both if a build is available.

cheers
Niels
The Marvell Armanda 1500 seems to support ARMv7 and NEON, so you should be able to use the ARMv7+NEON builds: http://nightlies.videolan.org/build/android-v7-neon/

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 11 Aug 2012 00:39
by nbrunsga
I installed the suggested build on my Sony NSZGS7. Installation went smooth but when I try to run it I get this error message:

Sorry, but your device is currently not supported by this version of VLC for Android
The error message is (please mention this when debugging):
ARMv7 build on non-ARMv7 device

Hoping the info below is helpful. If not let me know what else to grab.

adb shell cat /proc/cpu
nfo
Processor : ARMv7 Processor rev 1 (v7l)
processor : 0
BogoMIPS : 1196.03

processor : 1
BogoMIPS : 1196.03

Features : swp half thumb fastmult vfp edsp iwmmxt neon vfpv3
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x2
CPU part : 0x584
CPU revision : 1

Hardware : MV88DE3100
Revision : 0000
Serial : 0000000000000000

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 24 Aug 2012 18:16
by nbrunsga
My Vizio Co-star (http://www.vizio.com/costar/overview) has arrived and I installed the Aug 24 nightly build from http://nightlies.videolan.org/build/android-v7-neon.

Not surprisingly I got the exact same results as with the Sony NSZGS7. When I try to run it I get this error message:

Sorry, but your device is currently not supported by this version of VLC for Android
The error message is (please mention this when debugging):
ARMv7 build on non-ARMv7 device

In the adb logcat I see these messages:

10-16 04:02:09.246 928 947 I PackageManager: Unpacking native libraries for /data/app/org.videolan.vlc-1.apk
10-16 04:02:09.296 928 947 W NativeHelper: Native ABI mismatch from package file
10-16 04:02:10.276 928 944 I ActivityManager: Force stopping package org.videolan.vlc uid=10045

As you can see below this is definitely an ARMv7 with NEON. The ABI however shows as [none]. Could that be the problem?

$adb shell cat /proc/cpuinfo
Processor : ARMv7 Processor rev 1 (v7l)
processor : 0
BogoMIPS : 1196.03

processor : 1
BogoMIPS : 1196.03

Features : swp half thumb fastmult vfp edsp iwmmxt neon vfpv3
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x2
CPU part : 0x584
CPU revision : 1

Hardware : MV88DE3100
Revision : 0000
Serial : 0000000000000000


$adb shell getprop
[dalvik.vm.heapgrowthlimit]: [96m]
[dalvik.vm.heapsize]: [256m]
[dalvik.vm.heapstartsize]: [5m]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
[debug.sf.nobootanimation]: [1]
[debug.sys.noschedgroups]: [1]
[dev.bootcomplete]: [1]
[gsm.current.phone-type]: [1]
[gsm.operator.alpha]: []
[gsm.operator.iso-country]: []
[gsm.operator.isroaming]: [false]
[gsm.operator.numeric]: []
[gsm.sim.operator.alpha]: []
[gsm.sim.operator.iso-country]: []
[gsm.sim.operator.numeric]: []
[gsm.sim.state]: [UNKNOWN]
[hw.keyboards.1.devname]: [marvell_ucd_remote]
[hw.keyboards.1.kcmfile]: [/system/usr/keychars/Generic.kcm]
[hw.keyboards.1.klfile]: [/system/usr/keylayout/marvell_ucd_remote.kl]
[hw.keyboards.10.devname]: []
[hw.keyboards.10.kcmfile]: []
[hw.keyboards.10.klfile]: []
[hw.keyboards.11.devname]: []
[hw.keyboards.11.kcmfile]: []
[hw.keyboards.11.klfile]: []
[hw.keyboards.2.devname]: [Bluetooth UCD Input]
[hw.keyboards.2.kcmfile]: [/system/usr/keychars/Generic.kcm]
[hw.keyboards.2.klfile]: [/system/usr/keylayout/Generic.kl]
[hw.keyboards.3.devname]: [Inafra-Red]
[hw.keyboards.3.kcmfile]: [/system/usr/keychars/Inafra-Red.kcm]
[hw.keyboards.3.klfile]: [/system/usr/keylayout/Inafra-Red.kl]
[hw.keyboards.4.devname]: [anymote]
[hw.keyboards.4.kcmfile]: [/system/usr/keychars/anymote.kcm]
[hw.keyboards.4.klfile]: [/system/usr/keylayout/anymote.kl]
[hw.keyboards.5.devname]: []
[hw.keyboards.5.kcmfile]: []
[hw.keyboards.5.klfile]: []
[hw.keyboards.6.devname]: []
[hw.keyboards.6.kcmfile]: []
[hw.keyboards.6.klfile]: []
[hw.keyboards.7.devname]: []
[hw.keyboards.7.kcmfile]: []
[hw.keyboards.7.klfile]: []
[hw.keyboards.8.devname]: []
[hw.keyboards.8.kcmfile]: []
[hw.keyboards.8.klfile]: []
[hw.keyboards.9.devname]: []
[hw.keyboards.9.kcmfile]: []
[hw.keyboards.9.klfile]: []
[init.svc.adbd]: [running]
[init.svc.appkillerNative]: [running]
[init.svc.av_settings]: [running]
[init.svc.berlin_avservice]: [running]
[init.svc.bluetoothd]: [running]
[init.svc.bootanim]: [stopped]
[init.svc.bt_cleareprom]: [stopped]
[init.svc.client_auth]: [running]
[init.svc.dbus]: [running]
[init.svc.debuggerd]: [running]
[init.svc.drm]: [running]
[init.svc.dumpstate]: [stopped]
[init.svc.flash_recovery]: [stopped]
[init.svc.hdmicec_service]: [running]
[init.svc.info_collector]: [running]
[init.svc.installd]: [running]
[init.svc.keystore]: [running]
[init.svc.lockManager]: [running]
[init.svc.media]: [running]
[init.svc.monitord]: [running]
[init.svc.netd]: [running]
[init.svc.netflix]: [running]
[init.svc.overscan_service]: [running]
[init.svc.refreshbtadapter]: [running]
[init.svc.schedaffinity]: [running]
[init.svc.servicemanager]: [running]
[init.svc.vianativeservice]: [running]
[init.svc.video_logo]: [stopped]
[init.svc.virtual_sdcard]: [running]
[init.svc.vizioirb_service]: [running]
[init.svc.vold]: [running]
[init.svc.vuevent]: [running]
[init.svc.zygote]: [running]
[net.bt.name]: [Android]
[net.change]: [net.dnschange]
[net.dns1]: [8.8.8.8]
[net.dnschange]: [1]
[net.hostname]: [android_cb63e5b4a3c22be0]
[net.tcp.buffersize.default]: [4096,87380,2826240,4096,16384,2826240]
[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
[net.tcp.buffersize.wifi]: [4096,87380,2826240,4096,16384,2826240]
[persist.burnley.proxy.enabled]: [0]
[persist.init.boot.token]: [6]
[persist.radio.testmode.enabled]: [0]
[persist.service.adb.client_ip]: [10.10.99.31]
[persist.service.adb.enable]: [1]
[persist.sys.profiler_ms]: [0]
[persist.sys.timezone]: [America/Denver]
[ro.BACKUP_APP_ADJ]: [5]
[ro.BACKUP_APP_MEM]: [14336]
[ro.CHROME_CRITICAL_OOM_ADJ]: [0]
[ro.CHROME_DISK_CACHE_SIZE]: [31457280]
[ro.CHROME_HIGH_OOM_ADJ]: [3]
[ro.CHROME_LOW_OOM_ADJ]: [3]
[ro.CHROME_MEDIA_CACHE_SIZE]: [31457280]
[ro.CHROME_MEDIUM_OOM_ADJ]: [3]
[ro.CONTENT_PROVIDER_ADJ]: [14]
[ro.CONTENT_PROVIDER_MEM]: [20480]
[ro.EMPTY_APP_ADJ]: [15]
[ro.EMPTY_APP_MEM]: [20480]
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.FOREGROUND_APP_MEM]: [8192]
[ro.HEAVY_WEIGHT_APP_ADJ]: [3]
[ro.HEAVY_WEIGHT_APP_MEM]: [12288]
[ro.HIDDEN_APP_MEM]: [16384]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.HOME_APP_ADJ]: [6]
[ro.HOME_APP_MEM]: [14336]
[ro.PERCEPTIBLE_APP_ADJ]: [2]
[ro.PERCEPTIBLE_APP_MEM]: [12288]
[ro.SECONDARY_SERVER_ADJ]: [4]
[ro.SECONDARY_SERVER_MEM]: [14336]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.VISIBLE_APP_MEM]: [10240]
[ro.allow.mock.location]: [0]
[ro.baseband]: [unknown]
[ro.billing_trusted_caller]: [com.google.tv.mango]
[ro.bluetooth.enabled]: [1]
[ro.board.platform]: [mv88de3015]
[ro.boot.token]: [6]
[ro.bootloader]: [unknown]
[ro.bootmode]: [unknown]
[ro.build.characteristics]: [tv,nosdcard]
[ro.build.date.utc]: [1344585376]
[ro.build.date]: [Fri Aug 10 00:56:16 PDT 2012]
[ro.build.description]: [U2.2.7]
[ro.build.display.id]: [U2.2.7]
[ro.build.fingerprint]: [Vizio/StreamPlayer/VAP430:3.2/MASTER/U2.2.7:user/release-keys]
[ro.build.host]: [Vubu64]
[ro.build.id]: [MASTER]
[ro.build.product]: [burnley]
[ro.build.tags]: [release-keys]
[ro.build.type]: [user]
[ro.build.user]: [fattia]
[ro.build.version.codename]: [REL]
[ro.build.version.incremental]: [U2.2.7]
[ro.build.version.release]: [3.2]
[ro.build.version.sdk]: [13]
[ro.carrier]: [unknown]
[ro.com.android.dateformat]: [MM-dd-yyyy]
[ro.com.google.clientidbase]: [android-vizio--googletv]
[ro.config.alarm_alert]: [Default.ogg]
[ro.config.media]: [Default.ogg]
[ro.config.notification_sound]: [Default.ogg]
[ro.config.ringtone]: [Default.ogg]
[ro.config.sound_fx_volume]: [0]
[ro.crypto.state]: [unencrypted]
[ro.debuggable]: [0]
[ro.factorytest]: [0]
[ro.googletv.client_cert]: [/data/system/client_auth/client.pem]
[ro.googletv.client_cert_chain]: [/data/system/client_auth/client-ca-#.pem]
[ro.googletv.client_privkey]: [/data/system/client_auth/client.key]
[ro.hardware]: [berlin]
[ro.macaddr]: [00199dcc81b3]
[ro.market_update_handler]: [com.google.tv.mango]
[ro.marvell.bt.audio.input]: [true]
[ro.netflix.disable.DDPLUS]: [1]
[ro.opengles.version]: [131072]
[ro.policy_name]: [tv.TvPolicy]
[ro.product.board]: []
[ro.product.brand]: [Vizio]
[ro.product.cpu.abi]: [none]
[ro.product.device]: [VAP430]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
[ro.product.manufacturer]: [VIZIO]
[ro.product.model]: [VAP430]
[ro.product.name]: [StreamPlayer]
[ro.revision]: [0]
[ro.runtime.firstboot]: [1287126040793]
[ro.secure]: [1]
[ro.serialno]: []
[ro.service.av_settings.inited]: [1]
[ro.service.av_settings.uimode]: [1]
[ro.setupwizard.enterprise_mode]: [1]
[ro.sf.lcd_density]: [320]
[ro.url.legal.android_privacy]: [http://www.google.com/intl/%s/mobile/an ... ivacy.html]
[ro.url.legal]: [http://www.google.com/intl/%s/mobile/an ... legal.html]
[ro.wifi.channels]: []
[sys.boot_completed]: [1]
[sys.settings_secure_version]: [6]
[wifi.interface]: [mlan0]

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 14 Sep 2012 23:58
by nbrunsga
What can I do to help move this forward ?

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 15 Sep 2012 00:00
by edwardw
What can I do to help move this forward ?
I think VLC has changed quite a bit since August, would you mind please trying the latest NEON build? Thanks a lot.

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 15 Sep 2012 01:49
by nbrunsga
No problem, and thank you for your help.

So I installed http://nightlies.videolan.org/build/android-v7-neon/ build dated Sep 14 on my Vizio Co-Star. I no longer get the "not supported" message. Instead the VLC application immediately crashes.

Below is a logcat snippet. The full logcat output can be found https://docs.google.com/file/d/0B1JTZFd ... psUms/edit.

10-15 07:00:21.480 I/PackageManager( 882): Unpacking native libraries for /data/app/org.videolan.vlc-1.apk
10-15 07:00:59.103 I/APP_AppLauncher_DBUtils( 949): ##############Returned String#############VLC
10-15 07:00:59.233 I/APP_AppLauncher_DBUtils( 949): ##############Returned String#############VLC
10-15 07:00:59.423 I/APP_AppLauncher_DBUtils( 949): ##############Returned String#############VLC
10-15 07:00:59.723 I/APP_AppLauncher_DBUtils( 949): ##############Returned String#############VLC
10-15 07:01:49.033 I/ActivityManager( 882): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.cate
ory.LAUNCHER] flg=0x10200000 cmp=org.videolan.vlc/.gui.MainActivity (has extras) } from pid 949
10-15 07:01:49.233 V/RecentAppService( 1419): RemoveRecentAppListItem org.videolan.vlc
10-15 07:01:49.293 I/ActivityManager( 882): Start proc org.videolan.vlc for activity org.videolan.vlc/.gui.MainActivit
: pid=1711 uid=10045 gids={3003, 1007, 1015}
10-15 07:01:49.963 I/CECLISTENER( 882): Task info = org.videolan.vlc/org.videolan.vlc.gui.MainActivity
10-15 07:01:50.493 W/VLC/LibVLC( 1711): Unable to load the iomx library: java.lang.UnsatisfiedLinkError: Couldn't load
omx-hc: findLibrary returned null
10-15 07:01:50.493 E/VLC/LibVLC( 1711): Can't load vlcjni library: java.lang.UnsatisfiedLinkError: Couldn't load vlcjni
findLibrary returned null
10-15 07:01:50.523 I/ActivityManager( 882): Process org.videolan.vlc (pid 1711) has died.
10-15 07:01:50.553 V/CrashReportService( 1368): Received intent Intent { act=android.intent.action.PROCESS_DIED flg=0x1
(has extras) }, process org.videolan.vlc (pid 1711, uptime 0s) died

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 15 Sep 2012 14:23
by edwardw
@nbrunsga:

It seems to be a problem of missing certain symbols.

Do you have the Google TV device hooked up via USB to adb? If you do, can you pull do something like

Code: Select all

adb pull /system/lib/ /some/local/directory/
, ZIP up the /some/local/directory and upload it to me?

If not, can you install OI File Manager, navigate to /system, long click on "Compress (ZIP)", and upload the resulting ZIP file to me?

Thanks.

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 23 Sep 2012 16:07
by syxbit
Google TV doesn't support NDK apps.
(source https://developers.google.com/tv/faq#ndk)

A Google Engineer's response"
(source http://code.google.com/p/googletv-issue ... tail?id=12)
"Google TV was the first Android derivative to support Chrome. In order to pull that off there was a technical need to not use Bionic (tool chain compatibility). This means we currently cannot support NDK. We are actively working on this and understand the frustration you feel on the matter. Please be patient as we work to resolve this and know that we are just as excited at the possibilities that can be unlocked by having NDK support on Google TV."

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 24 Sep 2012 03:55
by edwardw
Sucks then, looks like the movie/TV industry's rigged Google to bork the Google TV devices... :(

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 25 Sep 2012 16:46
by nbrunsga
edwardw, are you still interested in the adb pull of /system/lib, or is this the end of the road until Google TV gets NDK support ?

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 25 Sep 2012 17:55
by geospawn
so VLC uses NDK? I'm not quite sure what NDK does.

Re: VLC for 2nd generation ARM based Google TV devices

Posted: 25 Sep 2012 21:13
by edwardw
so VLC uses NDK? I'm not quite sure what NDK does.
The NDK allows Android developers to compile and use native code on Android. Since the VLC core is written in C (and some C++), the NDK is needed.