ROC-RK3328-CC : GApps 설치 (실패이력)

OS/ROC-RK3328-CC 2018.08.08 00:44 Posted by 파란크리스마스

출처

개발자 모드 설정

GApps 설치 (용량부족으로 설치 실패)

GApps 압축해제

C:\gapps\pkg>7z x open_gapps-arm64-7.1-stock-20180810.zip
C:\gapps\pkg>forfiles /s /m *.tar.lz /c "cmd /c lzip -d @path"
C:\gapps\pkg>cd ..
C:\gapps>forfiles /s /m *.tar /c "cmd /c 7z x @path -oc:\gapps\tmp"
C:\gapps>for /D %i in (tmp/*) do for /D %j in (tmp/%i/*) do xcopy /S /I /Y tmp\%i\%j sys

GApps 설치

C:\gapps>adb push sys/. /system/.
adb: error: failed to copy 'sys/.\app\EditorsSheets\EditorsSheets.apk' to '/system/././app/EditorsSheets/EditorsSheets.apk': remote write failed: No space left on device

C:\gapps>adb shell
roc_rk3328_cc_box:/ # df -h
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 1.9G  456K  1.9G   1% /dev
tmpfs                 1.9G     0  1.9G   0% /mnt
/dev/block/mmcblk0p13 1.0G  1.0G   23M  98% /system
/dev/block/mmcblk0p10 122M  136K  122M   1% /cache
/dev/block/mmcblk0p11  12M   40K   12M   1% /metadata
/dev/block/mmcblk0p14  12G  287M   12G   3% /data
tmpfs                 1.9G     0  1.9G   0% /storage
/dev/fuse              12G  287M   12G   3% /mnt/runtime/default/emulated
/dev/fuse              12G  287M   12G   3% /storage/emulated
/dev/fuse              12G  287M   12G   3% /mnt/runtime/read/emulated
/dev/fuse              12G  287M   12G   3% /mnt/runtime/write/emulated

play store 설치 (설치 실패 - logcat 오류 로그)

D:\Data.ROC-RK3328-CC>adb connect 192.168.137.54
connected to 192.168.137.54:5555

D:\Data.ROC-RK3328-CC>adb root

D:\Data.ROC-RK3328-CC>adb connect 192.168.137.54
connected to 192.168.137.54:5555

D:\Data.ROC-RK3328-CC>adb remount
remount succeeded

D:\Data.ROC-RK3328-CC>adb push com.android.vending_11.2.14-all_0_PR_207207134-81121400_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(240,320,480dpi)_apkmirror.com.apk /system/priv-app/
com.android.vending_11.2.14-all_0_PR_207207134-81121400_mi...om.apk: 1 file pushed. 8.5 MB/s (17011959 bytes in 1.898s)

D:\Data.ROC-RK3328-CC>adb push com.google.android.gms_12.8.74_(040408-204998136)-12874025_minAPI23(arm64-v8a,armeabi-v7a)(480dpi)_apkmirror.com.apk /system/priv-app/
com.google.android.gms_12.8.74_(040408-204998136)-12874025...om.apk: 1 file pushed. 8.6 MB/s (63703526 bytes in 7.066s)

D:\Data.ROC-RK3328-CC>adb push com.google.android.gsf_7.1.2-25_minAPI25(nodpi)_apkmirror.com.apk /system/priv-app/
com.google.android.gsf_7.1.2-25_minAPI25(nodpi)_apkmirror.com.apk: 1 file pushed. 9.4 MB/s (3787707 bytes in 0.385s)

D:\Data.ROC-RK3328-CC>adb reboot

play store 다시 설치하기

D:\Data.ROC-RK3328-CC>adb connect 192.168.137.179
connected to 192.168.137.179:5555

D:\Data.ROC-RK3328-CC>adb root

D:\Data.ROC-RK3328-CC>adb connect 192.168.137.179
connected to 192.168.137.179:5555

D:\Data.ROC-RK3328-CC>adb install -r com.android.vending_11.2.14-all_0_PR_207207134-81121400_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(240,320,480dpi)_apkmirror.com.apk
Success

권한 설정

D:\Data.ROC-RK3328-CC>adb shell
roc_rk3328_cc_box:/ # pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
roc_rk3328_cc_box:/ # pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
roc_rk3328_cc_box:/ # exit

오류 로그

D:\Data.ROC-RK3328-CC>>adb logcat
08-11 02:53:19.833   191   238 D AudioHardwareTiny: out_set_parameters: kvpairs = routing=1034
08-11 02:53:19.834   191   238 D AudioHardwareTiny: start_output_stream
08-11 02:53:19.833   191   191 I AudioOut_D: type=1400 audit(0.0:73): avc: denied { read } for name="audioinfo" dev="sysfs" ino=10440 scontext=u:r:audioserver:s0 tcontext=u:object_r:sysfs_hdmi:s0 tclass=file permissive=1
08-11 02:53:19.833   191   191 I AudioOut_D: type=1400 audit(0.0:74): avc: denied { open } for path="/sys/devices/virtual/display/HDMI/audioinfo" dev="sysfs" ino=10440 scontext=u:r:audioserver:s0 tcontext=u:object_r:sysfs_hdmi:s0 tclass=file permissive=1
08-11 02:53:19.837   191   238 D AudioHardwareTiny: Device     : 0x40a
08-11 02:53:19.837   191   238 D AudioHardwareTiny: SampleRate : 44100
08-11 02:53:19.837   191   238 D AudioHardwareTiny: Channels   : 2
08-11 02:53:19.837   191   238 D AudioHardwareTiny: Formate    : 0
08-11 02:53:19.837   191   238 D AudioHardwareTiny: PreiodSize : 512
08-11 02:53:19.837   191   238 D alsa_route: route_info->sound_card 0, route_info->devices 0
08-11 02:53:19.837   191   238 D alsa_route: route_set_controls() set route 24
08-11 02:53:19.833   191   191 I AudioOut_D: type=1400 audit(0.0:75): avc: denied { getattr } for path="/sys/devices/virtual/display/HDMI/audioinfo" dev="sysfs" ino=10440 scontext=u:r:audioserver:s0 tcontext=u:object_r:sysfs_hdmi:s0 tclass=file permissive=1
08-11 02:53:19.857  2657  2657 W ChimeraUtils: Non Chimera context
08-11 02:53:19.875   405  1587 W ActivityManager: Unable to start service Intent { act=com.google.android.gsf.notouch.LAUNCH_AUTH_UI pkg=com.google.android.gsf.notouch } U=0: not found
08-11 02:53:19.876  2657  2669 W AccountAuthenticator: addAccount(com.google)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator: java.lang.RuntimeException: Unable to bind to auth delegate service.
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at gbe.a(:com.google.android.gms@12874025@12.8.74 (040408-204998136):25)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at gbe.a(:com.google.android.gms@12874025@12.8.74 (040408-204998136):1)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at gbe.a(:com.google.android.gms@12874025@12.8.74 (040408-204998136):36)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at gbr.addAccount(:com.google.android.gms@12874025@12.8.74 (040408-204998136):92)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at android.accounts.AbstractAccountAuthenticator$Transport.addAccount(AbstractAccountAuthenticator.java:167)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at android.accounts.IAccountAuthenticator$Stub.onTransact(IAccountAuthenticator.java:67)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at android.os.Binder.transact(Binder.java:499)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at deg.onTransact(:com.google.android.gms@12874025@12.8.74 (040408-204998136):3)
08-11 02:53:19.876  2657  2669 W AccountAuthenticator:  at android.os.Binder.execTransact(Binder.java:565)
08-11 02:53:19.885  2506  2506 W Finsky  : [1] com.google.android.finsky.unauthenticated.b.run(9): AuthenticatorException while adding account: android.accounts.AuthenticatorException: addAccount failed.
08-11 02:53:23.081   191   238 D alsa_route: route_set_controls() set route 24
08-11 02:53:23.081   191   238 D AudioHardwareTiny: close device