CN103019775A - Method, device and equipment for flashing for terminal equipment - Google Patents

Method, device and equipment for flashing for terminal equipment Download PDF

Info

Publication number
CN103019775A
CN103019775A CN2012104970953A CN201210497095A CN103019775A CN 103019775 A CN103019775 A CN 103019775A CN 2012104970953 A CN2012104970953 A CN 2012104970953A CN 201210497095 A CN201210497095 A CN 201210497095A CN 103019775 A CN103019775 A CN 103019775A
Authority
CN
China
Prior art keywords
described
party
terminal device
resource bag
machine resource
Prior art date
Application number
CN2012104970953A
Other languages
Chinese (zh)
Other versions
CN103019775B (en
Inventor
汪文俊
闫昊
孙鹏
Original Assignee
北京小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米科技有限责任公司 filed Critical 北京小米科技有限责任公司
Priority to CN201210497095.3A priority Critical patent/CN103019775B/en
Publication of CN103019775A publication Critical patent/CN103019775A/en
Application granted granted Critical
Publication of CN103019775B publication Critical patent/CN103019775B/en

Links

Abstract

The embodiment of the invention provides a method, device and equipment for flashing for terminal equipment. The method comprises the following steps: firstly, starting a host program preset in the terminal equipment, wherein the host program is a necessary initiator used during the starting process of an operating system for the terminal equipment; secondly, detecting and determining the third party flashing resource pack obtained through being triggered by the host program and an executable program corresponding to the third party flashing resource pack when a default event is triggered; and thirdly, invoking the executable program corresponding to the third party flashing resource pack, and performing the flashing operation to the operating system of the terminal equipment by adopting the third party flashing resource pack. The embodiment of the invention is suitable for flashing operation of the terminal equipment of all models, the flashing operation of the operating system of the terminal equipment can also be realized under the condition that the recovery partition of the terminal equipment is sealed, the flashing mode is not provided or the fastboot mode and the recovery partition are not provided for the terminal equipment, and the user experience is good.

Description

A kind of method, device and equipment of terminal device brush machine

Technical field

The embodiment of the invention relates to the technical field that data are processed in the terminal device, particularly relates to a kind of method of terminal device brush machine, a kind of device of terminal device brush machine, and, a kind of equipment.

Background technology

The brush machine, a kind of technical term of terminal device refers to some language, picture, the tinkle of bells, software or the operating system that originally exist by in certain method change or the replacement terminal device.Popular, the brush machine is exactly to terminal device refitting system.The brush machine can make the more perfect function of terminal device, or makes mobile phone revert to virgin state.System to occur damaged for the terminal device of Android system generally speaking, causes disabler maybe can't start shooting, and also usually recovers with the method for brush machine.The brush machine can be official, also can be unofficial.

Along with the development of mobile Internet, smart mobile phone has been part indispensable in the mobile Internet.Since issue Android system in 2007, the Android system was increasing in the market share of smart mobile phone, has almost occupied the half of the country of smart mobile phone.The software of the mobile phone of a lot of cell phone manufacturers all is based on Android optimization and improved.Because Android increases income, the brush machine becomes the mobile phone fan in the Android mobile phone, a kind of fashion of mobile phone fan.The brush machine has following advantage: some application of seldom using in 1, can deletion system, and these application programs generally are in the customization machine, operator is embedded in the application that can not delete in the system; 2, can promote authority, the application that some need ROOT authority (system manager's authority) is installed, so that cell-phone function is more powerful; 3, improving performance, a lot of cell phone manufacturers have sacrificed some performances in order to ensure the stability of mobile phone; 4, in time obtain the application of mobile Internet, the ROM of a lot of companies has the function that does not have in a lot of mobile phone original systems, and more hommization; 5, from the brush machine, can obtain a lot of knowledge and experiences.

With reference to Fig. 1, be depicted as the subregion synoptic diagram of Android system intelligence mobile phone storage area, comprising: modem subregion, bootloader subregion, boot subregion, recovery subregion, system subregion, data subregion, cache subregion.After pressing power key mobile phone electrifying startup, at first a fixing address begins to carry out instruction from the bootloader subregion, and bootloader divides and is distinguished into two parts, is called respectively primary bootloader and secondary stage bootloader.Primarybootloader mainly carries out hardware detection, guarantees that copying secondary stagebootloadef to internal memory (RAM) after hardware can work begins to carry out.Secondary stage bootloader can carry out some initial work, obtains memory size information etc., and then the button according to the user enters into certain start-up mode.Such as the combination of passing through power key and some other button of called optical imaging can enter into recovery, the startup interface of fastboot or selection start-up mode etc.

Fastboot pattern: fastboot is a kind of simple brush machine agreement of Android definition, and the user can carry out the brush machine by the fastboot command-line tool.Such as this order of fastboot flash bootboot.img is write with a brush dipped in Chinese ink the content of boot.img file in the boot subregion exactly.General cell phone manufacturer does not directly provide fastboot pattern brush machine, and own proprietary brush machine instrument and brush machine method can be provided.

Recovery pattern: when entering the recovery pattern, secondary stage bootloader begins to start from the recovery subregion, the recovery subregion is an independently linux system, after the startup of the linux kernel on the recovery subregion is complete, begin to carry out first program init.The Init program can start a program that is called recovery.By starting the recovery program, the user can carry out and clear data, and the operations such as brush machine bag are installed.

Mobile phone also has the MODEM processor chips except common cpu chip.The function of this chip is exactly to realize the necessary communication function of mobile phone, and everybody the common RADIO that brushes writes with a brush dipped in Chinese ink the modem subregion exactly.

Brush machine mode generally has two kinds: 1, directly image file is input among the flash under the fastboot pattern, but general cell phone manufacturer does not directly provide this brush machine pattern, and manufacturer returns separately and provides brush machine instrument to realize this brush machine pattern, in this case, can only input the ROM of official, third-party ROM is too far behind to catch up; 2, carry out the brush machine under the recovery pattern, mobile phone arranges startup recovery subregion by button when starting, under this subregion, can realize the brush machine.But the manufacturer that has to shutoff, only has the entrance of this subregion the ROM of official to enter subregion by the brush machine, and third party ROM also is helpless.Different vendor is different to the shutoff skill of recovery subregion.Some is that bootloader is pinned, and can only brush the recovery into official.What is more directly shuts recovery, does not allow brush to enter recovery.

Summary of the invention

Embodiment of the invention technical matters to be solved is the method for a kind of terminal device brush machine of proposition, a kind of device and a kind of equipment of terminal device brush machine, be applicable to the brush machine operation of the terminal device of institute's organic type, shut or do not provide in the situation of brush machine pattern at terminal device recovery subregion, perhaps terminal device does not provide fastboot brush machine pattern and recovery subregion, also can realize the brush machine operation to terminal device operating system, user's operating experience is good.

In order to address the above problem, the embodiment of the invention discloses a kind of method of terminal device brush machine, comprising:

Be enabled in the host program that presets in the terminal device, when described host program is the terminal device os starting start-up routine must be arranged;

Detect and definite predeterminable event when being triggered, triggered by described host program and obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Call described third party and brush executable program corresponding to machine resource bag, adopt described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

Preferably, the memory-resident program installd of described host program for rewriteeing; Before the step of the described host program that presets in being enabled in terminal device, described method also comprises:

Search existing memory-resident program installd in the described terminal device;

Adopt the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.

Preferably, describedly in searching terminal device, before the step of existing memory-resident program installd, also comprise:

Acquisition is to the ROOT authority of described terminal device.

Preferably, the described third party of obtaining brushes the step that machine resource bag and described third party brush executable program corresponding to machine resource bag and comprises:

Extract from predeterminated position that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Described third party is brushed machine resource bag and described third party to brush executable program corresponding to machine resource bag and writes assigned address.

Preferably, the described third party of calling brushes executable program corresponding to machine resource bag, adopts described third party to brush the step that machine resource bag carries out for the brush machine operation of described terminal device operating system and comprises:

Start described third party and brush executable program corresponding to machine resource bag;

Brushing executable program corresponding to machine resource bag by described third party adopts described third party to brush machine resource bag to upgrade file in the described terminal device operating system.

Preferably, the operating system of described terminal device has authorization information, described third party brushes machine resource bag and has key information, describedly brush executable program corresponding to machine resource bag by the third party and adopt the third party to brush machine resource bag to upgrade before the step of file of operating system of described terminal device, also comprise:

Whether the authorization information of verifying described terminal device operating system mates the key information that described third party brushes machine resource bag.

Preferably, described third party brushes the model information that comprises terminal device in the machine resource bag and corresponding partition information file thereof, and the described executable program of brushing machine resource bag by the third party adopts the third party to brush the step that machine resource bag upgrades the file in the described terminal device operating system further to comprise:

Brush executable program corresponding to machine resource bag by described third party and carry out following operation:

Obtain the model information of described terminal device;

In described partition information file, search the partition information corresponding to model information of described terminal device;

According to the partition information corresponding to model information of described terminal device, increase and/or replace and/or delete the file in the described terminal device operating system newly.

The embodiment of the invention also discloses a kind of device of terminal device brush machine, comprising:

Host program starts module, is used for being enabled in the host program that terminal device presets, and when described host program is the terminal device os starting start-up routine must be arranged;

Brush machine resource transfer module, for detection of and when determining that predeterminable event is triggered, triggered by described host program and to obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Brush machine operation module is used for calling described third party and brushes executable program corresponding to machine resource bag, adopts described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

Preferably, the memory-resident program installd of described host program for rewriteeing; Before described host program started module, described device also comprised:

Search module, be used for searching the existing memory-resident program installd of described terminal device;

Replacement module is used for adopting the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.

Preferably, described search module before, also comprise:

ROOT authority acquiring module is used for acquisition to the ROOT authority of described terminal device.

Preferably, described brush machine resource transfer module comprises:

The Resource Access submodule, the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag for extracting from predeterminated position;

Resource writes submodule, is used for that described third party is brushed machine resource bag and described third party and brushes executable program corresponding to machine resource bag and write assigned address.

Preferably, described brush machine operation module comprises:

The program submodule is used for starting described third party and brushes executable program corresponding to machine resource bag;

Updating submodule is used for brushing executable program corresponding to machine resource bag by described third party and adopts described third party to brush the file that machine resource bag upgrades described terminal device operating system.

Preferably, the operating system of described terminal device has authorization information, and described third party brushes machine resource bag and has key information, before the described brush machine operation module, also comprises:

Authentication module is used for verifying whether the authorization information of described terminal device operating system mates the key information that described third party brushes machine resource bag.

Preferably, described third party brushes model information and the corresponding partition information file thereof that comprises terminal device in the machine resource bag, and described brush machine operation module further comprises:

Model information is obtained submodule, is used for obtaining the model information of described terminal device;

The partition information submodule is used for partition information corresponding to model information of searching described terminal device at described partition information file;

Increase newly and/or replace and/or the deletion submodule, be used for partition information corresponding to model information according to described terminal device, increase and/or replace and/or delete the file in the described terminal device operating system newly.

The embodiment of the invention also discloses a kind of equipment, described equipment comprises:

One or more processors;

Storer; With

One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:

Be enabled in the host program that presets in the terminal device, when described host program is the terminal device os starting start-up routine must be arranged;

Detect and definite predeterminable event when being triggered, triggered by described host program and obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Call described third party and brush executable program corresponding to machine resource bag, adopt described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

Compare with background technology, the embodiment of the invention comprises following advantage:

The embodiment of the invention has proposed a kind of thought that obtains the embedded type Linux equipment control, by obtaining the ROOT authority of terminal device operating system, revise the enable logic order of terminal device operating system, so that when predeterminable event triggers the brush machine operation, terminal device can call the third party and brush executable program corresponding to machine resource bag, adopts described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.The embodiment of the invention is applicable to the brush machine operation of the terminal device of institute's organic type, shut or do not provide in the situation of brush machine pattern at terminal device recovery subregion, perhaps terminal device does not provide fastboot brush machine pattern and recovery subregion, also can realize the brush machine operation to terminal device operating system, the kernel source code that does not need terminal device, method simple practical realizes that easily user's operating experience is good.

Description of drawings

Fig. 1 is the subregion synoptic diagram of the smart mobile phone storage area of a kind of Android system;

Fig. 2 is the flow chart of steps of the method for a kind of terminal device brush machine that provides of the embodiment of the invention;

Fig. 3 is that the front Android system of a kind of modification host program of the embodiment of the invention starts process flow diagram;

Fig. 4 is that the Android system starts process flow diagram behind a kind of modification host program of the embodiment of the invention;

Fig. 5 is the structured flowchart of the device of a kind of terminal device brush machine that provides of the embodiment of the invention.

Embodiment

For above-mentioned purpose, the feature and advantage that make the embodiment of the invention can become apparent more, below in conjunction with the drawings and specific embodiments the embodiment of the invention is described in further detail.

The present invention is by a kind of thought that obtains the embedded type Linux equipment control, via the ROOT authority of obtaining terminal device operating system, revise the enable logic of terminal device operating system, so that when predeterminable event triggers the brush machine operation, terminal device can call the third party and brush executable program corresponding to machine resource bag, adopts described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

With reference to Fig. 2, a kind of terminal device that showing the embodiment of the invention provides is brushed the flow chart of steps of the method for machine, and described method can comprise the steps:

Step 101 is enabled in the host program that presets in the terminal device, when described host program is the terminal device os starting start-up routine must be arranged;

In specific implementation, the operating system of terminal device can be the Android system, uses linux kernel.Wherein, when the host program that presets is the terminal device os starting start-up routine must be arranged in terminal device, need have the ROOT authority.Such as: adbd, sh, installd process etc.

In a kind of preferred embodiment of the embodiment of the invention, described host program can be the memory-resident program installd that rewrites; Before step 101, described method can also comprise following substep:

Substep S11 searches existing memory-resident program installd in the described terminal device;

Substep S12 adopts the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.

The embodiment of the invention relates to process to be injected, and by injecting thread in the remote process the inside, obtains the operating right of corresponding process with this.Adopt in embodiments of the present invention the memory-resident program installd of described rewriting to replace described existing memory-resident program installd, obtain control to the start process of terminal device with this.In general, process is injected with three kinds of possible solutions:

1, code is put among the DLL (Dynamic Link Library dynamic link library); It is mapped to remote process with the windows hook holder.

2, code is put among the DLL; Then use CreateRemoteThread (Remote create) and LoadLibrary (dynamic load) that it is mapped to remote process.

3, without DLL, directly replicating code is carried out it to remote process (using WriteProcessMemory (system process monitor)) and with CreateRemoteThread.

A kind of preferred exemplary as the embodiment of the invention, host program can be the memory-resident program installd that rewrites, the installd that rewrites can be rewritten by the program development personnel, the installd that rewrites not only has the original installd function of terminal device, also on the basis of existing installd, added new logic.

Wherein, new logic can for: after starting installd, judge whether the user supresses preset key (for example can be to press volume key), if volume key is pressed, then in the terminal device storage card, search the third party and brush machine resource bag and corresponding executable program thereof, and the third party brushed machine resource bag and corresponding executable program thereof by copying in the storage card in the root directory, start the third party and brush executable program corresponding to machine resource bag, adopt the third party to brush machine resource bag and finish the brush machine operation, if preset key is not pressed, then carry out normal start flow process.

Owing to start at first when installd is os starting, rewriteeing installd is the implementation of embodiment of the invention the best.But the program that must have when in theory, rewriteeing other startups of terminal device operating system also is to realize.Must have the requirement of process to be during for startup, must be No. 1 process, and namely its parent process must be init process (No. 0 process), and the existing program that must have that starts the operating system that rewrites and replace must have the ROOT authority.Because the Android system uses linux kernel, No. 0 process is the kernel process of linux kernel, and No. 1 process is obtained by the kernel process fork (branch) of linux kernel, and linux kernel terminal device not out of service just can be finished the operation of brush machine.

In a kind of preferred embodiment of the embodiment of the invention, before substep S11, can also comprise the steps:

Acquisition is to the ROOT authority of described terminal device.

After obtaining terminal device ROOT authority, just can make amendment to the host program of terminal device, therefore need obtain first the ROOT authority to described terminal device, so that operating system /attribute of system subregion becomes and can write, afterwards just can be with existing host program in the host program replacement operation system that rewrites, win the control of terminal device start process, interrupt thus the start process of terminal device, obtain the third party at host program fork and brush the machine resource, so that when detecting and definite predeterminable event when being triggered, the brush machine operation of host program meeting triggering terminal equipment is finished the brush machine to terminal device.At present, the method for obtaining the ROOT authority has multiple, also has multiplely be used to obtaining the ROOT authority or cracking the software of terminal device, the method for obtaining terminal device ROOT authority is not limited in the embodiment of the invention.

In specific implementation, behind the terminal device os starting linux kernel, the ROOT authority that obtains terminal device just can arrange the operation that enters terminal device brush machine.By in installd, injecting branch's (namely allowing third-party executable program to carry out the operation of brush machine), realize the function of brush machine.Realize that this third-party executable program must can revise installd terminal device brush machine function, in namely can right/system subregion / installd under the bin file has write permission.Because installd is with the operation of ROOT identity, therefore can in installd, obtain the required any authority of brush machine and resource.

Step 102 detects and definite predeterminable event when being triggered, and is triggered by described host program and obtains that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Predeterminable event can be some buttons of terminal device, or combination button is pinned always.When detecting predeterminable event and be triggered, host program triggers and obtains that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag.

In a kind of preferred embodiment of the embodiment of the invention, step 102 can comprise following substep:

Substep S21 extracts from predeterminated position that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Substep S22 brushes machine resource bag and described third party with described third party and brushes executable program corresponding to machine resource bag and write assigned address.

The third party brushes machine resource bag and is used for the auxiliary brush machine process of finishing, when brushing machine operation, the third party brushes executable program corresponding to machine resource bag and can read the third party from predeterminated position and brush machine resource bag, the third party is brushed machine resource bag and corresponding executable program writes assigned address to finish the brush machine.Predeterminated position can be storage card or system partitioning/system, and the third party brushes machine resource bag can and leave in the storage card via OTA (Over The Air, over the air) download or upgrading.During the brush machine, the third party brushes executable program corresponding to machine resource bag and brushes machine resource bag by reading the third party in the storage card, but this is not preferred mode, because terminal device is slower for the reading speed of storage card, and the terminal device of different model, its storage card catalogue disunity might be packet installation directory/sdcard, also might be format RAM (random access memory) card subregion/sd-ext etc., for the terminal device of different model, need separately configuration.

Preferably, the third party can be brushed machine resource bag is copied into to root directory (assigned address), because terminal device is very fast for the reading speed of internal memory by predeterminated position, and root directory is to be based upon in the internal memory of terminal device, and for the terminal device of different type of machines, root directory is unified.And it is generally less that the third party brushes machine resource bag, and about 2M, the internal memory of terminal device can put down

Step 103 is called described third party and is brushed executable program corresponding to machine resource bag, adopts described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

After predeterminable event triggering terminal equipment obtains the executable program of third party's machine resource bag and correspondence thereof,

In a kind of preferred embodiment of the embodiment of the invention, step 103 can comprise following substep:

Substep S31 starts described third party and brushes executable program corresponding to machine resource bag;

Substep S32 brushes executable program corresponding to machine resource bag by described third party and adopts described third party to brush machine resource bag to upgrade file in the described terminal device operating system.

In specific implementation, for the brush machine operation of terminal device, in fact exactly Android system of systems file is upgraded.Present common way is, obtain the operating system of redaction in exploitation after, packing forms brush machine resource bag, for example brush machine resource bag and can be a zip compressed package, when brushing machine operation, use the file in the zip compressed package to replace original system file, or with the newly-increased original system file of the file in the zip compressed package.In addition, when brush machine resource bag is larger, generally be stored in the storage card.

In a kind of preferred embodiment of the embodiment of the invention, the operating system of described terminal device has authorization information, and described third party brushes machine resource bag and has key information, before substep S32, can also comprise the steps:

Whether the authorization information of verifying described terminal device operating system mates the key information that described third party brushes machine resource bag.

Android system regulation only has by the operating system file of its approval (ROM) just can be entered in the operating system file of terminal device by brush.The authorization information that has acquiescence in the Android system uses the authorization information checking to prepare to brush key (keys) file of the system file that enters, and checking enters by the rear brush of new operating system file that just allows.In order to finish the brush machine operation so that the third party brushes executable program corresponding to machine resource bag, the embodiment of the invention is after obtaining the ROOT authority, also revised the authorization information in the Android system, and brush the third party and to provide the key file that adapts in order to checking in the machine resource bag, so just guaranteed that new operating system file necessarily can pass through the checking of Android system.

In a kind of preferred embodiment of the embodiment of the invention, described third party brushes model information and the corresponding partition information file thereof that comprises terminal device in the machine resource bag, and substep S32 may further include following steps:

Brush executable program corresponding to machine resource bag by described third party and carry out following operation:

Substep S32-1 obtains the model information of described terminal device;

Substep S32-2 searches the partition information corresponding to model information of described terminal device in described partition information file;

Substep S32-3 according to the partition information corresponding to model information of described terminal device, increases and/or replaces and/or delete the file in the described terminal device operating system newly.

Because the partition information of the terminal device of different type is different, and when brushing machine operation, the writing of new operating system file needs to rely on partition information.Preferably, brush the third party and to comprise partition information file recovery.fstab in the machine resource bag, record the partition information corresponding to model information of different terminal equipment in the partition information file, therefore, the third party who copies terminal device brushes the partition information file that comprises in the machine resource bag and can adapt with the type of the terminal device of current preparation brush machine.

In specific implementation, write the partition information corresponding to model information of known terminal device at the partition information file, and so that the type of each terminal device is corresponding with corresponding partition information.So just can be when carrying out the brush machine operation, need to not go for the type of terminal device to obtain corresponding partition information file copy into.When brushing machine, find partition information according to self type at the partition information file, and carry out the brush machine according to partition information and get final product.

Concrete, in fact the process of brush machine operation is exactly to use the third party to brush operating system file in the file update terminal device in the machine resource bag." renewal " comprises newly-increased file and covers the original system file, also comprise the origin operation system file of deleting appointment.To write when concrete, those files in replacement or the deletion action system, determined by the update status of operating system, also namely brush machine resource bag by the third party and determine.Generally speaking, the operating system file among system partitioning/system certainly exists renewal, for operating system nucleus file among the boot section/boot of system, determines whether upgrade depending on the operating system update situation.

The embodiment of the invention is by revising the memory-resident program installd of terminal device, obtain the start control of terminal device with this, so that terminal device can be realized the operation of the machine of brushing, in order to make those skilled in the art further understand the embodiment of the invention, illustrate that below by concrete example the embodiment of the invention realizes the process of terminal device brush machine.

With reference to Fig. 3, the front Android system of a kind of modification host program that is depicted as the embodiment of the invention starts process flow diagram, and the Android system comprises two parts: the linux kernel file and the system file that is stored in the system subregion that are stored in the boot subregion.

The Android system is the operating system that operates on the linux kernel, and the terminal device start-up course with Android system is as follows:

(1) when start, at first reads bootloader subregion (can be understood as the system boot section).

(2) be directed to the boot subregion by bootloader, the boot subregion is the memory block of linux kernel.

(3) linux kernel in the boot subregion is loaded in the internal memory, forms " root directory ", read initialize process init.rc, at first can the carry subregion under initialize process, some environmental variances are set, start the process of certain operations system.Wherein have installd.

Wherein, " root directory " is actually and is present in the internal memory, namely removes after the terminal device shutdown, when terminal device is started shooting again, again is loaded into internal memory according to the linux kernel in the boot subregion.

(4) system starts complete.

With reference to Fig. 4, be depicted as a kind of modification host program of the embodiment of the invention after the Android system start process flow diagram, revise memory-resident program installd, so that terminal device can judge whether to enter the brush machine operation at installd at first.It is as follows that Android system behind the modification host program starts flow process:

(1) when start, at first reads the bootloader subregion;

(2) be directed to the boot subregion by bootloader;

(3) linux kernel in the boot subregion is loaded in the internal memory, forms " root directory ", read initialize process init.rc, some environmental variances are set, start some processes, comprising the process installd after rewriteeing;

(4) installd that rewrites is when receiving the trigger action of brush machine operation, enter brush machine pattern, the executable program of the third party being brushed machine resource bag and correspondence thereof copies under the root directory, call the third party and brush executable program corresponding to machine resource bag, adopt the third party to brush machine resource bag and finish brush machine operation to terminal device;

(5) system start complete after, restarting terminal device, the brush machine is finished.

Need to prove, for embodiment of the method, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.

With reference to Fig. 5, a kind of terminal device that showing the embodiment of the invention provides is brushed the structured flowchart of the device of machine, and described device can comprise such as lower module:

Host program starts module 201, is used for being enabled in the host program that terminal device presets, and when described host program is the terminal device os starting start-up routine must be arranged;

In a kind of preferred embodiment of the embodiment of the invention, the memory-resident program installd of described host program for rewriteeing; Before described host program started module, described device can also comprise such as lower module:

Search module, be used for searching the existing memory-resident program installd of described terminal device;

Replacement module is used for adopting the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.

In a kind of preferred embodiment of the embodiment of the invention, described search module before, can also comprise such as lower module:

ROOT authority acquiring module is used for acquisition to the ROOT authority of described terminal device.

Brush machine resource transfer module 202, for detection of and when determining that predeterminable event is triggered, triggered by described host program and to obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

In a kind of preferred embodiment of the embodiment of the invention, described brush machine resource transfer module can comprise following submodule:

The Resource Access submodule, the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag for extracting from predeterminated position;

Resource writes submodule, is used for that described third party is brushed machine resource bag and described third party and brushes executable program corresponding to machine resource bag and write assigned address.

Brush machine operation module 203 is used for calling described third party and brushes executable program corresponding to machine resource bag, adopts described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

In a kind of preferred embodiment of the embodiment of the invention, described brush machine operation module can comprise following submodule:

The program submodule is used for starting described third party and brushes executable program corresponding to machine resource bag;

Updating submodule is used for brushing executable program corresponding to machine resource bag by described third party and adopts described third party to brush the file that machine resource bag upgrades described terminal device operating system.

In a kind of preferred embodiment of the embodiment of the invention, the operating system of described terminal device has authorization information, and described third party brushes machine resource bag and has key information, before the described brush machine operation module, can also comprise such as lower module:

Authentication module is used for verifying whether the authorization information of described terminal device operating system mates the key information that described third party brushes machine resource bag.

In a kind of preferred embodiment of the embodiment of the invention, described third party brushes model information and the corresponding partition information file thereof that comprises terminal device in the machine resource bag, and described brush machine operation module may further include following submodule:

Model information is obtained submodule, is used for obtaining the model information of described terminal device;

The partition information submodule is used for partition information corresponding to model information of searching described terminal device at described partition information file;

Increase newly and/or replace and/or the deletion submodule, be used for partition information corresponding to model information according to described terminal device, increase and/or replace and/or delete the file in the described terminal device operating system newly.

For device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.

Present embodiment also provides a kind of equipment, and described equipment comprises:

One or more processors;

Storer; With

One or more modules (programs), described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:

Be enabled in the host program that presets in the terminal device, when described host program is the terminal device os starting start-up routine must be arranged;

Detect and definite predeterminable event when being triggered, triggered by described host program and obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Call described third party and brush executable program corresponding to machine resource bag, adopt described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

Preferably, the memory-resident program installd of described host program for rewriteeing; Before the step of the described host program that presets in being enabled in terminal device, described one or more modules have following function:

Search existing memory-resident program installd in the described terminal device;

Adopt the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.

Preferably, describedly in searching terminal device, before the step of existing memory-resident program installd, also comprise:

Acquisition is to the ROOT authority of described terminal device.

Preferably, the described third party of obtaining brushes the step that machine resource bag and described third party brush executable program corresponding to machine resource bag and comprises:

Extract from predeterminated position that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Described third party is brushed machine resource bag and described third party to brush executable program corresponding to machine resource bag and writes assigned address.

Preferably, the described third party of calling brushes executable program corresponding to machine resource bag, adopts described third party to brush the step that machine resource bag carries out for the brush machine operation of described terminal device operating system and comprises:

Start described third party and brush executable program corresponding to machine resource bag;

Brushing executable program corresponding to machine resource bag by described third party adopts described third party to brush machine resource bag to upgrade file in the described terminal device operating system.

Preferably, the operating system of described terminal device has authorization information, described third party brushes machine resource bag and has key information, describedly brush executable program corresponding to machine resource bag by the third party and adopt the third party to brush machine resource bag to upgrade before the step of file of operating system of described terminal device, also comprise:

Whether the authorization information of verifying described terminal device operating system mates the key information that described third party brushes machine resource bag.

Preferably, described third party brushes the model information that comprises terminal device in the machine resource bag and corresponding partition information file thereof, and the described executable program of brushing machine resource bag by the third party adopts the third party to brush the step that machine resource bag upgrades the file in the described terminal device operating system further to comprise:

Brush executable program corresponding to machine resource bag by described third party and carry out following operation:

Obtain the model information of described terminal device;

In described partition information file, search the partition information corresponding to model information of described terminal device;

According to the partition information corresponding to model information of described terminal device, increase and/or replace and/or delete the file in the described terminal device operating system newly.

Present embodiment also provides a kind of non-volatile readable storage medium, store one or more modules (programs) in this storage medium, when these one or more modules are used in the equipment with touch screen, can be so that this equipment be carried out the instruction (instructions) of following steps:

Be enabled in the host program that presets in the terminal device, when described host program is the terminal device os starting start-up routine must be arranged;

Detect and definite predeterminable event when being triggered, triggered by described host program and obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Call described third party and brush executable program corresponding to machine resource bag, adopt described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.

Preferably, the memory-resident program installd of described host program for rewriteeing; Before the step of the described host program that presets in being enabled in terminal device, described one or more modules are all right so that this equipment is carried out the instruction of following steps:

Search existing memory-resident program installd in the described terminal device;

Adopt the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.

Preferably, describedly in searching terminal device, before the step of existing memory-resident program installd, also comprise:

Acquisition is to the ROOT authority of described terminal device.

Preferably, the described third party of obtaining brushes the step that machine resource bag and described third party brush executable program corresponding to machine resource bag and comprises:

Extract from predeterminated position that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;

Described third party is brushed machine resource bag and described third party to brush executable program corresponding to machine resource bag and writes assigned address.

Preferably, the described third party of calling brushes executable program corresponding to machine resource bag, adopts described third party to brush the step that machine resource bag carries out for the brush machine operation of described terminal device operating system and comprises:

Start described third party and brush executable program corresponding to machine resource bag;

Brushing executable program corresponding to machine resource bag by described third party adopts described third party to brush machine resource bag to upgrade file in the described terminal device operating system.

Preferably, the operating system of described terminal device has authorization information, described third party brushes machine resource bag and has key information, describedly brush executable program corresponding to machine resource bag by the third party and adopt the third party to brush machine resource bag to upgrade before the step of file of operating system of described terminal device, also comprise:

Whether the authorization information of verifying described terminal device operating system mates the key information that described third party brushes machine resource bag.

Preferably, described third party brushes the model information that comprises terminal device in the machine resource bag and corresponding partition information file thereof, and the described executable program of brushing machine resource bag by the third party adopts the third party to brush the step that machine resource bag upgrades the file in the described terminal device operating system further to comprise:

Brush executable program corresponding to machine resource bag by described third party and carry out following operation:

Obtain the model information of described terminal device;

In described partition information file, search the partition information corresponding to model information of described terminal device;

According to the partition information corresponding to model information of described terminal device, increase and/or replace and/or delete the file in the described terminal device operating system newly.

Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.

Those skilled in the art should understand that the embodiment of the embodiment of the invention can be provided as method, system or computer program.Therefore, the embodiment of the invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the embodiment of the invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.

The embodiment of the invention is that reference is described according to process flow diagram and/or the block scheme of method, terminal device (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal equipment producing a machine, so that the instruction of carrying out by the processor of computing machine or other programmable data processing terminal equipment produces the device of the function that is used for being implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.

These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing terminal equipment with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.

These computer program instructions also can be loaded on computing machine or other programmable data processing terminal equipment, so that carry out the sequence of operations step producing computer implemented processing at computing machine or other programmable terminal equipment, thereby be provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame in the instruction that computing machine or other programmable terminal equipment are carried out.

Although described the preferred embodiment of the embodiment of the invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into embodiment of the invention scope.

At last, also need to prove, in this article, such as term " comprise ", " comprising " or its any other variant be intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, article or the terminal device of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or terminal device.Do not having in the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal device that comprises described key element and also have other identical element.

More than the method, the device of a kind of terminal device brush machine of a kind of terminal device brush machine that the embodiment of the invention is provided, and, a kind of equipment, be described in detail, used specific case herein principle and the embodiment of the embodiment of the invention are set forth, the explanation of above embodiment just is used for helping to understand method and the core concept thereof of the embodiment of the invention; Simultaneously, for one of ordinary skill in the art, the thought according to the embodiment of the invention all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the embodiment of the invention.

Claims (15)

1. the method for a terminal device brush machine is characterized in that, comprising:
Be enabled in the host program that presets in the terminal device, when described host program is the terminal device os starting start-up routine must be arranged;
Detect and definite predeterminable event when being triggered, triggered by described host program and obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;
Call described third party and brush executable program corresponding to machine resource bag, adopt described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.
2. method according to claim 1 is characterized in that, the memory-resident program installd of described host program for rewriteeing; Before the step of the described host program that presets in being enabled in terminal device, described method also comprises:
Search existing memory-resident program installd in the described terminal device;
Adopt the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.
3. method according to claim 2 is characterized in that, describedly before the step of existing memory-resident program installd, also comprises in searching terminal device:
Acquisition is to the ROOT authority of described terminal device.
4. method according to claim 1 is characterized in that, the described third party of obtaining brushes the step that machine resource bag and described third party brush executable program corresponding to machine resource bag and comprises:
Extract from predeterminated position that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;
Described third party is brushed machine resource bag and described third party to brush executable program corresponding to machine resource bag and writes assigned address.
5. method according to claim 1 is characterized in that, the described third party of calling brushes executable program corresponding to machine resource bag, adopts described third party to brush the step that machine resource bag carries out for the brush machine operation of described terminal device operating system and comprises:
Start described third party and brush executable program corresponding to machine resource bag;
Brushing executable program corresponding to machine resource bag by described third party adopts described third party to brush machine resource bag to upgrade file in the described terminal device operating system.
6. method according to claim 1 or 5, it is characterized in that, the operating system of described terminal device has authorization information, described third party brushes machine resource bag and has key information, describedly brush executable program corresponding to machine resource bag by the third party and adopt the third party to brush machine resource bag to upgrade before the step of file of operating system of described terminal device, also comprise:
Whether the authorization information of verifying described terminal device operating system mates the key information that described third party brushes machine resource bag.
7. method according to claim 6, it is characterized in that, described third party brushes the model information that comprises terminal device in the machine resource bag and corresponding partition information file thereof, and the described executable program of brushing machine resource bag by the third party adopts the third party to brush the step that machine resource bag upgrades the file in the described terminal device operating system further to comprise:
Brush executable program corresponding to machine resource bag by described third party and carry out following operation:
Obtain the model information of described terminal device;
In described partition information file, search the partition information corresponding to model information of described terminal device;
According to the partition information corresponding to model information of described terminal device, increase and/or replace and/or delete the file in the described terminal device operating system newly.
8. the device of a terminal device brush machine is characterized in that, comprising:
Host program starts module, is used for being enabled in the host program that terminal device presets, and when described host program is the terminal device os starting start-up routine must be arranged;
Brush machine resource transfer module, for detection of and when determining that predeterminable event is triggered, triggered by described host program and to obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;
Brush machine operation module is used for calling described third party and brushes executable program corresponding to machine resource bag, adopts described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.
9. device according to claim 8 is characterized in that, the memory-resident program installd of described host program for rewriteeing; Before described host program started module, described device also comprised:
Search module, be used for searching the existing memory-resident program installd of described terminal device;
Replacement module is used for adopting the memory-resident program installd of described rewriting to replace described existing memory-resident program installd.
10. device according to claim 9 is characterized in that, described search module before, also comprise:
ROOT authority acquiring module is used for acquisition to the ROOT authority of described terminal device.
11. device according to claim 8 is characterized in that, described brush machine resource transfer module comprises:
The Resource Access submodule, the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag for extracting from predeterminated position;
Resource writes submodule, is used for that described third party is brushed machine resource bag and described third party and brushes executable program corresponding to machine resource bag and write assigned address.
12. device according to claim 8 is characterized in that, described brush machine operation module comprises:
The program submodule is used for starting described third party and brushes executable program corresponding to machine resource bag;
Updating submodule is used for brushing executable program corresponding to machine resource bag by described third party and adopts described third party to brush the file that machine resource bag upgrades described terminal device operating system.
13. according to claim 8 or 12 described devices, it is characterized in that the operating system of described terminal device has authorization information, described third party brushes machine resource bag and has key information, before the described brush machine operation module, also comprises:
Authentication module is used for verifying whether the authorization information of described terminal device operating system mates the key information that described third party brushes machine resource bag.
14. device according to claim 13 is characterized in that, described third party brushes model information and the corresponding partition information file thereof that comprises terminal device in the machine resource bag, and described brush machine operation module further comprises:
Model information is obtained submodule, is used for obtaining the model information of described terminal device;
The partition information submodule is used for partition information corresponding to model information of searching described terminal device at described partition information file;
Increase newly and/or replace and/or the deletion submodule, be used for partition information corresponding to model information according to described terminal device, increase and/or replace and/or delete the file in the described terminal device operating system newly.
15. an equipment is characterized in that, described equipment comprises:
One or more processors;
Storer; With
One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
Be enabled in the host program that presets in the terminal device, when described host program is the terminal device os starting start-up routine must be arranged;
Detect and definite predeterminable event when being triggered, triggered by described host program and obtain that the third party brushes machine resource bag and described third party brushes executable program corresponding to machine resource bag;
Call described third party and brush executable program corresponding to machine resource bag, adopt described third party to brush the execution of machine resource bag for the brush machine operation of described terminal device operating system.
CN201210497095.3A 2012-11-28 2012-11-28 A kind of method of terminal device brush machine, device and equipment CN103019775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210497095.3A CN103019775B (en) 2012-11-28 2012-11-28 A kind of method of terminal device brush machine, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210497095.3A CN103019775B (en) 2012-11-28 2012-11-28 A kind of method of terminal device brush machine, device and equipment

Publications (2)

Publication Number Publication Date
CN103019775A true CN103019775A (en) 2013-04-03
CN103019775B CN103019775B (en) 2016-04-13

Family

ID=47968409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210497095.3A CN103019775B (en) 2012-11-28 2012-11-28 A kind of method of terminal device brush machine, device and equipment

Country Status (1)

Country Link
CN (1) CN103019775B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473502A (en) * 2013-09-16 2013-12-25 惠州Tcl移动通信有限公司 Method and system for acquiring Root rights of android-based mobile terminal
CN103984570A (en) * 2014-05-07 2014-08-13 珠海全志科技股份有限公司 Method and device for processing firmware of embedded Android system
CN104199677A (en) * 2014-07-25 2014-12-10 小米科技有限责任公司 System reinstalling method and device and corresponding device
CN104461787A (en) * 2014-12-22 2015-03-25 上海斐讯数据通信技术有限公司 Memory transfer system for mobile phone partition table content
CN104506639A (en) * 2014-12-29 2015-04-08 北京奇虎科技有限公司 Root right acquiring method and device
CN104679554A (en) * 2014-12-26 2015-06-03 苏州佳世达电通有限公司 Operating system updating method
CN104932908A (en) * 2014-03-18 2015-09-23 珠海全志科技股份有限公司 Flash method and flash system
CN105022641A (en) * 2014-04-16 2015-11-04 腾讯科技(深圳)有限公司 Method and device for system reinstallation of mobile terminal
WO2016008139A1 (en) * 2014-07-17 2016-01-21 华为技术有限公司 Method and device for installing system of user equipment
CN105278980A (en) * 2014-07-25 2016-01-27 腾讯科技(深圳)有限公司 System updating method and apparatus, and server
CN105446835A (en) * 2015-12-24 2016-03-30 小米科技有限责任公司 Method and device for repairing system file
CN105528229A (en) * 2015-12-16 2016-04-27 广东欧珀移动通信有限公司 Method and device for improving first starting speed of mobile terminal
CN105550009A (en) * 2016-02-05 2016-05-04 北京奇虎科技有限公司 Mobile terminal processing method and device
CN105631254A (en) * 2015-12-26 2016-06-01 小米科技有限责任公司 Unlocking method and unlocking device
CN105740013A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Flash operation control method and apparatus
CN105786486A (en) * 2016-02-05 2016-07-20 北京奇虎科技有限公司 Processing method and device of mobile terminal
CN105868644A (en) * 2015-12-11 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and apparatus for controlling Root function of mobile terminal and mobile terminal
WO2016161792A1 (en) * 2015-04-09 2016-10-13 华为技术有限公司 Refurbishment method and intelligent terminal
WO2016183721A1 (en) * 2015-05-15 2016-11-24 华为技术有限公司 Upgrade method, apparatus and device for terminal device
WO2016187806A1 (en) * 2015-05-26 2016-12-01 华为技术有限公司 Method, device and terminal for preventing android device from being rooted
CN106708543A (en) * 2015-07-22 2017-05-24 Tcl集团股份有限公司 OTA upgrading method and apparatus for operation system
CN106817623A (en) * 2016-12-14 2017-06-09 广州视源电子科技股份有限公司 Recovery method for computer system and device in intelligent interaction flat board
CN106911497A (en) * 2017-02-07 2017-06-30 腾讯科技(深圳)有限公司 Identification, the method and apparatus of adaption system more new equipment
US9928077B2 (en) 2013-12-30 2018-03-27 Sanechips Technology Co., Ltd. Chip starting method, multi-core processor chip and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1544336A (en) * 2003-11-27 2004-11-10 茂名粤桥集团矿业有限公司 Chemical processing method for promotion of titanium dioxide product quality
CN102141940A (en) * 2010-12-29 2011-08-03 Tcl集团股份有限公司 Device, method and system for recovering firmware update

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1544336A (en) * 2003-11-27 2004-11-10 茂名粤桥集团矿业有限公司 Chemical processing method for promotion of titanium dioxide product quality
CN102141940A (en) * 2010-12-29 2011-08-03 Tcl集团股份有限公司 Device, method and system for recovering firmware update

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
佚名: "《小米手机M1刷机线刷完全教程》", 《百度经验》, 3 November 2012 (2012-11-03), pages 1 - 2 *

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473502A (en) * 2013-09-16 2013-12-25 惠州Tcl移动通信有限公司 Method and system for acquiring Root rights of android-based mobile terminal
US9928077B2 (en) 2013-12-30 2018-03-27 Sanechips Technology Co., Ltd. Chip starting method, multi-core processor chip and storage medium
CN104932908A (en) * 2014-03-18 2015-09-23 珠海全志科技股份有限公司 Flash method and flash system
CN104932908B (en) * 2014-03-18 2018-08-28 珠海全志科技股份有限公司 Brush machine method and system
CN105022641B (en) * 2014-04-16 2019-10-29 腾讯科技(深圳)有限公司 The method and device of system refitting is carried out to mobile terminal
CN105022641A (en) * 2014-04-16 2015-11-04 腾讯科技(深圳)有限公司 Method and device for system reinstallation of mobile terminal
CN103984570A (en) * 2014-05-07 2014-08-13 珠海全志科技股份有限公司 Method and device for processing firmware of embedded Android system
CN103984570B (en) * 2014-05-07 2017-05-31 珠海全志科技股份有限公司 The method and device of the firmware handle of embedded Android system
WO2016008139A1 (en) * 2014-07-17 2016-01-21 华为技术有限公司 Method and device for installing system of user equipment
CN104199677A (en) * 2014-07-25 2014-12-10 小米科技有限责任公司 System reinstalling method and device and corresponding device
CN105278980A (en) * 2014-07-25 2016-01-27 腾讯科技(深圳)有限公司 System updating method and apparatus, and server
CN104461787A (en) * 2014-12-22 2015-03-25 上海斐讯数据通信技术有限公司 Memory transfer system for mobile phone partition table content
CN104679554B (en) * 2014-12-26 2018-04-17 苏州佳世达电通有限公司 Operating system update method
CN104679554A (en) * 2014-12-26 2015-06-03 苏州佳世达电通有限公司 Operating system updating method
CN104506639A (en) * 2014-12-29 2015-04-08 北京奇虎科技有限公司 Root right acquiring method and device
US10223103B2 (en) 2015-04-09 2019-03-05 Huawei Technologies Co., Ltd. Rom flashing method and intelligent terminal
WO2016161792A1 (en) * 2015-04-09 2016-10-13 华为技术有限公司 Refurbishment method and intelligent terminal
WO2016183721A1 (en) * 2015-05-15 2016-11-24 华为技术有限公司 Upgrade method, apparatus and device for terminal device
WO2016187806A1 (en) * 2015-05-26 2016-12-01 华为技术有限公司 Method, device and terminal for preventing android device from being rooted
CN106708543B (en) * 2015-07-22 2019-12-13 Tcl集团股份有限公司 OTA (over the air) upgrading method and device of operating system
CN106708543A (en) * 2015-07-22 2017-05-24 Tcl集团股份有限公司 OTA upgrading method and apparatus for operation system
CN105868644A (en) * 2015-12-11 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and apparatus for controlling Root function of mobile terminal and mobile terminal
CN105528229B (en) * 2015-12-16 2018-09-07 广东欧珀移动通信有限公司 Improve the method and device that mobile terminal first powers on speed
CN105528229A (en) * 2015-12-16 2016-04-27 广东欧珀移动通信有限公司 Method and device for improving first starting speed of mobile terminal
CN105446835A (en) * 2015-12-24 2016-03-30 小米科技有限责任公司 Method and device for repairing system file
CN105631254B (en) * 2015-12-26 2018-12-25 小米科技有限责任公司 Unlocking method and tripper
CN105631254A (en) * 2015-12-26 2016-06-01 小米科技有限责任公司 Unlocking method and unlocking device
CN105740013A (en) * 2016-01-26 2016-07-06 广东欧珀移动通信有限公司 Flash operation control method and apparatus
CN105786486A (en) * 2016-02-05 2016-07-20 北京奇虎科技有限公司 Processing method and device of mobile terminal
CN105786486B (en) * 2016-02-05 2019-08-23 北京奇虎科技有限公司 The treating method and apparatus of mobile terminal
CN105550009A (en) * 2016-02-05 2016-05-04 北京奇虎科技有限公司 Mobile terminal processing method and device
CN106817623A (en) * 2016-12-14 2017-06-09 广州视源电子科技股份有限公司 Recovery method for computer system and device in intelligent interaction flat board
WO2018107855A1 (en) * 2016-12-14 2018-06-21 广州视源电子科技股份有限公司 Method and apparatus for recovering computer system of intelligent interaction panel
CN106911497A (en) * 2017-02-07 2017-06-30 腾讯科技(深圳)有限公司 Identification, the method and apparatus of adaption system more new equipment

Also Published As

Publication number Publication date
CN103019775B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
US7991988B2 (en) Communication device and firmware update method thereof
US9864600B2 (en) Method and system for virtualization of software applications
US8407662B2 (en) Apparatus and method for network driver injection into target image
US10235149B2 (en) Preinstalled application management method for mobile terminal and mobile terminal
US20100037206A1 (en) Method and system for configuration of virtualized software applications
US20120144391A1 (en) Provisioning a virtual machine
CN101329636B (en) Method and apparatus for virtualizing window information
JP5007046B2 (en) Maintaining component-based software products
US20050108433A1 (en) Resource manifest
JP2011529606A (en) Computer application package with customization
US7322029B2 (en) Method and system for recovering program code in a computer system
US8812451B2 (en) Programming model for synchronizing browser caches across devices and web services
US8370835B2 (en) Method for dynamically generating a configuration for a virtual machine with a virtual hard disk in an external storage device
US8074218B2 (en) Method and system for constructing virtual resources
US8869139B2 (en) System and method for converting a physical disk to a virtual disk
US20030070162A1 (en) Information processor having multi OS and its OS update method
US20070168956A1 (en) System and method for representing user processes as software packages in a software package management system
US8429639B2 (en) Image-based software update
EP2675110B1 (en) Method, system and terminal for system update between mobile communication terminals
US7703090B2 (en) Patch un-installation
CN101840346B (en) Method and system for deploying cloud host computer
KR20090017942A (en) System for creating virtual application, method for installing virtual application, method for calling native api and method for executing virtual application
US7047403B2 (en) Method and system for operating system recovery and method of using build-to-configuration mode to model computer system
US20100262638A1 (en) Computing Device Having a Merged Directory Hierarchy From Multiple Filesystems
JP2004530201A (en) Methods for loading and running applications in embedded environments

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant