How to virtual sd card on android device

A technology of Android system and system files, which is applied in the field of virtual SD card, can solve the problems of destroying the integrity and security of the Android system, the use of virtual SD cards is not completely the same, and the difficulty of source code modification, etc., to achieve flexible and controllable capacity , simple implementation, less code modification

Active Publication Date: 2016-08-03
深圳市佳创软件有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this method is feasible, it is very difficult to modify the source code, and the use of the virtual SD card is not exactly the same as that of the real SD card.
In addition, this method can easily destroy the integrity and security of the Android system, making the system unstable in subsequent use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • How to virtual sd card on android device
  • How to virtual sd card on android device
  • How to virtual sd card on android device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0221] The operating environment of the computer in this embodiment is Ubuntu10.04.2; the operating system of the set-top box of the target device is Android2.3.4, the kernel is LinuxKernel2.6.32.59, the set-top box TridentPNX8473 adopts the ARM-CortexA9 processor architecture, the size of NandFlash is 1GB×8, and the size of NorFlash is 32Mb , DDR size is 128MB×2.

[0222] The purpose of this embodiment is to compile the Loop device of the target device into a kernel module, and mount a virtual SD card with a size of 4G for it.

[0223] Step 1: Configure and compile the Linux kernel and Loop device driver

[0224] After completing the configuration of the cross-compilation toolchain, execute the following command in the Linux kernel . / linux-2.6.32.59 / directory to open the kernel configuration menu and configure the Linux kernel. Use the command line as follows:

[0225] makemenuconfig

[0226] In the menu, select "DeviceDrivers" (device driver), "Blockdevices" (...

Embodiment 2

[0266] The operating environment of the computer in this embodiment is Ubuntu10.04.2; the operating system of the set-top box of the target device is Android2.3.4, the kernel is LinuxKernel2.6.32.59, the set-top box TridentPNX8473 adopts the ARM-CortexA9 processor architecture, the size of NandFlash is 1GB×8, and the size of NorFlash is 32Mb , DDR size is 128MB×2.

[0267] The purpose of this embodiment is to compile the Loop device driver of the target device into the Linux kernel, and mount a virtual SD card with a size of 4G for it.

[0268] Step 1: Build a virtual block device for the target device on the computer:

[0269] 1. Add the code to set the maximum number of partitions for the Loop device driver

[0270] In order to enable the target device to correctly set the number of Loop devices and the maximum number of partitions when the kernel starts to load the Loop device driver, it is necessary to add corresponding code. The specific code is as follows: ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for a virtual SD (Security Digital) card on a device with an android system. The method comprises the steps as follows: 1) downloading a partitioned mirror image document into a Flash memory or a hard disk of the device; 2) finding idle Loop equipment of the android system of the device; 3) sending a user space adding message to the Loop equipment by a Linux kernel of the android system, and enabling the android system to identify the Loop equipment as disk equipment; 4) correlating the Loop equipment with the partitioned mirror image file, and enabling the partitioned mirror image file to serve as memory space of the Loop equipment; and 5) sending a user space partition insertion message to the Loop equipment by the Linux kernel of the android system. Compared with the conventional method of the virtual SD card of the android system, the method has the advantages of easiness for realization, strong adaptability and safety and the like.

Description

【Technical field】 [0001] The present invention relates to a method for virtual SD card on an Android system device. 【Background technique】 [0002] The Android (Android) system is an open source mobile phone operating system based on the Linux kernel announced by Google in November 2007. It is a set of mobile software developed for mobile terminals. Google established a global alliance organization composed of many mobile phone manufacturers, telecom operators, and chip manufacturers to jointly develop the Android system. Since then, the Android system has been continuously upgraded and its functions have become more and more perfect. At present, Samsung, HTC, and Motorola have all launched their own Android phones, and Google has also launched Google TV based on the Android system, coupled with Hong Kong Huafeng's e-way M7 navigator, and MIPS' high-definition set-top box, all of which make the Android system big. shine. Google is committed to making the Android system ind...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455G06F9/445
Inventor 涂睿高见吴焕声关博深高星
Owner 深圳市佳创软件有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products