RK3399系列Android8.1固件&源码更新(2019/01/28)
本帖最后由 wico 于 2019-2-13 18:05 编辑主要更新:
1.兼容支持AIO-3399C版型
2.支持AIO-3399J,AIO-3399C LVDS
3.修复耳机没声音的问题
4.修复设置中search崩溃问题
5.修复一些已知BUG
编译方法以及烧写方法可参考 官网维基 编译Android8.1
更新代码:git pull gitlab firefly-rk3399:firefly-rk3399
固件下载(根据索引对应版型下载Android8.1固件)
-------------------
更新(2019/02/13):
修复Settings->System崩溃问题。
下载190213日期固件或者同步更新代码
反馈一下,Settings-System崩溃 还是贴一下logcat日志吧
01-31 06:28:20.344 4891702 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.android.settings/com.android.settings.Settings$SystemDashboardActivity}----com.android.settings
01-31 06:28:20.366 237 962 D AudioHardwareTiny: Now set mixer audio_mode is 0 for drm
01-31 06:28:20.368 237 962 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
01-31 06:28:20.368 237 962 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
01-31 06:28:20.41717041704 D AndroidRuntime: Shutting down VM
01-31 06:28:20.41717041704 E AndroidRuntime: FATAL EXCEPTION: main
01-31 06:28:20.41717041704 E AndroidRuntime: Process: com.android.settings, PID: 1704
01-31 06:28:20.41717041704 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$SystemDashboardActivity}: java.lang.RuntimeException: Only one Looper may be created per thread
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.ActivityThread.-wrap11(Unknown Source:0)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
01-31 06:28:20.41717041704 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
01-31 06:28:20.41717041704 E AndroidRuntime: Caused by: java.lang.RuntimeException: Only one Looper may be created per thread
01-31 06:28:20.41717041704 E AndroidRuntime: at android.os.Looper.prepare(Looper.java:95)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.os.Looper.prepare(Looper.java:90)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.settings.system.ConnectToPcPreferenceController.<init>(ConnectToPcPreferenceController.java:63)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.settings.system.SystemDashboardFragment.buildPreferenceControllers(SystemDashboardFragment.java:72)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.settings.system.SystemDashboardFragment.getPreferenceControllers(SystemDashboardFragment.java:67)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.settings.dashboard.DashboardFragment.onAttach(DashboardFragment.java:76)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1223)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2142)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:799)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:737)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:424)
01-31 06:28:20.41717041704 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:322)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7036)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7027)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
01-31 06:28:20.41717041704 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
01-31 06:28:20.41717041704 E AndroidRuntime: ... 9 more
01-31 06:28:20.420 4891702 W ActivityManager: Force finishing activity com.android.settings/.Settings$SystemDashboardActivity
01-31 06:28:20.423 4891702 W ActivityManager: Force finishing activity com.android.settings/.Settings
01-31 06:28:20.427 489 505 I ActivityManager: Showing crash dialog for package com.android.settings u0
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:38
ROC-RK3399-PC 8.1最新版编译后无法启动
git log
把完整的log以附件形式发出来看看 leung先森 发表于 2019-2-18 14:13
把完整的log以附件形式发出来看看
已经上传了;附件debug.txt.zip
hiking 发表于 2019-2-19 00:09
已经上传了;附件debug.txt.zip
烧写公版固件有这个问题吗 公版正常,
报错的是我全部重新编译的,之前同步的源码也都删除重来过了;
hiking 发表于 2019-2-19 10:42
公版正常,
报错的是我全部重新编译的,之前同步的源码也都删除重来过了;
u-boot:
make rk3399_defconfig
make ARCHV=aarch64 -j8
kernel:
make ARCH=arm64 firefly_defconfig
make -j8 ARCH=arm64 rk3399-roc-pc.img
Android:
source build/envsetup.sh
lunch ROC_RK3399_PC-userdebug
make installclean
make -j8
./mkimage.sh
package:
./FFTools/mkupdate/mkupdate.sh update leung先森 发表于 2019-2-20 10:29
u-boot:
make rk3399_defconfig
make ARCHV=aarch64 -j8
非常感谢,已经正常启动了,谢谢