. Next I will explain the functions of these classes one by one.
2. Main functions of each file
(1) kernel: This is the system kernel. It is not the file I want to analyze. The content in this article is not kernel-level! (Learning hard ...)
(2) netlinkmanager: netlinkmanager. cpp is located in the Android 2.3 Source Code Location/system/vold/netlinkmanager. cpp. This class receives event messages from th
/arm/kali-1.1.0-rpi2.img.xz). and on the disk partition can be a partition on a system, on the SD card Select which partition to start. In addition, you can start from the external drive, there is feedback to write the CPU occupancy rate will be reduced, the speed should also be faster, before I hung a quick scrap of the pen this hard disk when nas+ download machine, now also can put the system directly on
My experience:
Seeing some of the great God's instructions, I timidly entered the drivers/mmc/host/.
As the use of s3c2440, look at the driver, I will first find s3c words, so I noticed sdhci-s3c.c and S3CMCI.C.
Took a look at Kconfig
Config mmc_s3cTriState "Samsung s3c SD/MMC card Interface Support"Depends on arch_s3c2410HelpThis is selects a driver for the MCI interface found inSamsung ' s s3c2410, s3c241
to maintain their own electronic products, SD card maintenance is not good enough, the SD card metal area will be stained with dust or oil, resulting in poor contact card slot, sometimes unable to read the situation.
Solution: Check the
Why mobile phone SD card is unavailableFirst, you need to find out whether the problem is the SD card or the mobile phone. If the problem is the SD card, change the SD
standard outputObjprocessbuilder.redirecterrorstream (TRUE);Starts a new process based on the state of the current system process builder and returns the process instanceProcess objprocess = Objprocessbuilder.start ();Blocking the thread to the end of the local operating system program, returning the return value of the local operating system programObjprocess.waitfor ();
Gets the input stream of the process object that is already connected to the standard output stream (stdout) of the local
Debugging related to SD card is often encountered in andorid development, such as MP3 files and image files. When developing a simulator, you can simulate an SD card through a hard disk. The specific method is:
(1) Create an SD card
1. when the mobile phone cannot recognize the SD card, we can try to format the SD card, which may be restored but the data on the SD card is lost. The specific steps are as follows: click "settings"> "storage setti
Why should I back up my contacts to the SD card?
Contact Backup to SD card benefits can be used in mobile phone upgrades or format or restore factory settings for recovery, and contacts to back up to the SD card can also import c
power-on enters SD mode by default, and data3 is obviously pulled up in settings. However, no response is given to any commands sent online in cmd.
Solution: use an oscilloscope to observe the waveform. After power-on, data3 (CS) is pulled down, the SD card enters the SPI status, and data0 (Miso) responds, after checking the N encoding program, I found that the
for Android2.3 of systems,environment.getexternalstoragedirectory () Get the directory is built-in SD card or external SD card is not guaranteed, and the handset manufacturer's modification, Can only be judged by environment.isexternalstorageremovable ().,If True is external, because external can be uninstalled. (But I
problems. A better approach is to get the path through environment, and finally give an example of how to get the sdcard memory and show it to the user. The content of the story is as follows:0, get the SD card path.1, tell the Environment class.2, tell the Statfs class.3. Full example read SDcard memory0. Get SD
Use the phone to format the SD card, but note that the format SD card so that your SD card data will be all lost, so we do not have to back up the data will be lost.
1, we click on the Android Phone "system Setup" item, open "sto
Note: You need to have root permission to use the RE file manager, but you can operate the SD card without the root permission, the following steps
1: In the Mobile interface we open the RE manager effect as shown in the following figure.
2: Then we slide the list down into the SD
1. In S5 Mobile standby desktop to find "Information" icon, click to enter.
2. After entering, we find a person in the information management interface, as shown in the following figure.
3. Then we long press this letter information, will see a pop-up "copy to SD card" click on it.
Attention, this can only copy a strip:
1.
of these two registers is related to the communication mode (SD mode or SPI mode. the mmccard does not have the SCR and SD status registers. see table 1 below:
Table 1 seven registers in the SD card
1.1.ocr register
The OCR register stores the allowable power supply range of the
Android --- 36 --- read sd card content, android --- 36 --- sd1. Call Environment. getExternalStorageState () to determine whether the SD card is inserted on the mobile phone and the application has the permission to read and write the SD card.Environment. getExternalStorage
Recently saw some netizens often ask TF card and SD card difference, then should distinguish?
Difference between TF card and SD card 1: Appearance distinction
SD
generally used to set 0 without parameters. The last byte consists of a 7 bit CRC check bit and a 1 bit stop bit. In SPI mode, the CRC is ignored and can be set to 1 or 0. But when sending the CMD0, remember to add the CRC, that is, the last 1 bytes is 0x95 (because the sending CMD0 is not in the SPI mode, Ps:cmd8 also want, but generally everyone sends CMD8 omitted).The SD card responds after each command
);//this thing is disgusting. In the SD card and the parameters of the MMC card is not the same as the parameters of the MMC card is set to an RCA value, but the SD card is read by the value of RCA, the above
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.