Go Some knowledge of Android Brush finishing

Source: Internet
Author: User
Tags root access

Overview of the brush machine
Brush reason
The brush can upgrade and hack firmware (on Android: You can upgrade the system, change the system, get root privileges),
crack the system Reason
① installation of third-party software does not require a signature, is not bound by the certificate,
② Modify the system's files to achieve the system's downsizing, so as to optimize the system;
③ the most privileged operations. such as changing the system font, changing the lock screen, and so on;
impact of the brush machine
① damage hardware, affect the mobile phone life;
② users will get the highest privileges to modify system files, May cause damage to the system or even crash;
Brush Machine to like
①android phone;
②iphone jailbreak;
③symbian of the brush;
Brush Pre-registration Prepare
① backup system and data;
② download ROM or img;
③ Install the Brush machine tool. (such as Brush Machine Wizard, mobile phone driver, recovery,fastboot driver, etc.);
④ The phone is full of power;
after the mobile phone set Place
① open USB debugging;
② turn on "agree to install non-Google Play apps";
③ Add Google services Framework, add Google Account, add Google services, install Google Apps;
④ Contacts, SMS, call logs, bookmarks, etc.
 

Android ROM
Rom
Definition: readonly memory, read-only storage;
Features: The Android system is installed in the flash memory, the flash memory, is a read-only memory, the content will not disappear in the case of power loss;
Note: Brush machine is the ROM "brush" into the phone's read-only memory, to update the purpose of replacing the mobile phone system;
Android ROM Team
Domestic: MIUI, Music frog, magic interest, Shanda, etc.
Foreign: CyanogenMod, abbreviated as CM (is the originator of the production of Android system ROM);
prepared Note:

① downloaded ROM is a non-zip format solution in tar format
Unzip into, the inside of the file into a zip format;

Mobile Phone Solution Lock
on the phone Lock (Lock Bootloader ) Reasons for
Lock the phone bootloader, protect the phone's bootloader
Note: The phone will be unlocked by default (such as HTC) when it is first produced;
Mobile Phone Solution Lock (Unlock ) Reasons for
Can change the bootloader, for root, brush the machine and other further operations
Mobile Phone Solution Lock the method
① use third-party software to unlock;
② uses the official unlocking method. (more troublesome);
Check whether the solution Lock
① manually into the phone's bootloader to see if it is "unlocked" or "S-off" status;
② Use the third party brush software, connect to the computer to view;
how to recover on Lock (Locked ) Shape State
Re-lock with fastboot tool;

Mobile PhoneRoot
Phone not open rootRightsreason for the limitation
Root permissions can change the system, do not open permissions to limit the user's operation, to protect the role of the mobile phone;
Phone rootprinciple
Use System vulnerability to copy Su and corresponding Android management app to/system partition for root access;
Root VS Administrator
Windows Administrator permissions are not really full super admins, which is related to Windows is a closed commercial software;
The Roott of the Linux kernel means that it has full access to machine control;
Rootafter the goodPlace
Can back up the system, use advanced programs, such as screen, root explorer, etc., modify the system's internal procedures and so on
Rootof theRisk
If you encounter problems during root, you may make your phone brick (unable to boot);
If malicious software is accidentally installed, the phone system may not function properly;
Handset manufacturers no longer provide warranty service;
Checkis root
① third-party software to view the status of the phone;
②adb Command View (adb shell, may also need SU instructions);
RootMethod
① use third-party software root;
How to restore root
Law ①: Enter the official ROM package, more trouble, and some phones do not have official ROM at all;
Law ②:;
① Backup Authorization Manager: With the RE manager to the System/app in the superuser.apk (may not call this, look at the icon is the Authorization Manager icon can be) copied to the memory card;
② Uninstall Authorization Manager: In the System/app best with the System program uninstall or LINK2SD to uninstall, do not use the RE manager to delete;
③ Reinstall Authorization Management: Install the superuser.apk that has just been copied to the memory card, the purpose of these steps is to remove the authorization management from the system directory, the root authority of the phone is still in the installation;
④ Delete su: delete su files in System/xbin directory with Re manager, some phones also have Su file in System/bin, and also delete. If you have installed BusyBox also deleted (Note to first delete busybox, su after deletion). After Su Delete, we have no root permission;
⑤ Uninstall Authorization Management again: Because not in the system directory, do not need root permissions, with application management can be uninstalled;
⑥ Uninstall Re: If you put the RE manager into the system directory, you need to move out of the system directory as described above, and then start the 4th step, other suspected programs are the same;
Note: After restarting, the root permission is lost;

HTC Phone's Bootloader Knot structure
Hboot->fastboot + Recovery + Reboot
Hboot (HTC's bootloader)
Hboot Overview
HTC bootloader, used to check the security lock status of the phone (s-on and S-off), to determine whether the system and the recovery partition are open after the boot is complete;
Features: The first program of the HTC Phone on power-up;
Attention:
Hboot is a very special part, brush broken here, the phone will become brick, similar to the upgrade of the computer BIOS, brush the wrong bios, you can only return to the factory with special erase tools to restore;
Therefore, the operation of the hboot to pay special attention, if not necessary, do not go to easily brush write this partition;

fastboot ( line brush)
FastBoot
principle
name: Quick start;
Android a special engineering mode, through the FastBoot interface, After connecting the computer, we can operate the mobile phone through special instructions on the computer side.
Features: Astboot level is also higher than recovery, you can do some of the bottom of the operation;
Note: Use a data cable for swiping and booting;
Note: The fastboot does not need to be brushed, the system is built-in;
fastboot
① brush into recovery;
② Brush Machine
③ New Radio (mobile phone communication driver);
how go in FastBoot mode
Similar to recovery startup mode
how to Connect connect FastBoot
① download fastboot tool box driver, placed in the C packing directory;
② the phone into fastboot mode;
③ Check if the FastBoot tool and phone are connected successfully. Input: FastBoot devices, you can see the words "fastboot" and devices number;
Remarks: Can be downloaded on the Www.fastboot website;
FastBoot Brush method ( line brush)
Remarks:

① if the card is in FastBoot mode, you can try to unplug the battery and restart the phone. Internal battery, you can try to press and hold the Power key 10s, forced restart;
If the removal of the battery is still stuck in fastboot mode, please re-brush the official bottom bag;
How to Exit FastBoot Mode
① Select Power Down (shutdown) in FastBoot mode to exit the mode;
② can not exit, please unplug the battery, forcibly quit;
③ built-in battery, you can try to press and hold the Power key to force exit;

Recovery(Card brush)
Recovery
the role
① Backup recovery data and system (similar to ghost,wince on PC);
② upgrading or changing the system (third-party ROM);
Note: Use SD card to upgrade, brush machine;
Note: Recovery general system built-in, can be brushed into the new version recovery;
Recoveryspeciesclass
① third-party CMW (CLOCKWORKMOD) Recovery;
② official recovery;
such as
Official Recovery VS Third Party recovery
The official recovery is not very useful and usually brushes into a third-party recovery in order to achieve more functions;
RecoveryBrush Machine Method ofExcellentinferior
Advantages: Simple steps;
Disadvantages: Bad after the wrong solution;
How tointointo RecoveryMode
Press and hold the volume key + power key to boot, enter the bootloader, and then enter the recovery mode (HTC phone) (Different mobile phone hand is not the same);
Recovery interface function
Reboot System Now
Backup/restore
Wipe data/factory Reset
Wipe Cache
Power of
AndroidHow to brush into recovery
① Manual Brush-in method.
download recovery image;
Rename the recovery image to recovery.img and place the memory in the Kagan directory;
Install the terminal software on the phone (e.g. terminalemulator);
Input command: su;flash_imagerecovery/sdcard/recovery.img; restart;
② mobile phone software online method. Download "Firmware steward" software, automatically brush into the recovery;
③ Third party PC software online method. Use the Brush Machine Wizard and other software to brush in one click;
④fastboot method. Download recovery image and FastBoot tool, open cmd, enter command;
Recovery restored to official solution after restart
Delete the recovery-from-boot.p file under/system/

FastBoot VS Recovery
FastBoot The lower level, can use the FastBoot brush machine when can not use recovery brush;
FastBoot can only be returned to the factory when it is not started;
Note: Many of the official upgrade and recovery methods for mobile phones are in a lower-level mode than recovery (fastboot/bootloader/update ... ) operation is completed,
Even if the phone is unable to boot, unable to enter the recovery, can be official upgrade or recovery
Brush Machine

Android Brush Machine Method
Third party Soft pieces in Line Brush Machine method.

Using USB data cable, using software such as Brush Wizard online Brush Machine (need network) (third party ROM) (can back up data and system, and restore data and system);
Note: This method is similar to the set of brush and line brush, which essentially belongs to the recovery of the card brush method;
Card Brush (handMovingBrush method) (third-party ROM, ZipCompressionpackage).
A. Download the appropriate version of the ROM. Placed in the phone's SD card root directory;
B. Phone off.
C. Press and hold down the phone down arrow and power key to enter the bootloader "Hboot" mode.
D. Back up data and systems. Use the volume key and the Power key to click "Recovery", click "Backup and Restore" to start backing up data (backup file directory:/clockmod/);
E. Clear the data.
Wipe data/factory Reset,-yes--delete all user data;
Wipe cache partition,-yes-wipe cache;
F. Start the brush machine. Install Zip from SDcard, choose Zip from SDcard; Select the rom,yes-install you put in the memory card;
G. Complete the brush and restart the phone. After the completion of the brush machine will return to the recovery interface, select "Reboot system Now";
Note: This method needs to be brushed into recovery beforehand;
③fastbootLaw (official ROMor basewithKernel, imgMirrorimage).
A. Download fastboot tools and drivers, and properly installed, can operate correctly;
B. Mobile phone into fastboot mode;
C. mobile phone and computer connection;
D. Open the FastBoot folder, and in the blank "shift+ right click", select "Open command Line Window" in the pop-up option;
E. Check that the FastBoot tool and phone are connected successfully. Input: FastBoot devices, you can see the words "fastboot" and the devices number (if not, check the data cable and driver);
F. Enter the FastBoot command for IMG installation;
NOTE: official img In the official download, such as HTC official website, Google developes official website;
Note: Take care to back up your data and system when brushing
 

Android Data and System Preparation Share and Recovery
① Online Backup method. Connect the phone to the computer, use software such as Brush Wizard to backup or restore the data and system;
②recovery backup method. Enter the phone's recovery mode and select "Back Up or restore data";
Android no boot or it or stay on the start-up interface to resolve Office Method
re-brush the machine.

The ROM can only be re-brushed using the recovery mode of the mobile phone;
Restorer Line Integration .

Restore the backed-up system with the recovery restore function;
in the Line resolved.

Enter the FastBoot mode, connect to the computer, wait for the computer to respond to the software, so that it enters the FastBoot USB mode, using FastBoot to brush the machine;
Unplug Electric pool, restart, wait (high success rate);
When do I need to wipe data and cache when the machine is flashing?
ROM upgrade not required;
Note: The replacement ROM must be double wipe;

Go Some knowledge of Android Brush finishing

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.