The invention discloses a setting method capable of shortening starting time of an
Android operating system and belongs to the technical field of quick starting of operating systems. The method includes: starting an
Android device, executing a bootstrap program, and loading a
Linux kernel via the bootstrap program; after Android
user space resource loading, local service starting and user partition scanning are executed, executing a
Zygote process, after classes and resources needed by an Android
virtual machine are loaded, interrupting the process and setting a restore point file for the process, creating a restore point file checking process, setting the restore point file checking process to be started after the bootstrap program loads the
Linux kernel, judging whether the restore point file is available or not by the restore point file checking process, and if yes, restoring an Android
virtual machine initialization process according to the restore point file; if not, executing the Android
virtual machine initialization process. The setting method is applied to the Android devices, and
system starting time can be shortened significantly under the premise that user experience is guaranteed.