open access (read or write) permission methods (such as:/proc/touchscreen_feature/gesture_data), the MTK platform as an example
The 2.1 defines SELinux type:proc_quick_gesture in Alps/mediatek/common/sepolicy/file.te, as follows:
Type proc_quick_gesture, Fs_type;
2.2 In Alps/mediatek/common/sepolicy/genfs_contexts, bind proc_quick_gesture to the corresponding actual node
Genfscon Proc/touchscreen_feat
latest because I want to debug the USB OTG thing, so that the USB port is occupied, so, although I am a project version, but cannot execute the ADB shell, resulting in unable to debug. So I now a system terminal APK, program http://download.csdn.net/detail/zangcf/8172151, extract so file libexec.so, put to system/lib below, source code put to: /alps/vendor/mediatek/project_xxx/artifacts/out/target/product/project_xxx/system/lib. Place the source prog
Recently, customers asked to use the MTK 6572 chip via USB OTG add support wired network card, I checked all the hooks and hooks all the site, there is no relevant discussion, see the MTK to the data, including FAQs, only said to support the USB OTG keyboard and mouse and USB stick. What to do? I'm the only one who comes.However, according to my understanding of the USB device mechanism, as long as we hang on the USB Ethernet driver, then the USB Ethernet when plugged in, should be able to autom
Code engineering inside there are three files are related to each profile of the macro, respectively: Featureoption.java, Common/projectconfig.mk, Product/projectconfig.mk.What is the relationship between them? How do I see which profiles are open for the current project?[Solution]Common/projectconfig.mk and product/projectconfig.mk are used to control the opening and closing of the profile macro, and at compile time, the system will first view the product/ PROJECTCONFIG.MK macro State, set to t
1. First complete the project (any eng/user), then save the jar package to replace the JAVA code, in the Alps/out/target/common/obj/java_libraries/xxx__intermediates directoryClasses.jarJavalib.jar2. Please save the following files to Java_library_prebuilt.mk and place them under the Alps/build/core/directory:Note: There are 11 places to start the TAB key (make syntax for the command to start the TAB key, b
1. alps \ external \ SQLite \ Android \ oldphonenumberutils. the value of min_match in CPP. If it is 11, it is an 11-bit match. If it is 7, it is a 7-bit match.
2. If no source code is available, check whether the featureoption. mtk_cta_support switch is true. If the internal code is true, 11-bit matching is used. If the source code is false, 7-bit matching is used.
[Description]Matching numbers based on the mccmnc of the SIM card to adapt to differe
me. I trembled at the sparkles, brighter than the light. A masterpiece from God, I felt digoal. we were not near, yet we were together.
Lights and wine are shining, and fangya is appropriate. The laughter is one after another. Jun stood by and looked at me. Ying's lamp trembled and stood up. This will be a masterpiece of God, dizzy. Although the two are far apart, their hearts are similar.Days ended. you said, you wowould wait for me at th e Alps sid
;
Unsigned char * fb_mem;
Fb = open ("/dev/fb0", o_rdwr );
Fb_mem = MMAP (null, 1024*768, prot_read | prot_write, map_shared, FB, 0 );
Memset (fb_mem, 0, 1024*768); // This command should only be executed by the root user
The framebuffer device also provides several IOCTL commands to obtain some fixed information about the display device (such as the Display memory size) variable information related to the display mode (such as resolution, pixel structure, byte width of each scanned line), and c
1: Replace the image resource ic_goolge_logo_normal.png in the packages/apps/quiksearchbox/RES/drawable-hdpi path to remove the Google image. 2: replace the image resource ic_goolge_logo_normal.png in the packages/apps/quiksearchbox/RES/drawable-xxxdpi path to remove the Google image. After the above two steps are completed, the icons can be removed by default, but the change will still fail. 3: After switching the topic, the resource will be found under the corresponding topic package.
Set
process)
Scp-r xxx public@10.20.31.10:/work1/local file xxx copied to public@10.20.31.10 computer/work1/directory
Scp-r public@10.20.31.10:/work1/wqtest/z507/ALPS-MP-M0.MP1-V2.84_TOP6737M_65_M0/idh. code/customize/out/Z507HZA_TOPODM_SATPAY_v1.1.15/z507hza_topodm_satpay_v1.1.15_e.mcm/work1/
Copy the xxx file from the 10.20.31.10 server to the local/work1/directory (enter the file in the local directory instead of in the Server Directory)
Ctrl + L smb:
Recently due to debugging USB OTG freak stuff. This causes the USB port to be occupied, this entry. Although I am the project version number, but cannot run ADB shell, it is not possible to debug that.So, I am now a system terminal APK, Planning http://download.csdn.net/detail/zangcf/8172151, unpacking extract so file libexec.so, put to system/lib below, source stacking to:/ Alps/vendor/mediatek/project_xxx/artifacts/out/target/product/project_xxx/sys
How does android disable the home location of the incoming call number?MTK Platform numbers can be divided into two types: 1. Mobile phone numbers are located at the location; 2. Fixed phone numbers are located at the location; Mobile phone number:MTK does it by itself. to disable the option, you only need to disable MTK_PHONE_NUMBER_GEODESCRIPTION;The path of the database file is alps/mediatek/external/geocoding. db;Only Chinese is supported. Fixed p
The oldest sequence and problems are very easy:is an array, which is the maximum value of the continuous segment and the whole sequence. To find out the value.First, the most complex: O (n3)Directly on the code, very easy: main.cpp// sumsequence//// Created by Alps on 14-7-23.// Copyright (c) 2014 Chen. All rights reserved.//#include This fact is very easy, the first layer for loop is I start from the beginning to traverse. The second layer for IS
1, please modify the Hotseat_cell_height value in Alps/packages/apps/launcher2/res/values/dimens.xml, for example, change to 100;2, please modify the Alps/packages/apps/launcher2/src/com/android/launcher2/hotseat.java in the Resetlayout () method, the main menu icon to add title, For example: Add Allappsbutton.settext ("Allappsbutton_title");3, please modify the Alps
before you start writing the code--Create a semantic archive.Step 5: Create a semantic archiveA semantic archive is a document that lists all the descriptors in the design, including all the details that help developers build client and server-side implementations. This file is an implementation guide , not an implementation description. This difference is very important.The format of the service descriptorThe service Description document format has been in place for quite some time and is hand
How does the 1,MTK platform query which camera and associated module information is currently in use?In this directory you can find the current platform and related project configuration file projectconfig.mk\alps. Jb. Mp. V1_w_20120919\mediatek\config\project**\This file is configured with information such as the hardware chip used in the current projectIf this refers to the chip information used by the radioCustom_hal_fmradio = mt6628The following r
Android: modifying the USB flash drive name
MTK
How can I modify the MTP function's drive letter name on the PC?You can use either of the following two methods:A) modify
/Alps/frameworks/base/media/java/android/mtp/MtpDatabase. javatevate int getDeviceProperty (int property, long [] outIntValue, char [] outStringValue) {String deviceName; deviceName = SystemProperties. get ("ro. product. name "); deviceName =" yournamehere "; int lengthDeviceName
Git learning, git
If we fork other people's code, after a period of time, we need to first obtain the original author's code to the local.
Let's take a look at what remote warehouses are available. The method of submitting code to the original author I mentioned in my blog above (Portal: http://blog.csdn.net/alps1992/article/details/38548107)
Check git remote-v:
➜ /Users/alps/Sites/zhaonong/html git:(master) ✗>git remote -voriginhttps://github.com/c
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.