Yes, If I remove GApps then it boots successfully.
If I add GApps then it gets stuck on recovery mode.
i will check this problem later
Generating build after making selinux desabled.
@Terry Do I need to add root in āvendor/amlogicā in vim3 android 9 sdk to work with GApps?
Constantly getting this logs on serial port after adding GApps.
Logs:
init: Unable to set property āpersist.audio.debug.searchā to āā from uid:1041 gid:1005 pid:4576: SELinux permission check failed
[ 55.051027@5] selinux: avc: denied { set } for property=persist.audio.debug.read pid=4576 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 tc0
[ 55.051027@5]
[ 55.051042@5] init: Unable to set property āpersist.audio.debug.readā to āā from uid:1041 gid:1005 pid:4576: SELinux permission check failed
[ 55.140264@3] type=1400 audit(1293883253.192:44): avc: denied { create } for pid=4576 comm=āHwBinder:4576_2ā scontext=u:r:hal_audio_default:s0 tco0
[ 56.010076@2] early_suspend_state=0
[ 56.287257@0] binder: undelivered TRANSACTION_COMPLETE
[ 56.287304@0] binder: undelivered transaction 21855, process died.
[ 59.768329@0] init: couldnāt write 4696 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[ 60.017160@2] aml_tdm_open
[ 60.018408@5] aml_tdm_open
[ 60.019263@2] aml_spdif_open
[ 60.020087@2] aml_spdif_close
[ 60.022941@2] aml_tdm_open
[ 60.023083@5] type=1400 audit(1293883253.192:44): avc: denied { create } for pid=4576 comm=āHwBinder:4576_2ā scontext=u:r:hal_audio_default:s0 tco0
[ 60.023102@5] type=1400 audit(1293883258.164:45): avc: denied { create } for pid=4700 comm=āHwBinder:4700_1ā scontext=u:r:hal_audio_default:s0 tco0
[ 60.025568@2] selinux: avc: denied { set } for property=persist.audio.debug.search pid=4700 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 0
[ 60.025568@2]
[ 60.025604@2] init: Unable to set property āpersist.audio.debug.searchā to āā from uid:1041 gid:1005 pid:4700: SELinux permission check failed
[ 60.025791@4] selinux: avc: denied { set } for property=persist.audio.debug.read pid=4700 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 tc0
[ 60.025791@4]
[ 60.025803@4] init: Unable to set property āpersist.audio.debug.readā to āā from uid:1041 gid:1005 pid:4700: SELinux permission check failed
[ 60.132746@2] loopback_dai_startup
[ 60.136431@4] loopback_dai_shutdown
[ 61.023686@3] early_suspend_state=0
[ 62.635706@0] fb: mem_free_work, free memory: addr:800000
[ 64.775699@0] init: couldnāt write 4819 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[ 65.076863@2] aml_tdm_open
[ 65.077360@2] aml_tdm_open
[ 65.078050@2] aml_spdif_open
[ 65.079834@3] aml_spdif_close
[ 65.081531@5] selinux: avc: denied { set } for property=persist.audio.debug.search pid=4823 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 0
[ 65.081531@5]
[ 65.081570@5] init: Unable to set property āpersist.audio.debug.searchā to āā from uid:1041 gid:1005 pid:4823: SELinux permission check failed
[ 65.081711@5] selinux: avc: denied { set } for property=persist.audio.debug.read pid=4823 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 tc0
[ 65.081711@5]
[ 65.081722@5] init: Unable to set property āpersist.audio.debug.readā to āā from uid:1041 gid:1005 pid:4823: SELinux permission check failed
[ 65.087724@5] type=1400 audit(1293883258.164:45): avc: denied { create } for pid=4700 comm=āHwBinder:4700_1ā scontext=u:r:hal_audio_default:s0 tco0
[ 65.087747@5] type=1400 audit(1293883263.224:46): avc: denied { create } for pid=4823 comm=āHwBinder:4823_1ā scontext=u:r:hal_audio_default:s0 tco0
[ 65.189830@3] aml_tdm_open
[ 65.192485@5] loopback_dai_startup
[ 65.195581@3] loopback_dai_shutdown
[ 66.027420@5] early_suspend_state=0
[ 66.344979@0] binder: undelivered TRANSACTION_COMPLETE
[ 66.345017@0] binder: undelivered transaction 27387, process died.
[ 69.777450@1] init: couldnāt write 4941 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[ 70.037221@3] aml_tdm_open
[ 70.037819@3] aml_tdm_open
[ 70.038545@4] aml_spdif_open
[ 70.040146@4] aml_spdif_close
[ 70.040759@3] type=1400 audit(1293883263.224:46): avc: denied { create } for pid=4823 comm=āHwBinder:4823_1ā scontext=u:r:hal_audio_default:s0 tco0
[ 70.040779@3] type=1400 audit(1293883268.184:47): avc: denied { create } for pid=4945 comm=āHwBinder:4945_1ā scontext=u:r:hal_audio_default:s0 tco0
[ 70.045683@0] selinux: avc: denied { set } for property=persist.audio.debug.search pid=4945 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 0
[ 70.045683@0]
[ 70.045742@0] init: Unable to set property āpersist.audio.debug.searchā to āā from uid:1041 gid:1005 pid:4945: SELinux permission check failed
[ 70.045931@3] selinux: avc: denied { set } for property=persist.audio.debug.read pid=4945 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 tc0
[ 70.045931@3]
[ 70.045950@3] init: Unable to set property āpersist.audio.debug.readā to āā from uid:1041 gid:1005 pid:4945: SELinux permission check failed
[ 70.150397@4] aml_tdm_open
[ 70.152831@4] loopback_dai_startup
[ 70.156010@4] loopback_dai_shutdown
[ 71.030937@3] early_suspend_state=0
[ 74.777475@0] init: couldnāt write 5064 to /dev/cpuset/camera-daemon/tasks: No such file or directory
[ 75.042143@5] aml_tdm_open
[ 75.042669@5] aml_tdm_open
[ 75.043203@4] aml_spdif_open
[ 75.045073@5] aml_spdif_close
[ 75.048542@2] aml_tdm_open
[ 75.050862@3] type=1400 audit(1293883268.184:47): avc: denied { create } for pid=4945 comm=āHwBinder:4945_1ā scontext=u:r:hal_audio_default:s0 tco0
[ 75.050902@5] loopback_dai_startup
[ 75.051124@2] loopback_dai_shutdown
[ 75.051588@5] selinux: avc: denied { set } for property=persist.audio.debug.search pid=5068 uid=1041 gid=1005 scontext=u:r:hal_audio_default:s0 0
Hii, Could you guys please try GApps on VIM3 with Android pie SDK??
Is there any app in GApps which causes these errors??
Because I am getting certification errors during installation.
you can input git log in vendor/amlogic/google ,send the screenshot ,i will check
your downloading is uncorrect,the last log is āadd Chrome applicationā
repo sync khadas AOSP code
Then added SuperSU and Google Apps repositories to vendor/amlogic :
cd PROJECT/vendor/amlogic/
git clone GitHub - khadas/supersu: SuperSU root -b Nougat
git clone GitHub - terry2droid/google google -b Pie-arm
cd PROJECT/
source build/envsetup.sh
lunch kvim3-userdebug
make clean
Then start build
make -j24 otapackage
Wait compile. But find below error.
Unable to open āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apkā for verification
Unable to open āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unalignedā as zip archive
mv: ē”ę³ stat āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.alignedā: ę²ęę¤äøęŖę”ęē®é
[ 0% 39/21823] build out/target/product/kvim3/obj/KERNEL_OBJ/.config
@Jack_Wu Modify the file 'PROJECT/device/khadas/kvim3.mkāChange the property āBUILD_WITH_GAPPS_CONFIGā from false to true
@jasonl
I original have modify kvim3.mk file
path : ā¦/device/khadas/
file : kvim3.mk
setting see below :
BUILD_WITH_ROOT_CONFIG :=true
BUILD_WITH_GAPPS_CONFIG := true
But still have below error :
Unable to open āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apkā for verification
Unable to open āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.unalignedā as zip archive
mv: ē”ę³ stat āout/target/product/kvim3/obj/APPS/Chrome_intermediates/package.apk.alignedā: ę²ęę¤äøęŖę”ęē®é
[ 0% 39/21823] build out/target/product/kvim3/obj/KERNEL_OBJ/.config
@jasonl
I know how to solve this issue.
repo sync khadas AOSP code
Then added SuperSU and Google Apps repositories to vendor/amlogic :
cd PROJECT/vendor/amlogic/
git clone GitHub - khadas/supersu: SuperSU root -b Nougat
git clone GitHub - terry2droid/google google -b Pie-arm
then cancel the ā¦/vendor/amlogic/google/apps/Chrome folder.
because the Chrome.apk only 1k maybe it is broken ?
cd PROJECT/
source build/envsetup.sh
lunch kvim3-userdebug
make clean
Then start build
make -j24 otapackage
Then build success
Someone modify below git clone code.
git clone GitHub - terry2droid/google google -b Pie
Currently compile have some error.
I think you may confirm again.
I also rollback old code to use this google code.
yes,i will confirm again