Huawei honors 3C Thorough root method

Source: Internet
Author: User

First you have to use any one-click root software to remove the root of the phone, the root tool is now easy to do within a minute.

But this root is not complete, you can not modify many system files, such as/system/ Build.prop, if you want to modify the model information, you have to modify the file, but you will find that even if you root the phone, the file will change or automatically change back, this is because your root is not complete.

The following is a thorough root approach.

1, first with Baidu one-click root or other tools to get root permissions, such a root is not complete, but it is the basis for our next step

2. Install BusyBox and better Terminal Emulator (Chinese name: HyperTerminal), both of which have tutorials online.

3. Open better Terminal Emulator (Super terminal)
Enter SU carriage to get permission, you will find the command prompt changed from $ to #
Enter Mount-o Rw,remount/system and then enter
Enter CD system and return
Input Chattr-r-I * hit ENTER (this step is to remove the file's I attribute, this property will prevent the system files are modified, the one to remove this attribute)

5. Then use the RE manager to copy the System/set_immutable.list, back up (also useful), and then delete the Set_immutable.list

The reason to delete this file is because it restricts the modification of many files under the system. The I attribute is added. After we delete this file, we can modify the contents of the system files such as/system/build.prop.


After changing the required system files are not finished, to restore the file attributes and Set_immutable.list files back, re-prohibit the file system changes, prevent you later mistakenly change the system files.

How to do it, the above steps can be reversed.

Put your backed up set_immutable.list file back in the first place.

Open better Terminal Emulator (Super terminal)
Enter SU carriage to get permission, you will find the command prompt changed from $ to #
Enter Mount-o Rw,remount/system and then enter
Enter CD system and return
Enter Chattr-r +i * hit Enter (this step is to add the file's I attribute, this property will prevent the system files from being modified, so that the system files are safe, and the difference between the previous command-became +)

Now that you're safe, you'll find that you can change any system file without changing it, and then turn it off and then open the file and change it back.


As a result, we are done with the changes we need, and we guarantee the security of the system files.

Resources:

Http://tieba.baidu.com/p/2870227668?pn=1

Http://bbs.lewaos.com/thread-207422-1-1.html


This article is from the "Linux Kernel Developer" blog, so be sure to keep this source http://mirage1993.blog.51cto.com/2709744/1739305

Huawei honors 3C Thorough root method

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.