Network set-top box project summary, set-top box project summary

Source: Internet
Author: User

Network set-top box project summary, set-top box project summary
I love my family (5 iHome) Project Summary

% TOC %

1 Introduction

Shenzhen I Love My Company project, positioning children Chinese learning video education, using the Amlogic8726 platform software, the main work of the project is as follows:

 

Replacement of the boot Logo and boot animation;

The customer's pumpkin bookstore is set to the default Launcher;

Ø pre-install the third-party input method and set it to the default value;

Export the OttSetting source code to the custom directory for compilation;

Ø pre-installed apk for system upgrade;

Replacement of customer screensaver images;

Set Custom button feedback;

Modify the default time zone and language of the system;

Ø set the local machine as customer information

 

2. Summary: 2.1 replace the boot Logo and boot Animation

Replace bootLogo

Prepare a P resolution image in BMP format, rename it as bootup, and place it in the following patch package directory

Device/amlogic/g18ref/res_pack

Replace the boot Animation

Make an on-premise animation, and set the relevant items as needed (1). Open the animation file bootanimation.zip and put it in the following directory of the patch package: device/amlogic/g18ref

 

 

2.2 The customer's pumpkin bookstore is set to the default Launcher;

Add the following two lines of code to the AndroidManifest. xml file in the source file of the pumpkin bookstore;

<Intent-filter>

<Category android: name = "android. intent. category. HOME"/>

<Category android: name = "android. intent. category. DEFAULT"/>

2.3 Pre-install the third-party input method and set it to the default value

Configure the System Default Input Method

Find the Ottsetting source file BootCompletedReceiverAML. java and add

 

Settings. Secure. putString (context. getContentResolver (), Settings. Secure. DEFAULT_INPUT_METHOD, "com. mipt. inputmethod. pinyin/. MiptIME ");

 

Library files on which the input method depends:

Symptom:

If you use a udisk to install miptime.apk, the system can normally use its input method, which is placed in the preinstall/app directory. The input method is not normal. Why?

Cause analysis:

Pre-installed apk files are placed in the preinstall directory. These apk files are directly copied to the/system/app/* directory, and the dependent library files are not automatically installed under the relevant directory,

Solution:

(1 when the serial print shows the prompt missing library file libjni_remoteime.sodecompress miptime.apk, take out the corresponding library file and pre-install it in system/lib

(2)MiptIME.apk put 5 ihome/vendor/amlogic/prebuilt/preinstallation. The apk file under the preinstalltion directory will automatically install the apk file under the directory when the network set-top box is started, the corresponding library files will also be installed under the corresponding file directory. (Recommended)

2.4 port OttSetting source code to the custom directory for compilation

Symptom:

However, the system prompts that the definition of some variables is missing,

Cause analysis:

Ask a colleague and find that there are some common variables in the frameworks layer that are used if they are not defined. Record the undefined variables prompted.

Solution:

Use ack-grep in the project before transplantation to find the variables defined in framwork and port them to framwork in 5iHome.

2.5 pre-installed system upgrade apk

SkyUpdate.apk

SkyUpgradeSetting.apk

SkyUserCenter.apk (automatically reporting device information)

2.6 Replace the customer's screen saver Image

Find the original screensaver in the out/system/media/directory, use ack-grep to find the corresponding original screensaver In the jellybean directory, replace the original screensaver, and modify the corresponding script.

/Device/amlogic/common/res/screen_saver/*** (screen saver image)

Modify/device/amlogic/g18ref/g18ref. mk

2.7 set Custom button feedback

BootCompletedReceiverAML. java

Settings. System. putInt (context. getContentResolver (), Settings. System. sound_javasts_enabled, 1 );

Create and replace the press-button audio and audio into t_tick.ogg

/Frameworks/base/data/sounds/effects

2.8 modify the system default time zone and default language

Add in system. prop

 

# Timezone

Persist. sys. timezone = Asia/Shanghai

# Default language with chinese

Persist. sys. language = zh

Persist. sys. country = CN

Ro. product. locale. language = zh

Ro. product. locale. region = CN

2.9 about local setting as customer information

Ottseting

 

 

3 related entries

 

4. Extended reading 4.1 Efficiency Improvement Tool (Wukong Assistant)

 

Wukong box assistant is a smart TV application installation tool. By using the gokong box assistant, you can directly install the apk application on the pc end to the TV box, which is very convenient for debugging. You can directly port the file to any directory in the box.

 


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.