After Android kernel upload is triggered, the init initialization line will be performed, and the agent will be in system/CORE/init. -Producer creates/dev,/proc,/sys object metadata, producer creates/dev/PTS object metadata (producer metadata) and/dev/socket, in addition, the Mount-pilot command creates a null setting point, the command creates a kmsg setting point, and the log-parsing init is initialized. RC-kernel is automatically saved in/proc/kernel line:-qemu-androidboot. console-androidboot. mode-factory-factory2-androidboot. serialno-androidboot. baseband-androidboot. carrier-androidboot. bootloader-androidboot. hardware-configure gets the hardware information. If the parameter line does not indicate it, find-parsing/init in/proc/cupinfo. "hardware information 」. RC-early-init -Set the initialization parameters, coldboot/sys/class/sys/block/sys/devices, and locate the uevent files under these categories, and make the kernel regenerate those events before the start of the init Configuration Manager. -Initialize the property and retrieve the property from/Default. Prop. -If Ro. when debuggable is set to 1, the keychord listener is initialized to open the console, if the console is not specified in the production line, the/dev/console-steal with the default password is used to retrieve the/initlogo. rle is the bitwise operator of the 565 RLE operator. If it succeeds, the logo is displayed in/dev/fb0, in case of loss, set/dev/tty0 to text mode and enable/dev/tty0. The Android text is displayed as follows. -Determine the number of bytes in the queue:-If the bootmode is-factory, set Ro. factorytest is set to 1-factory2 and Ro is set. factorytest value is 2-Other preset Ro. factorytest value is 0-If serialno exists, set Ro. serialno, otherwise it is ""-If bootmod is available, set Ro. bootmod, otherwise "unknown"-If baseband exists, set Ro. baseband, otherwise "unknown"-If carrier exists, set Ro. carrier, otherwise "unknown"-If bootloader exists, set Ro. bootloader, otherwise "unknown"-set Ro. hardware-set Ro. version-when all the tokens in the row are identified as init action-start the property server and retrieve some property files. The operation must be performed after the previous Ro. Foo settings so that/data/local. Prop cannot be used to them. -/System/build. prop-/system/default. prop-/data/local. prop-obtain the presistent propertie after the primary node obtains the recognized property, in/data/property-create a letter for sigchld handler Handler-confirm all initialization work completed-device_fd (device init completed)-property_set_fd (property Server start completed) -signal_recv_fd) -When all tokens in the row are identified as early-boot action-when all tokens in the row are identified as boot action-based on the previous property signature, the action-Token-token event that identifies a property in all the tokens in the primary row:-device_fd-property_set_fd-signal_recv_fd-If keychord exists, the primary key chord_fd-If bootchart is supported, initialize bootchart-import main progress cycle:-reset the acceptance cycle of the zookeeper event, revents is 0-check whether the action parameter column-repeat the progress that needs to be re-processed-Zookeeper event-if the revents of signal_recv_fd is Pollin, a message is obtained, fetch and handle-if the revents of device_fd is Pollin, call handle_device_fd-if the revents of property_fd is Pollin, call notify-if the revents of keychord_fd is Pollin, call handle_keychord
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.