Method, system, Android device and medium for verifying legality of main system image
A main system, legal technology, applied in the direction of program control design, instrument, calculation, etc., can solve the problem of taking up a long time, and achieve the effect of better user experience, better user experience, and shortened startup time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] See figure 2 , figure 2 It is a flowchart of a method for verifying the legality of the main system image provided by the embodiment of this application. It should be noted that the method provided by this application is applied to electronic devices based on the Android operating system, specifically including Android phones, Android tablets, etc. , which includes the following steps:
[0082] S101: Load the main system image into the memory through the kernel, and expand it in the memory to obtain the main system program;
[0083] Since the Android operating system is a kernel-based operating system, the main system program after the main system image is expanded needs the support of the kernel to complete the corresponding operations, so this step is to load the main system image into the memory of the Android device through the kernel , and further expand the main system image in the memory to obtain the real usable main system program.
[0084] For ease of und...
Embodiment 2
[0098] See image 3 , image 3 for in figure 2 Before each step of the illustrated embodiment is executed, a flowchart of an operation step is also provided. This embodiment aims to supplement the startup steps mentioned in Embodiment 1 according to the complete startup process of the Android device, so that in this implementation A more practical and complete implementation scheme is obtained by supplementing the example scheme, including the following steps:
[0099] S201: Take out the bootloader image under the preset address of the target device started after power-on;
[0100] When the target Android device is powered on, it will take out the stored bootloader image from the preset address of the flash memory chip.
[0101] S202: Load the bootloader image into memory;
[0102] On the basis of S201, this step aims to load the taken-out bootloader image into the memory, so as to perform subsequent operations on it in the memory.
[0103] S203: Verify the validity of t...
Embodiment 3
[0118] See Figure 4 , Figure 4 It is a flow chart of a legality verification method in the method for verifying the legality of the main system image provided by the embodiment of this application. It should be noted that the legality verification method given in this embodiment is an encrypted digital signature-based The verification method of the method, that is, many files included in the main system program are digitally signed when they are encapsulated into a mirror image, and the overall encryption is carried out. Based on this, the present embodiment provides a legality verification method, including the following steps:
[0119] S301: Decrypt the main system image to obtain the decrypted main system image;
[0120] S302: Extract the digital signature from the decrypted main system image;
[0121] S303: Verify whether the digital signature is a legal digital signature;
[0122] When verifying whether the digital signature is legal, the verification information pr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


