Firefly Open Source Community

Title: Firefly-RK3288 Android5.1 SDK release [Print This Page]

Author: wico    Time: 9/15/2015 12:10
Title: Firefly-RK3288 Android5.1 SDK release
Last edited by wico In 9/15/2015 12:10 Editor

Firefly-RK3288 Android5.1 SDK have released£¬Basic functions have been completed, you can download it and compile, or download firmware directly.

The size of SDK is huge. Please download firefly-rk3288_android5.1_git_20150910.tar from one of the following cloud storage:
Please check the md5 checksum before proceeding£º
  1. $ md5sum /path/to/firefly-rk3288_android5.1_git_20150910.tar
  2. 83a07f127abe57482047a417f29e3115  firefly-rk3288_android5.1_git_20150910.tar
Copy the code

If it is correct, uncompress it:
  1. mkdir -p ~/proj/firefly-rk3288-lollipop
  2. cd ~/proj/firefly-rk3288-lollipop
  3. tar xf /path/to/firefly-rk3288_android5.1_git_20150910.tar
  4. git reset --hard
  5. # git remote add bitbucket [url]https://bitbucket.org/T-Firefly/firenow-lollipop.git[/url]
Copy the code

Please refer to WiKi in detail¡£

Note£ºThe SDK is just for learning or communication, not the main major release¡£



Author: semperfi1776    Time: 9/16/2015 00:29
Last edited by semperfi1776 In 9/16/2015 00:34 Editor

I have successfully compiled and flash Android 5.1 but the 10.1 LVDS disply does not work. How to enable B101EW05 (10.1-Inches LVDS Display Module) support in the SDK? Are the instructions provided at http://wiki.t-firefly.com/index.php/Firefly-RK3288/DSI/en?
Author: cgsong    Time: 9/18/2015 17:20
I've got the following compiling error. My cross compile environment is ubuntu 14.04 on windows host VirtualBox. Please let me know how to deal with this error.

target Generated: libart-compiler <=
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-striput/target/product/rk3288_box/symbols/system/lib/libwebviewchromium.so: File format not recognized
996a4fcc6f0ac826f1f67b59372be65a4d04d1f88f3b97eed44f3e60b955063251bf11f6db51ee2368722c7e954a1aa0f963a1b9a4e82b49ce8919c1dc4b5b85
make: *** [out/target/product/rk3288_box/obj/lib/libwebviewchromium.so] error 1
make: *** Waiting for unfinished jobs....
target Generated: libartd-compiler <=
996a4fcc6f0ac826f1f67b59372be65a4d04d1f88f3b97eed44f3e60b955063251bf11f6db51ee2368722c7e954a1aa0f963a1b9a4e82b49ce8919c1dc4b5b85
996a4fcc6f0ac826f1f67b59372be65a4d04d1f88f3b97eed44f3e60b955063251bf11f6db51ee2368722c7e954a1aa0f963a1b9a4e82b49ce8919c1dc4b5b85

Author: mac_l1    Time: 9/18/2015 20:45
Great work and works great! TNX!

Is there a way to get it multibooted with ubuntu? That way I can get libhybris and kodi on it - with smoother VPU support for linux..
Author: dewet    Time: 9/18/2015 23:29
Last edited by dewet In 9/18/2015 23:31 Editor
mac_l1 Posted at 9/18/2015 20:45
Great work and works great! TNX!

Is there a way to get it multibooted with ubuntu? That way I can ...

Can unpack UGOOS Linux dual-boot 15.04 firmware.
Replace boot.img, kernel.img, system.img, resource.img, parameter, bootloader with that of Firefly Lollipop firmware that was unpacked into separate images..
Have to edit parameter file to have Linux partitions.

Can root firmware with Superuser, also instructions on crewtablets forum.
Then install a reboot app.
Reboot to recovery.
It will boot to Linux.
Author: grant2258    Time: 9/19/2015 01:10
good job on the sdk im using in for the tronsmart r28 but that irrelevant to the sdk. My heart sunk when i seen we are still using dwc_otg_310 usb drivers i thought that would have been fixed will just keep on using the otg port. Which is why we need the usb setting remembered on boot. Im going to look into the other driver myself just to pass some time apart from that one thing its look great guys good job.
Author: dewet    Time: 9/19/2015 01:55
grant2258 Posted at 9/19/2015 01:10
good job on the sdk im using in for the tronsmart r28 but that irrelevant to the sdk. My heart sunk  ...

Yeah, the dwc_otg_310 driver is a nightmare.
Hope someone can fix it before the end of the year if possible.
On my RK3368 device, which I think uses a different USB host/otg driver/manufacturer I don't have any key-repeats with my Mele Airmouse but on my RK3288 device I still do.
Author: grant2258    Time: 9/19/2015 02:45
dewet Posted at 9/19/2015 01:55
Yeah, the dwc_otg_310 driver is a nightmare.
Hope someone can fix it before the end of the year i ...

no its because we should be using the dwc2 driver instead of the dwc_otg_310 driver. i tried adding the one from linux kernel maser but had a missing header file which i copied over but looks like the usb system would need updated . It a lot to change all the usb stuff so i see what state the drivers/staging one is at and see if it can be done easier.
Author: grant2258    Time: 9/19/2015 02:45
dewet Posted at 9/19/2015 01:55
Yeah, the dwc_otg_310 driver is a nightmare.
Hope someone can fix it before the end of the year i ...

no its because we should be using the dwc2 driver instead of the dwc_otg_310 driver. i tried adding the one from linux kernel maser but had a missing header file which i copied over but looks like the usb system would need updated . It a lot to change all the usb stuff so i see what state the drivers/staging one is at and see if it can be done easier.
Author: cappybob    Time: 9/20/2015 01:58
Wico, My Friend

Thank you for including the RK3368 build, Tronsmart's release was incomplete and some what old.  Working with the Firefly again and am enjoying the learning experience.  The release comments do provide much help and I for one again Thank-You for not editing out these insights to reduce storage.  Read is like a fine book.

Thanks as always--cappybob
Author: dewet    Time: 9/20/2015 02:10
How to integrate Google Apps/support?
What Gapps package should be downloaded.
Easiest method to include it?
I get force close error messages for Google apps when I start the Firefly 5.1 firmware that I recompiled with open gapps package.
Author: cgsong    Time: 9/20/2015 21:23
I have successfully compiled lollipop and I flashed. But firefly forever displayed only "Android logo" on HDMI output. I flashed
"RK3288UbootLoader_V2.19.10.bin, boot.img, kernel.img, misc.img. recovery.img, resource.img, system.img, and parameter

CMDLINE:console=ttyS2 earlyprintk androidboot.hardware=rk30board androidboot.console=ttyS2 board.ap_has_alsa=0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00008000@0x0000e000(kernel),0x00010000@0x00016000(boot),0x00010000@0x00026000(recovery),0x0001a000@0x00036000(backup),0x00040000@0x00050000(cache),0x00002000@0x00090000(kpanic),0x00180000@0x00092000(system),0x00002000@0x00212000(metadata),0x00200000@0x00214000(userdata),0x00020000@0x00414000(radical_update),-@0x00434000(user)
"
When I use a serial debug, firefly shows "shell@firefly-rk3288:/ $" shell and it works well with adb shell. But I only see the "Android Logo" on screen. Please let me know how to solve it.

Thanks.
Author: cgsong    Time: 9/21/2015 13:26
I already tried "LowerFormat" in the Download Image menu and I only see the android logo.
Author: zhansb    Time: 9/21/2015 15:32
cgsong Posted at 9/21/2015 13:26
I already tried "LowerFormat" in the Download Image menu and I only see the android logo.

show the logcat message
Author: cgsong    Time: 9/21/2015 17:57
I attached serial debug log zip file for the lollipop booting problem. I can only see the Android log on the screen.

firefly-lollipop.zip

18.98 KB, Down times: 6

serial-debug-log


Author: grant2258    Time: 9/22/2015 00:28
cgsong Posted at 9/18/2015 17:20
I've got the following compiling error. My cross compile environment is ubuntu 14.04 on windows host ...

looks like something is a miss on your cross compile somehow.  cd in to your firefly directory and issue a

. build.sh

dont forget the .

then do a make clean then make -j8
Author: psycmos    Time: 10/28/2015 02:01
This system is not 1080p version, have no root and no playstore.

Somebody can help us sharing your build? or helping us to get 1080p in this released?
Author: faway    Time: 11/17/2015 09:59
Hi,
How to enable the google play services and all the google apps on rk3288 android 5.1?

I have compiled with below configuration in device/rockchip/rk3288/BoardConfig.mk, but found no play store in the image.
+# google apps
+BUILD_WITH_GOOGLE_MARKET := true
+BUILD_WITH_GOOGLE_MARKET_ALL := true
Author: dewet    Time: 11/17/2015 20:44
faway Posted at 11/17/2015 09:59
Hi,
How to enable the google play services and all the google apps on rk3288 android 5.1?

You can download GAPPS here - http://dl.radxa.com/rock2_square/source/vendor_gapps.tgz

You should add "include xxx.mk" like below

ifeq ($(strip $(BUILD_WITH_GOOGLE_MARKET)),true)
include vendor/google/gapps_kk_mini.mk
endif

Note : the gapps_kk_mini.mk is under vendor/google/
Author: faway    Time: 11/19/2015 10:26
dewet Posted at 11/17/2015 20:44
You can download GAPPS here - http://dl.radxa.com/rock2_square/source/vendor_gapps.tgz

You shou ...


Great.
Thank you.
Author: dewet    Time: 11/20/2015 13:08
I hope the slow motion video playback with 4K videos will be solved soon.
It is something with the kernel & dts file not working correctly.
Author: sghazagh    Time: 11/28/2015 10:45
Guys,
I get this error:

  1. Checking API: checkpublicapi-last
  2. Checking API: checkpublicapi-current
  3. Checking API: checksystemapi-last
  4. Checking API: checksystemapi-current
  5. target Package: Bluetooth (out/target/product/rk3288_box/obj/APPS/Bluetooth_intermediates/package.apk)
  6. out/target/common/obj/PACKAGING/public_api.txt:20: error 5: Added public field android.Manifest.permission.BACKUP
  7. out/target/common/obj/PACKAGING/public_api.txt:82: error 5: Added public field android.Manifest.permission.INVOKE_CARRIER_SETUP
  8. out/target/common/obj/PACKAGING/public_api.txt:106: error 5: Added public field android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE
  9. out/target/common/obj/PACKAGING/public_api.txt:116: error 5: Added public field android.Manifest.permission.RECEIVE_EMERGENCY_BROADCAST
  10. target SharedLib: libcamera_client (out/target/product/rk3288_box/obj/SHARED_LIBRARIES/libcamera_client_intermediates/LINKED/libcamera_client.so)

  11. ******************************
  12. You have tried to change the API from what has been previously approved.

  13. To make these errors go away, you have two choices:
  14.    1) You can add "@hide" javadoc comments to the methods, etc. listed in the
  15.       errors above.

  16.    2) You can update current.txt by executing the following command:
  17.          make update-api

  18.       To submit the revised current.txt to the main Android repository,
  19.       you will need approval.
  20. ******************************



  21. build/core/tasks/apicheck.mk:62: recipe for target 'out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp' failed
  22. make: *** [out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp] Error 38
  23. make: *** Waiting for unfinished jobs....
  24. packages/apps/Bluetooth/res/drawable-mdpi/bt_incomming_file_notification.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
  25. packages/apps/Bluetooth/res/drawable-hdpi/bt_incomming_file_notification.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
  26. packages/apps/Bluetooth/res/drawable-xhdpi/bt_incomming_file_notification.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
  27. warning: string 'map_acceptance_timeout_message' has no default translation.
  28. warning: string 'map_acceptance_timeout_message' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  29. warning: string 'map_auth_notif_message' has no default translation.
  30. warning: string 'map_auth_notif_message' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  31. warning: string 'map_auth_notif_ticker' has no default translation.
  32. warning: string 'map_auth_notif_ticker' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  33. warning: string 'map_auth_notif_title' has no default translation.
  34. warning: string 'map_auth_notif_title' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  35. warning: string 'map_authentication_timeout_message' has no default translation.
  36. warning: string 'map_authentication_timeout_message' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  37. warning: string 'map_defaultname' has no default translation.
  38. warning: string 'map_defaultname' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  39. warning: string 'map_defaultnumber' has no default translation.
  40. warning: string 'map_defaultnumber' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  41. warning: string 'map_localPhoneName' has no default translation.
  42. warning: string 'map_localPhoneName' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  43. warning: string 'map_session_key_dialog_header' has no default translation.
  44. warning: string 'map_session_key_dialog_header' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  45. warning: string 'map_session_key_dialog_title' has no default translation.
  46. warning: string 'map_session_key_dialog_title' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  47. warning: string 'map_unknownName' has no default translation.
  48. warning: string 'map_unknownName' is missing 37 required localizations: az_AZ bn_BD en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU et_EE eu_ES gl_ES hy_AM is_IS ka_GE kk_KZ km_KH kn_IN ky_KG lo_LA mk_MK ml_IN mn_MN mr_IN ms_MY my_MM ne_NP rm_CH si_LK ta_IN te_IN ur_PK uz_UZ zh_CN zh_HK zh_TW
  49. warning: string 'permdesc_handoverStatus' has no default translation.
  50. warning: string 'permdesc_handoverStatus' is missing 87 required localizations: af_ZA am_ET ar_EG az_AZ bg_BG bn_BD ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pl_PL pt_BR pt_PT rm_CH ro_RO ru_RU si_LK sk_SK sl_SI sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
  51. warning: string 'permlab_handoverStatus' has no default translation.
  52. warning: string 'permlab_handoverStatus' is missing 87 required localizations: af_ZA am_ET ar_EG az_AZ bg_BG bn_BD ca_ES cs_CZ da_DK de_AT de_CH de_DE de_LI el_GR en_AU en_CA en_GB en_IN en_NZ en_SG en_US eo_EU es_ES es_US et_EE eu_ES fa_IR fi_FI fr_BE fr_CA fr_CH fr_FR gl_ES hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_CH it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_BE nl_NL pl_PL pt_BR pt_PT rm_CH ro_RO ru_RU si_LK sk_SK sl_SI sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA

  53. #### make failed to build some targets (02:53:37 (hh:mm:ss)) ####
Copy the code


Any one know how can I fix that.
Do not understand what the solution option says!
Author: zhansb    Time: 11/28/2015 11:50
Last edited by zhansb In 11/28/2015 11:51 Editor


need to run the command before make:
make update-api
Author: dewet    Time: 11/30/2015 12:03
Hi

Netflix is not working on this Lollipop SDK even when compiled with Google Widevine support.
Netflix works correctly on Firefly KitKat SDK and other RK3368 box Lollipop firmware.
Author: sghazagh    Time: 12/7/2015 03:57
zhansb Posted at 11/28/2015 11:50
  •    2) You can update current.txt by executing the following command:
  •          make update-a ...

  • Yes, I did that after writing this post and it worked.

    Thanks anyway...
    Author: anlumo    Time: 12/16/2015 20:26
    Is there a way to enable dual display (VGA+HDMI) support in this SDK?




    Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1