Ubuntu Down-Brush tutorial (unlock +root+ brush into recovery+ ROM)

Source: Internet
Author: User


Preliminary operations

This tutorial is a card brush method.

< Span style= "font-size:medium;" > Prepare the brush machine tool adb 。

sudoapt-get install adb fastboot// installation adb and the FastBoot Tool Pack


Unlock

Description

Huawei and Samsung phones require unlocking operations.

A phone that does not need to be unlocked can skip this step.


First get the mobile phone unlock code from the official website.

Use the phone USB the computer is connected and is turned on.

sudoadb reboot-bootloader// Restart your phone to enter FastBoot Mode

sudofastboot OEM Unlock 1234567812345678// Unlock

sudofastboot OEM get-bootinfo// determine if the unlock was successful, and the success shows Unlocked

sudofastboot reboot// Restart your phone


If this is the first time you have executed this command, you may encounter <waiting for device > prompt to stop moving state

The reason is the phone driver problem.

The solution is organized as follows:

1. Check the phone driver specific usbid.

can be entered in the terminal Lsusb command to see. Compare two command differences to get results by unplugging and plugging in the data cable.

< Span style= "font-size:medium;" > my Huawei phone usbid , and then step 2 usbid #.

2. go to the /etc/udev/rules.d/ directory, create a new file, my file name is:53-android.rules. Enter the following in the file:

subsystem== "USB", attr{idvendor}== "18d1", attr{idproduct}== "0fff", mdoe= "0666 "

3. Give the file permission to execute.

sudo chmod a+r/etc/udev/rules.d/53-android.rules

sudo service udev restart

Root

Different phone root methods are different.

You can use a third-party root toolkit created under Windows, and then modify its commands to run under Ubuntu.

Swipe in Recovery

Use the phone USB the phone is connected and turned on.

sudoadb reboot-bootloader// Restart your phone to enter FastBoot Mode

access to the downloaded recovery.img the folder where you are located.

sudofastboot Flash Recovery recovery.img// Write recovery.img (Will erase the official Recovery )

sudofastboot reboot// Restart your phone

SUDOADB reboot recovery// mobile phone enters recovery mode

(note: some recovery.img will not erase the official recovery description use judgment.

Replace the blue part with the following command 。

sudofastboot boot recovery.img// < Span lang= "ZH-CN" > write recovery automatically enter recovery mode


Swipe in Rom

Swipe in Recovery after that, it's easy.


< Span style= "font-size:medium;" > rom file Copy To sd card.

Mobile Access Recovery mode.

Select SD in the card ROM files to be updated.

Ubuntu Down-Brush tutorial (unlock +root+ brush into recovery+ ROM)

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.