Reasons for factory mode test item cannot display

Source: Internet
Author: User
Tags define definition

Factory mode test item cannot display

If the test item of factory mode cannot be displayed normally, check the following reasons: Cause 1: The test item is not defined in ftm_test_item [] of factory. C.Make sure that the test item is defined in the ftm_test_item [] array in Alps/mediatek/Factory/src/factory. C. Static item_t ftm_test [] ={# ifdef incluitem (item_keys, uistr_keys), # endif # ifdef incluitem (item_jogball, uistr_jogball), # endif # ifdef inclu; item (item_ofn, uistr_ofn), # endif # ifdef feature_ftm_touch item (item_touch, uistr_touch), # endif Cause 2: no macro definition is madeCheck whether the macro corresponding to this test item is defined in ftm_test_items [] of Alps/mediatek/Factory/src/factory. C to view the macro that wraps this test item. # Ifdef mtk_wlan_support # ifdef feature_ftm_wifi item (item_wifi, "Wi-Fi"), # endif in Alps/mediatek/custom/[project]/factoryinc/Cust. check the definition of feature_ftm_wifi in h # If defined (mtk_wlan_support) # define feature_ftm_wifi # endif the definition of mtk_wlan_support must be in Alps/mediatek/config/[project]/projectconfig. MK view Note: Please view projectconfig. whether the auto_add_global_define_by_name and auto_add_global_define_by_value definitions exist in the MK file. Please confirm that this test item requires The macro definition has been added to one of the above two definitions by name or value. Note that the macro definition must be compiled to # define definition # ifndef definition # define feature_ftm_audio # define feature_ftm_fm # define definition # ifdef have_matv_feature # define definition # endif # as shown above, even if # define feature_ftm_fm is defined, the definition will never be compiled from the previous # ifndef statement. Cause 3: The test item is not changed in factory. ini.Sometimes, after the factory. INI is modified, build the factory module and push the factory module to the mobile phone. At this time, please note that if the test item cannot be displayed normally, please check whether the factory. ini on the mobile phone has included this test item. The check method is as follows: the mobile phone enters normal mode or factory mode, and connects to the computer to open the command line, enter the ADB shell command to enter the mobile phone directory, enter the CD etc command, enter cat factory in the etc directory. INI command to view the factory in the mobile phone. whether the INI contains this test item Cause 4: inconsistent string DefinitionsTo display the test items properly, make sure that the test item string is the same in ftm_test_item [] and factory. ini. Factory. cstatic item_t ftm_test_items [] ={# ifdef feature_ftm_keys item (item_keys, uistr_keys), # endif # ifdef incluitem (item_jogball, uistr_jogball ), # endif Alps/mediatek/Factory/INC/uistrings_chn.h # define uistr_keys "button" # define uistr_jogball "trackball" factory. CHN. inimenuitem = buttons; menuitem = trackball; Cause 5: The Language in factory. INI is the same as that in factory mode.If the factory mode is a Chinese version, make sure that the factory. the string in INI is also a Chinese version, and vice versa. If you want to display only the test items in Wi-Fi, BT, and other Chinese and English versions, check factory mode and factory first. whether the INI language version is the same. Note: The Factory. ini shown here refers to

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.