[已经解决]android 8.1 点击设置-系统报错
本帖最后由 hiking 于 2019-2-25 09:44 编辑自己编译好的8.1固件,点击设置里面的系统报错:
官方固件8.1正常;
logcat :
--------- beginning of system
01-18 09:19:05.303 238 889 E AudioHardwareTiny: vicent r 44100c 2ps 512 pc 6
01-18 09:19:05.305 238 889 E AudioHardwareTiny: PCM_CARD=4, error index
01-18 09:19:05.305 4391518 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.settings/com.android.settings.Sets
01-18 09:19:05.305 238 889 E AudioHardwareTiny: start_output_stream() >>>> PCM_CARD_HDMI:0, PCM_CARD:-1, HdmiIn_snd_config.config:4<
01-18 09:19:05.306 238 889 E alsa_route: get_route_config() route_table is NULL!
01-18 09:19:05.306 238 889 E alsa_route: route_pcm_open() Can not get config of route
01-18 09:19:05.319 439 450 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.settings/com.android.settings.Sets
--------- beginning of crash
01-18 09:19:05.39915031503 E AndroidRuntime: FATAL EXCEPTION: main
01-18 09:19:05.39915031503 E AndroidRuntime: Process: com.android.settings, PID: 1503
01-18 09:19:05.39915031503 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settingsd
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.ActivityThread.-wrap11(Unknown Source:0)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
01-18 09:19:05.39915031503 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
01-18 09:19:05.39915031503 E AndroidRuntime: Caused by: java.lang.RuntimeException: Only one Looper may be created per thread
01-18 09:19:05.39915031503 E AndroidRuntime: at android.os.Looper.prepare(Looper.java:95)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.os.Looper.prepare(Looper.java:90)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.settings.system.ConnectToPcPreferenceController.<init>(ConnectToP)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.settings.system.SystemDashboardFragment.buildPreferenceController)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.settings.system.SystemDashboardFragment.getPreferenceControllers()
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.settings.dashboard.DashboardFragment.onAttach(DashboardFragment.j)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1223)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentM)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.ja)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.)
01-18 09:19:05.39915031503 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:322)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7036)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7027)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
01-18 09:19:05.39915031503 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
01-18 09:19:05.39915031503 E AndroidRuntime: ... 9 more
01-18 09:19:05.905 439 454 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.launcher3/com.android.launcher3.L3
01-18 09:19:11.140 238 889 E AudioHardwareTiny: vicent r 44100c 2ps 512 pc 6
麻烦指导一下,谢谢 不好意思,这个问题已经修复了,可能还没有更新上去,你可以
git revert f3edcdb3192034688b0451ac36ae753362aad576
然后按照如下 补丁修改
本帖最后由 hiking 于 2019-2-13 18:43 编辑
git revert f3edcdb3192034688b0451ac36ae753362aad576
fatal: bad object f3edcdb3192034688b0451ac36ae753362aad576
提示这个错误;
我昨晚执行过
git pull gitlab firefly-rk3399:firefly-rk3399
看了一下日志:
git log
commit 58dc19abf46d58add13c931776ce8336f759fe28
Author: lkd <service@t-firefly.com>
Date: Mon Jan 28 16:12:15 2019 +0800
SDK: 1.add AIO-3399C support. 2.fix earphone no working issue. 3. fix setting search issue
commit 8034582b4cf130132af20b212af7854af5746bcc
Author: T-Firefly <account@t-firefly.com>
Date: Mon Oct 22 15:23:05 2018 +0800
SDK: 1.support ROC-3399-PC.
2.fix TP issue.
3.support PCIE
4.support EC20 4G dongle.
5.add firefly driver demo
6.disable verity partition
commit 7a08ca7e865dacbdbb0c45d03519d0a675b581eb
Author: Firefly <service@t-firefly.com>
Date: Wed Jun 20 15:11:56 2018 +0800
Init Firefly-RK3399/AIO-3399J Android8.1 SDK
是不是继续git pull gitlab firefly-rk3399:firefly-rk3399?
hiking 发表于 2019-2-13 18:12
git revert f3edcdb3192034688b0451ac36ae753362aad576
fatal: bad object f3edcdb3192034688b0451ac36ae ...
是的,继续更新一次 本帖最后由 hiking 于 2019-2-15 08:07 编辑
leung先森 发表于 2019-2-14 09:22
是的,继续更新一次
更新后,make -j8 出现这个错误;
Clean step: rm -rf out/target/product/ROC_RK3399_PC/obj_arm/APPS/*
Clean step: rm -rf out/target/product/ROC_RK3399_PC/obj_arm/APPS/*/package-res.apk
including out/soong/Android-ROC_RK3399_PC.mk ...
build/core/main.mk:426: error: out/soong/Android-ROC_RK3399_PC.mk: No such file or directory
07:43:33 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** Error 1
//////////////////////////
./FFTools/make.sh -j8 出现下面的错误:
BUILD_ID=OPM6.171019.030.B1
OUT_DIR=out
============================================
bootstrap out/soong/.minibootstrap/build.ninja.in
out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
glob vendor/*/*/Android.bp
out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-rk3399_firefly_mid.ninja is missing, regenerating...
including ./2/bionic/Android.mk ...
build/core/binary.mk:374: error: 2/bionic/tests/Android.mk: bionic-compile-time-tests-g++: LOCAL_CLANG is set to false.
08:02:41 ckati failed with: exit status 1
/////////////////////////////
git log
commit b34db9406aa0ceabefec1cd23d5f2d8a41a61ece
Author: lkd <service@t-firefly.com>
Date: Wed Feb 13 17:57:22 2019 +0800
Android->Setting: refix setting system crash issue
commit 58dc19abf46d58add13c931776ce8336f759fe28
Author: lkd <service@t-firefly.com>
Date: Mon Jan 28 16:12:15 2019 +0800
SDK: 1.add AIO-3399C support. 2.fix earphone no working issue. 3. fix setting search issue
................ hiking 发表于 2019-2-15 07:51
更新后,make -j8 出现这个错误;
Clean step: rm -rf out/target/product/ROC_RK3399_PC/obj_arm/APPS ...
你是不是修改过makefile文件了
查一下临时修改文件。 leung先森 发表于 2019-2-15 11:32
你是不是修改过makefile文件了
查一下临时修改文件。
这几天又重新编译了一次,同步了源码,
ROC-RK3399-PC 8.1最新源码默认编译后无法启动。
git log
commit b34db9406aa0ceabefec1cd23d5f2d8a41a61ece
Author: lkd <service@t-firefly.com>
Date: Wed Feb 13 17:57:22 2019 +0800
Android->Setting: refix setting system crash issue
commit 58dc19abf46d58add13c931776ce8336f759fe28
Author: lkd <service@t-firefly.com>
Date: Mon Jan 28 16:12:15 2019 +0800
SDK: 1.add AIO-3399C support. 2.fix earphone no working issue. 3. fix setting search issue
commit 8034582b4cf130132af20b212af7854af5746bcc
Author: T-Firefly <account@t-firefly.com>
Date: Mon Oct 22 15:23:05 2018 +0800
SDK: 1.support ROC-3399-PC.
2.fix TP issue.
3.support PCIE
4.support EC20 4G dongle.
5.add firefly driver demo
6.disable verity partition
commit 7a08ca7e865dacbdbb0c45d03519d0a675b581eb
Author: Firefly <service@t-firefly.com>
Date: Wed Jun 20 15:11:56 2018 +0800
Init Firefly-RK3399/AIO-3399J Android8.1 SDK
////////////////
Debug输出:
[ 1.738427] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,)
[ 1.751841] dwmmc_rockchip fe310000.dwmmc: 1 slots initialized
[ 1.753155] rt5640 1-001c: rt5640 have no aux_det_adc_value defined
[ 1.753425] rt5640 1-001c: Can not read property hp-con-gpio
[ 1.753491] rt5640 1-001c: Can not read property: linein-mute.
[ 1.762143] asoc-simple-card spdif-sound: dit-hifi <-> ff870000.spdif mappink
[ 1.765760] rk-hdmi-dp-sound hdmi-dp-sound: control 3:0:0:ELD:0 is already pt
[ 1.765910] hdmi-audio-codec hdmi-audio-codec.10.auto: ASoC: Failed to add E6
[ 1.767407] rk-hdmi-dp-sound hdmi-dp-sound: multicodec <-> ff8a0000.i2s mappk
[ 1.767622] hdmi-audio-codec hdmi-audio-codec.10.auto: ASoC: Failed to create
[ 1.771748] rt5640 1-001c: rt5640 have no aux_det_adc_value defined
[ 1.772048] rt5640 1-001c: Can not read property hp-con-gpio
[ 1.772113] rt5640 1-001c: Can not read property: linein-mute.
[ 1.774852] mmc_host mmc2: Bus speed (slot 0) = 300000Hz (slot req 300000Hz,)
[ 1.776140] rk808-rtc rk808-rtc: setting system clock to 2013-01-18 08:50:03)
[ 1.778635] It doesn't contain Rogue gpu
[ 1.811669] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz,)
u�
麻烦看看到底怎么回事?谢谢;
hiking 发表于 2019-2-18 09:40
这几天又重新编译了一次,同步了源码,
ROC-RK3399-PC 8.1最新源码默认编译后无法启动。
附件形式把整个log发出来 hiking 发表于 2019-2-18 09:40
这几天又重新编译了一次,同步了源码,
ROC-RK3399-PC 8.1最新源码默认编译后无法启动。
烧写官方最新固件试试,然后反馈给他们 非常感谢
页:
[1]