I’ve been informed that an Android 4.2.2 SDK for Telechips TCC892x and the newer TCC893x (TCC8930, TCC8933, TCC8935) dual core SoCs has been leaked on the Internet. The file (v13.03_r1-tcc-android-4.2.2.tar.bz2) is a 2.7GB tarball, and appears to be a full SDK. You can download the file here if you are interested.

After extraction, there’s 6.7 GB of data in the following directories:

40M ./libcore 5.8M ./docs 31M ./ndk 5.0M ./gdk 1.2G ./frameworks 324K ./pdk 95M ./development 18M ./bionic 544M ./kernel 228M ./device 106M ./hardware 24M ./bootable 295M ./packages 55M ./sdk 151M ./cts 2.4G ./prebuilts 1.7G ./external 40M ./dalvik 9.1M ./system 108K ./libnativehelper 6.9M ./build 104K ./abi 47M ./vendor

The linux kernel is based on Linux 3.1.10, and there are a few config files to choose from with configs forh HDMI TV dongles, micro PCs, STBs, and evaluation boards for TCC8930, TCC8935, TCC8920 and TCC8925.



kernel/arch/arm/configs$ ls tcc* tcc8920st_defconfig tcc8935st_dongle_single_defconfig tcc8925st_dongle_defconfig tcc8935st_upc_defconfig tcc8925st_upc_defconfig tcc8935st_upc_single_defconfig tcc8925st_yj8925t_defconfig tcc8935st_yj8935t_defconfig tcc892x_defconfig tcc8935st_yj8935t_single_defconfig tcc8930st_defconfig tcc893x_defconfig tcc8930st_single_defconfig tcc893x_single_defconfig tcc8935st_dongle_defconfig 1 2 3 4 5 6 7 8 9 kernel / arch / arm / configs $ ls tcc * tcc8920st_defconfig tcc8935st_dongle_single_defconfig tcc8925st_dongle_defconfig tcc8935st_upc_defconfig tcc8925st_upc_defconfig tcc8935st_upc_single_defconfig tcc8925st_yj8925t_defconfig tcc8935st_yj8935t_defconfig tcc892x_defconfig tcc8935st_yj8935t_single_defconfig tcc8930st_defconfig tcc893x_defconfig tcc8930st_single_defconfig tcc893x_single_defconfig tcc8935st_dongle_defconfig



YJ8925T boards supports HDMI and CVBS video output, UPC support HDMI only, and others support HDMI, CVBS, and component outputs.

You’ll also find a few details about the platforms in the bootloader (bootable/bootloader/lk/target/tcc8930st_evm/rules.mk):



#------------------------------------------------------------------ # Define board revision # 0x6230 : STBM /TCC8930 /DDR3 1024MB(32BIT) /None # 0x7300 : YAOJIN /TCC8935 /DDR3 512MB (16BIT) /None # 0x7310 : YAOJIN /TCC8935 /DDR3 1024MB (16BIT) /None # 0x8310 : UPC /TCC8935 /DDR3 1024MB(16BIT) /None # 0x9300 : DONGLE /TCC8935 /DDR3 512MB (16BIT) /None 1 2 3 4 5 6 7 #------------------------------------------------------------------ # Define board revision # 0x6230 : STBM /TCC8930 /DDR3 1024MB(32BIT) /None # 0x7300 : YAOJIN /TCC8935 /DDR3 512MB (16BIT) /None # 0x7310 : YAOJIN /TCC8935 /DDR3 1024MB (16BIT) /None # 0x8310 : UPC /TCC8935 /DDR3 1024MB(16BIT) /None # 0x9300 : DONGLE /TCC8935 /DDR3 512MB (16BIT) /None



There are also several build options for Android:



source build/envsetup.sh 1 source build / envsetup .sh



You can run lunch to find out which Telechips builds are available, and start the build.



lunch ... 16. full_m805_892x-eng 17. full_m805_893x-eng 18. full_tcc8920st-eng 19. full_tcc8920-eng 20. full_tcc8930st-eng 21. full_tcc893x-eng 1 2 3 4 5 6 7 8 lunch . . . 16. full_m805_892x - eng 17. full_m805_893x - eng 18. full_tcc8920st - eng 19. full_tcc8920 - eng 20. full_tcc8930st - eng 21. full_tcc893x - eng



Run make -j10 to start the build.

full_tcc893x-eng fails to buid, and full_m805_893x-eng as well with the error:



frameworks/base/core/java/com/android/internal/widget/LockPatternUtils.java:1280: error 114: @deprecated tag with no explanatory comment DroidDoc took 137 sec. to write docs to out/target/common/docs/doc-comment-check make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45 1 2 3 frameworks / base / core / java / com / android / internal / widget / LockPatternUtils .java : 1280 : error 114 : @ deprecated tag with no explanatory comment DroidDoc took 137 sec . to write docs to out / target / common / docs / doc - comment - check make : *** [ out / target / common / docs / doc - comment - check - timestamp ] Error 45



Following instructions found @ https://community.freescale.com/thread/303944, you can just edit frameworks/base/core/java/com/android/internal/widget/LockPatternUtils.java, and remove line 1280 “* @deprecated”.

The build will go further, but stops with:



Checking API: checkapi-last frameworks/base/api/17.txt:21088: error 9: Removed public constructor SmsMessage() frameworks/base/api/17.txt:21089: error 9: Removed public method android.telephony.gsm.SmsMessage.calculateLength frameworks/base/api/17.txt:21090: error 9: Removed public method android.telephony.gsm.SmsMessage.calculateLength frameworks/base/api/17.txt:21091: error 9: Removed public method android.telephony.gsm.SmsMessage.createFromPdu 1 2 3 4 5 Checking API : checkapi - last frameworks / base / api / 17.txt : 21088 : error 9 : Removed public constructor SmsMessage ( ) frameworks / base / api / 17.txt : 21089 : error 9 : Removed public method android .telephony .gsm .SmsMessage .calculateLength frameworks / base / api / 17.txt : 21090 : error 9 : Removed public method android .telephony .gsm .SmsMessage .calculateLength frameworks / base / api / 17.txt : 21091 : error 9 : Removed public method android .telephony .gsm .SmsMessage .createFromPdu



You can remove the complete “SmsMessage” class in 17.txt, and run make update-api, before carrying on with, and hopefully completing, the build.

Documentation related to Telechips TCC893x SoCs is available in ./vendor/telechips/documents/common/pdf/ directory:

You’ll also find tools and binaries in ./vendor/telechips/ directory.