Detailed Process
1. Enter the powder Screen
When the system is completely shut down, press volume + and-at the same time, and press the power key to automatically enter.
A pink screen is a pink screen. No other images or menus are displayed, and the buttons do not respond.
Note:
Is completely shut down. If it is a phone such as honor, the Quick Start function is enabled. It is recommended that the battery be switched off for more than 10 seconds, then the battery be mounted, and then enter the powder screen.
Before entering the powder screen, check whether the SD card is inserted. If the card is inserted, ensure that the/dload directory is not on the SD card. Otherwise, you may directly enter the upgrade mode.
2. Connect the pink screen mobile phone to the USB cable and connect it to the computer.
Here the computer will prompt a new USB device access, will automatically become a U disk, may be your computer's e disk, or other disks, I here is an I disk.
Double-click to view an image folder. If this folder is not available, it may be another disk. Continue to find another disk.
3. In this image folder, there will be several files with the suffix "IMG", such as boot. IMG, Cust. IMG.
We want to operate on this boot. imgfile. As the name suggests, it must be a file related to the boot.
4. Copy the boot. imgfile and back it up to your D disk.
When something goes wrong, remember to restore the boot. imgfile in the above method.
5. Create a "Temp" folder on drive D of your computer and copy the boot. imgfile under the image folder to the temp folder.
6. Download a bootimg.exe file from the Internet and put it in the temp directory of the D Drive.
7. Enter the doscommand window, and enter the D Drive temp folder.
Method: Click the Windows Start Menu and click Run. In the displayed dialog box, enter "cmd" and press Enter. A black window is displayed. Press to enter the temp folder.
8. Unlock the boot. imgfile, bootimg -- Unpack-bootimg, as shown in the figure below.
9. Several more files will be added to the temp folder. Continue!
Bootimg -- Unpack-ramdisk, as shown in the figure!
10 after a few steps, an initrdfile folder and a cpiolist.txt file are generated. This is what we want to do.
11 download the rootfile superboot.zip and decompress it into the D: empinitrd folder.
The files required by root include a superboot folder, which contains four files
The directory after this step is executed is as follows:
12 use WordPad to open D: empinitrdinit. RC
Add the following content at the end of the file:
Chown root Root/superboot. Sh
Chmod 0777/superboot. Sh
Service superboot/system/bin/sh/superboot
User Root
Group Root
Oneshot
13 use WordPad to open D: empcpiolist.txt
Add the following content at the end of the file:
DIR/superboot 0755
File/superboot initrdsuperbootsuperboot 0644
File/superboot/superuser initrdsuperbootsuperuser 0644
File/superboot/Re initrdsuperboote 0644
File/superboot/su initrdsuperbootsu 04555
14. Now the success is coming. Start package recovery.
Then, run the packaging command in the doscommand window in step 1.
Bootimg -- repack-ramdisk
Bootimg -- repack-bootimg
Image operations!
15. After modifying the file, copy the boot. IMG file under the temp directory of drive D to the pop-up image folder on the pink screen mobile phone.
The "Overwrite" dialog box is displayed. Because we have performed backup at the beginning, we can zoom in to overwrite the boot. imgfile by clicking "yes.
16. Restart the phone. The root operation is complete!
Check mobile appsProgramWhether the superuser program exists in the column, which indicates that the root program is successful!
If the root machine succeeds, the original program will not be destroyed, and no backdoor program is added. The risk of Flash is basically zero.
If you find that you do not have the root permission after you refresh the machine, you can perform the root operation again.
If the root permission is not required, you can restore the boot. imgfile of the original backup.