在基于Android 5.0的电视上打开GAPPS Google服务安装 -- youtube 领域 和 gapps 领域 android 相关 的问题

Open Gapps Google Services installation on Android 5.0 based TV


简体版||繁體版
2
vote

问题

中文

设备: Manta.com.pl 43"电视与Android 5.0在电路板上。 我通过adb shell root访问。

问题: 我需要Google服务为Android电视运行YouTube。

如何解决: i donwloaded 打开gapps nano for Android 5.0,从中提取了一些文件并推送到/系统分区。我没有TWRP恢复。

  . ./etc ./etc/preferred-apps ./etc/preferred-apps/google.xml ./etc/permissions ./etc/permissions/com.google.widevine.software.drm.xml ./etc/permissions/com.google.android.media.effects.xml ./etc/permissions/com.google.android.maps.xml ./etc/sysconfig ./etc/sysconfig/google_build.xml ./etc/sysconfig/google.xml ./priv-app ./priv-app/PrebuiltGmsCore ./priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk ./priv-app/PrebuiltGmsCore/lib ./priv-app/PrebuiltGmsCore/lib/arm ./priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so ./priv-app/PrebuiltGmsCore/lib/arm/libwearable-selector.so ./priv-app/PrebuiltGmsCore/lib/arm/libAppDataSearch.so ./priv-app/PrebuiltGmsCore/lib/arm/libleveldbjni.so ./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_support.so ./priv-app/PrebuiltGmsCore/lib/arm/libgoogle-ocrclient-v3.so ./priv-app/PrebuiltGmsCore/lib/arm/libinertial-anchor-jni.so ./priv-app/PrebuiltGmsCore/lib/arm/libWhisper.so ./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_base.so ./priv-app/PrebuiltGmsCore/lib/arm/libjingle_peerconnection_so.so ./priv-app/PrebuiltGmsCore/lib/arm/libjgcastservice.so ./priv-app/PrebuiltGmsCore/lib/arm/libgmscore.so ./priv-app/PrebuiltGmsCore/lib/arm/libvcdiffjni.so ./priv-app/PrebuiltGmsCore/lib/arm/libsslwrapper_jni.so ./priv-app/GoogleServicesFramework ./priv-app/GoogleServicesFramework/GoogleServicesFramework.apk ./priv-app/GoogleBackupTransport ./priv-app/GoogleBackupTransport/GoogleBackupTransport.apk ./framework ./framework/com.google.android.maps.jar ./framework/com.google.android.media.effects.jar ./framework/com.google.widevine.software.drm.jar   

但Google服务不开始,我看到以下原生崩溃:

      I/ActivityManager( 2608): Start proc com.google.android.gms for service com.google.android.gms/.chimera.GmsIntentOperationService: pid=3452 uid=10014 gids={50014, 9997, 3003, 1028, 1015, 3002, 3001, 1005, 1007, 3007, 2001, 3006} abi=armeabi-v7a W/ProviderHelper( 3430): Unknown dynamite feature providerinstaller I/DynamiteModule( 3430): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller( 3430): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. V/NativeCrypto( 3430): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods... W/ResourcesManager( 3452): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources. W/ResourcesManager( 3452): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources. W/ActivityThread( 3430): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader()); W/System  ( 3430): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@3dc96d1d: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl I/ProviderInstaller( 3430): Installed default security provider GmsCore_OpenSSL I/art     ( 3172): Explicit concurrent mark sweep GC freed 2659(106KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 4MB/7MB, paused 1.726ms total 35.015ms I/Safeboot( 3430): Checking safeboot... W/art     ( 3452): Verification of void rtf.onCreate() took 138.949ms W/DynamiteModule( 3452): Local module descriptor class for providerinstaller not found. W/ProviderHelper( 3452): Unknown dynamite feature providerinstaller I/DynamiteModule( 3452): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller( 3452): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. V/NativeCrypto( 3452): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods... I/art     ( 3430): Background sticky concurrent mark sweep GC freed 33203(1508KB) AllocSpace objects, 1(16KB) LOS objects, 13% free, 10MB/11MB, paused 7.459ms total 861.420ms I/Safeboot Condition( 3430): No need to enter Safeboot. W/Primes  ( 3430): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API. W/ActivityThread( 3452): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader()); W/System  ( 3452): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@21fd60b7: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl I/ProviderInstaller( 3452): Installed default security provider GmsCore_OpenSSL I/Safeboot( 3452): Checking safeboot... I/Safeboot( 3452): Not entering safeboot; wrong process. W/art     ( 3452): Suspending all threads took: 6.199ms W/Primes  ( 3452): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API. I/art     ( 3452): WaitForGcToComplete blocked for 3.045s for cause HomogeneousSpaceCompact W/art     ( 3452): Suspending all threads took: 9.346ms F/libc    ( 3452): Fatal signal 6 (SIGABRT), code -6 in tid 3452 (gle.android.gms) I/DEBUG   ( 3304): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG   ( 3304): Build fingerprint: 'AndroidTV/nt72668_hikeen/nt72668_hikeen:5.0/LRX22C/huangds04090501:userdebug/release-keys' I/DEBUG   ( 3304): Revision: '0' I/DEBUG   ( 3304): ABI: 'arm' I/DEBUG   ( 3304): pid: 3452, tid: 3452, name: gle.android.gms  >>> com.google.android.gms <<< I/DEBUG   ( 3304): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- I/DEBUG   ( 3304):     r0 00000000  r1 00000d7c  r2 00000006  r3 00000000 I/DEBUG   ( 3304):     r4 b6736114  r5 00000006  r6 0000000b  r7 0000010c I/DEBUG   ( 3304):     r8 2b4ae920  r9 a3aa2761  sl 00000000  fp be41a8b8 I/DEBUG   ( 3304):     ip 00000d7c  sp be41a578  lr b66bff29  pc b66e4250  cpsr 600e0010 I/DEBUG   ( 3304):  I/DEBUG   ( 3304): backtrace: I/DEBUG   ( 3304):     #00 pc 0003b250  /system/lib/libc.so (tgkill+12) I/DEBUG   ( 3304):     #01 pc 00016f25  /system/lib/libc.so (pthread_kill+52) I/DEBUG   ( 3304):     #02 pc 00017b43  /system/lib/libc.so (raise+10) I/DEBUG   ( 3304):     #03 pc 00014399  /system/lib/libc.so (__libc_android_abort+36) I/DEBUG   ( 3304):     #04 pc 00012b68  /system/lib/libc.so (abort+4) I/DEBUG   ( 3304):     #05 pc 000a082d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #06 pc 00017557  /system/lib/libc.so (pthread_once+90) I/DEBUG   ( 3304):     #07 pc 00072fc5  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #08 pc 000a086d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #09 pc 000a063f  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #10 pc 000a0753  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #11 pc 0003c70b  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #12 pc 01c9a8bd  /data/dalvik-cache/arm/system@priv-app@PrebuiltGmsCore@PrebuiltGmsCore.apk@classes.dex I/DEBUG   ( 3304):  I/DEBUG   ( 3304): Tombstone written to: /data/tombstones/tombstone_00 W/art     ( 3430): Suspending all threads took: 1.387s   

任何建议我如何解决它?

english

Device: manta.com.pl 43" TV with Android 5.0 on the board. I have an root access through ADB shell.

Issue: I need google services to run Youtube for Android TV.

How I tried to solve: I donwloaded Open Gapps Nano for Android 5.0, extracted a few files from it and pushed to the /system partition. I don't have TWRP recovery there.

. ./etc ./etc/preferred-apps ./etc/preferred-apps/google.xml ./etc/permissions ./etc/permissions/com.google.widevine.software.drm.xml ./etc/permissions/com.google.android.media.effects.xml ./etc/permissions/com.google.android.maps.xml ./etc/sysconfig ./etc/sysconfig/google_build.xml ./etc/sysconfig/google.xml ./priv-app ./priv-app/PrebuiltGmsCore ./priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk ./priv-app/PrebuiltGmsCore/lib ./priv-app/PrebuiltGmsCore/lib/arm ./priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so ./priv-app/PrebuiltGmsCore/lib/arm/libwearable-selector.so ./priv-app/PrebuiltGmsCore/lib/arm/libAppDataSearch.so ./priv-app/PrebuiltGmsCore/lib/arm/libleveldbjni.so ./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_support.so ./priv-app/PrebuiltGmsCore/lib/arm/libgoogle-ocrclient-v3.so ./priv-app/PrebuiltGmsCore/lib/arm/libinertial-anchor-jni.so ./priv-app/PrebuiltGmsCore/lib/arm/libWhisper.so ./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_base.so ./priv-app/PrebuiltGmsCore/lib/arm/libjingle_peerconnection_so.so ./priv-app/PrebuiltGmsCore/lib/arm/libjgcastservice.so ./priv-app/PrebuiltGmsCore/lib/arm/libgmscore.so ./priv-app/PrebuiltGmsCore/lib/arm/libvcdiffjni.so ./priv-app/PrebuiltGmsCore/lib/arm/libsslwrapper_jni.so ./priv-app/GoogleServicesFramework ./priv-app/GoogleServicesFramework/GoogleServicesFramework.apk ./priv-app/GoogleBackupTransport ./priv-app/GoogleBackupTransport/GoogleBackupTransport.apk ./framework ./framework/com.google.android.maps.jar ./framework/com.google.android.media.effects.jar ./framework/com.google.widevine.software.drm.jar 

But google services don't start, I see the following native crash:

    I/ActivityManager( 2608): Start proc com.google.android.gms for service com.google.android.gms/.chimera.GmsIntentOperationService: pid=3452 uid=10014 gids={50014, 9997, 3003, 1028, 1015, 3002, 3001, 1005, 1007, 3007, 2001, 3006} abi=armeabi-v7a W/ProviderHelper( 3430): Unknown dynamite feature providerinstaller I/DynamiteModule( 3430): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller( 3430): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. V/NativeCrypto( 3430): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods... W/ResourcesManager( 3452): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources. W/ResourcesManager( 3452): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources. W/ActivityThread( 3430): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader()); W/System  ( 3430): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@3dc96d1d: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl I/ProviderInstaller( 3430): Installed default security provider GmsCore_OpenSSL I/art     ( 3172): Explicit concurrent mark sweep GC freed 2659(106KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 4MB/7MB, paused 1.726ms total 35.015ms I/Safeboot( 3430): Checking safeboot... W/art     ( 3452): Verification of void rtf.onCreate() took 138.949ms W/DynamiteModule( 3452): Local module descriptor class for providerinstaller not found. W/ProviderHelper( 3452): Unknown dynamite feature providerinstaller I/DynamiteModule( 3452): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller( 3452): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. V/NativeCrypto( 3452): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods... I/art     ( 3430): Background sticky concurrent mark sweep GC freed 33203(1508KB) AllocSpace objects, 1(16KB) LOS objects, 13% free, 10MB/11MB, paused 7.459ms total 861.420ms I/Safeboot Condition( 3430): No need to enter Safeboot. W/Primes  ( 3430): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API. W/ActivityThread( 3452): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader()); W/System  ( 3452): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@21fd60b7: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl I/ProviderInstaller( 3452): Installed default security provider GmsCore_OpenSSL I/Safeboot( 3452): Checking safeboot... I/Safeboot( 3452): Not entering safeboot; wrong process. W/art     ( 3452): Suspending all threads took: 6.199ms W/Primes  ( 3452): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API. I/art     ( 3452): WaitForGcToComplete blocked for 3.045s for cause HomogeneousSpaceCompact W/art     ( 3452): Suspending all threads took: 9.346ms F/libc    ( 3452): Fatal signal 6 (SIGABRT), code -6 in tid 3452 (gle.android.gms) I/DEBUG   ( 3304): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG   ( 3304): Build fingerprint: 'AndroidTV/nt72668_hikeen/nt72668_hikeen:5.0/LRX22C/huangds04090501:userdebug/release-keys' I/DEBUG   ( 3304): Revision: '0' I/DEBUG   ( 3304): ABI: 'arm' I/DEBUG   ( 3304): pid: 3452, tid: 3452, name: gle.android.gms  >>> com.google.android.gms <<< I/DEBUG   ( 3304): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- I/DEBUG   ( 3304):     r0 00000000  r1 00000d7c  r2 00000006  r3 00000000 I/DEBUG   ( 3304):     r4 b6736114  r5 00000006  r6 0000000b  r7 0000010c I/DEBUG   ( 3304):     r8 2b4ae920  r9 a3aa2761  sl 00000000  fp be41a8b8 I/DEBUG   ( 3304):     ip 00000d7c  sp be41a578  lr b66bff29  pc b66e4250  cpsr 600e0010 I/DEBUG   ( 3304):  I/DEBUG   ( 3304): backtrace: I/DEBUG   ( 3304):     #00 pc 0003b250  /system/lib/libc.so (tgkill+12) I/DEBUG   ( 3304):     #01 pc 00016f25  /system/lib/libc.so (pthread_kill+52) I/DEBUG   ( 3304):     #02 pc 00017b43  /system/lib/libc.so (raise+10) I/DEBUG   ( 3304):     #03 pc 00014399  /system/lib/libc.so (__libc_android_abort+36) I/DEBUG   ( 3304):     #04 pc 00012b68  /system/lib/libc.so (abort+4) I/DEBUG   ( 3304):     #05 pc 000a082d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #06 pc 00017557  /system/lib/libc.so (pthread_once+90) I/DEBUG   ( 3304):     #07 pc 00072fc5  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #08 pc 000a086d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #09 pc 000a063f  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #10 pc 000a0753  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #11 pc 0003c70b  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so I/DEBUG   ( 3304):     #12 pc 01c9a8bd  /data/dalvik-cache/arm/system@priv-app@PrebuiltGmsCore@PrebuiltGmsCore.apk@classes.dex I/DEBUG   ( 3304):  I/DEBUG   ( 3304): Tombstone written to: /data/tombstones/tombstone_00 W/art     ( 3430): Suspending all threads took: 1.387s 

Any suggestions how I can solve it?

     
     
     

回答列表


相关问题

0  恢复闪烁gapps,获取错误代码:20  ( Flashing gapps from recovery getting error code 20 ) 
当我尝试在用TWRP闪烁LineaGe后闪存GAPPS时,我得到, Updater process ended with ERROR: 20 Error installing zip file '/sdcard/open_gapps-arm64-10.0-micro-20201114.zip 这个问题的原因...

1  如何在没有自定义ROM的情况下将GAPP闪光到AOSTROID 10,以及如何修复我的USSD和呼叫功能无法正常工作?  ( How do i flash gapps onto aosp android 10 without custom rom and how do i fix m ) 
我最近使用FastBoot指令闪存GSI: Fastboot Flash系统系统 - Quack-ARM-AONLY-VANILLA.IMG https://github.com/phushusson/treble_experiments/releases/tag/v213 他们没有针对我的设备提供TWR...

2  FastBoot连接问题  ( Fastboot connection problem ) 
我正在尝试在我的moto 4x上安装Lineage OS 16.0。我解锁了OEM Bootloader。但是,当我输入命令'fastboot重新启动引导程序'时显示 '&lt;等待任何设备&gt;'。在我休息之前它会留下来。 第二天它突然工作了,我启动了TWRP,安装Lineage OS,G-Apps 9.0 Mi...

0  安装GAPPS Lineage OS后BootLoop  ( Bootloop after installing gapps lineage os ) 
我在moto x4上安装了Lineage OS 16.0,使用TWRP。我重新启动并安装了gapps。安装时没有错误。但后来在重新启动手机后,它留在开始序列和CA之后。 10分钟它返回到TWRP。当我只安装Lineage OS时,它可以正常工作,但没有GAPP。 所以我尝试了一些组合这些版本的变体: TWPR:TW...

1  LineaGeoS - 是否可以在不使用GAPPS或Microg的情况下安装和运行应用程序?  ( Lineageos is it possible to install and run apps without using gapps or microg ) 
我正在尝试解决是否可以使用自定义ROM,例如LineaGeOS而不闪烁GAPP,而不是使用LineaGeoS + Microg作为选项。基本要求是能够远离大哥。 我已经读到了LineaGeoS + Microg选项是一个很好的选项,但它会创造安全风险,因为需要进行签名欺骗。 我只是一个新手,并想知道是否有可能直接在线...

2  闪烁OpenGapps时错误64  ( Error 64 when flashing opengapps ) 
当我尝试使用TWRP-3.3.1.4安装时,具有64的一个GAPP(PICO和NANO)错误。我知道我正在使用正确的版本。我正在全新的一个加上7 pro。 ############################## _____ _____ ___ ____ / _ | __ / ...

2  AVD adb推荐  ( Avd adb push gapps ) 
我试着让gapps在我的AVD上工作。我已经使用了Google API映像,但无论如何都缺少商店。每个教程都告诉我通过adb推送打开gapps: https://medium.com / @ dai_shi /安装-google-play-services-on-android-studio-emulator-ff...

1  在Moto G6上闪烁LineaGeoS 17.1之后,“无法加载内核”  ( Failed to load kernel after flashing lineageos 17 1 on moto g6 ) 
我购买了一个新的摩托罗拉Moto G6,打算尝试使用LineaGeos而不是股票rom。 这是一个用于在设置的关于设置的约部分中出现的一切。请记住,我选择了葡萄牙语,所以我将翻译一些标签: 软件频道:RETIN Android版本:8.0.0 Android安全补丁级别:2018-04-01 基频版本:M...

2  在基于Android 5.0的电视上打开GAPPS Google服务安装  ( Open gapps google services installation on android 5 0 based tv ) 
设备: Manta.com.pl 43"电视与Android 5.0在电路板上。 我通过adb shell root访问。 问题: 我需要Google服务为Android电视运行YouTube。 如何解决: i donwloaded 打开gapps nano for Android 5.0,从中提取了一些文件并推送...

0  三星Galaxy A5 2016 - GAPPS错误 - LineaGeos  ( Samsung galaxy a5 2016 gapps errors lineageos ) 
我在尝试在我的三星galaxy a5(2016)上安装gapps时收到错误。已成功安装了LineaGeOS(17.1 - Android 10),但是当我尝试安装GAPP时,到目前为止,我得到了两个错误,<代码> ABCDEFGHIJKLMNABCDEFGHIJKLMN0 和<代码> ABCDEFGHIJKLMN...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有