Address: http://blog.sina.com.cn/s/blog_722b43a60100q5kb.html
This tutorial is composed
Original, reprinted please indicate the source.
In the previous chapter we talked about how to downgrade the system, usually only when the system is a ship S-ON
Or Eng
S-OFF
In this case, we need to downgrade the official upgrade package accidentally. The reason has been mentioned many times.
So if you're in ship S-OFF
In the case
What about the official upgrade packages of the above versions?
This time your S-OFF
It will not be lost, but it cannot be reused.
Visionary +
Get Root
Permission.
Is there a way to get the root user without downgrading?
What about permissions?
The answer is OK. We only need to find a way to put Su
And superuser
Copy the two files to the relevant directory on the mobile phone.
The following describes the specific methods.
Preparations:
1,
Install HTC Sync on your computer
Synchronization tool;
2,
Prepare the ADB introduced in chapter 6
Tool;
3,
Download the toolkit from the author's online storage. Link:
Http://u.115.com/file/f51cd234bf #
Downgrade.zip
Http://u.115.com/file/f590ac745b #
Su.rar
4,
In chapter 9, you should download dhd.rar
The compressed package contains recovery. img
, Extracted, Which is used below.
Start Operation:
1,
Download downloaded downgrade.zip
、Su.rar
Decompress the files in the two packages to C
ADB of the root directory
Tool folder,
Recovery. img
The file is also copied;
2,
Go to the phone settings --
Application --
Development-USB
Debug and check.
3,
Connect your mobile phone to your computer using a data cable and select "charge only.
4,
Open the command prompt on the computer and go to C
Disk
Android-SDK-Windows
Directory, run the following command (note the space ):
"ADB push recovery. img
/Sdcard/recovery. IMG ",
Press ENTER;
"ADB push SU/sdcard/su ",
Press ENTER;
"ADB push superuser.apk/sdcard/superuser.apk"
,
Press ENTER;
"ADB push psneuter/data/local/tmp"
,
Press ENTER;
"ADB shell chmod 777/data/local/tmp/psneuter"
,
Press ENTER;
"ADB shell/data/local/tmp/psneuter"
,
Press ENTER;
"ADB Shell
", Press ENTER;
At this time, you should see in the Command Prompt window #
No. If not, check whether the preceding steps are correct.
5,
If #
And then enter the following command to back up the recovery
:
"Dd If =/dev/block/mmcblk0p21.
Of =/sdcard/recovery_orig.bin
", Press ENTER;
6,
Then click the third-party recovery.
:
"Dd If =/sdcard/recovery. img
Of =/dev/block/mmcblk0p 21"
, Press ENTER;
7,
Restart your phone to recovery.
Below:
"Reboot recovery
", Press ENTER;
8,
This step is performed on the mobile phone and enters the recovery
Then, move the volume key to mounts and
Storage
, Select the following two items, mount the system partition and TF
Card:
Mount/Sytem
Mount/sdcard
9,
Return to the Command Prompt window on the computer and enter:
"ADB Shell
", Press ENTER;
10
,#
And enter:
"CP/sdcard/SU/system/bin/
"
, Press ENTER;
"CP/sdcard/superuser.apk
/System/APP/
", Press ENTER;
"Ln-S/system/bin/su
/System/xbin/su
", Press ENTER;
"Chmod 06555/system/bin/su
"
, Press ENTER;
11
, Back to the phone recovery
In the left-side navigation pane.
Card:
Umount/Sytem
Umount/sdcard
12
Restart the mobile phone and you will find that you have obtained the root
Permission.
Note:
According to feedback from netizens, many people fail to restart after recovery. What is the problem ??? This chapter requires you
S-off.
That is to say, you should first consider ship
S-off, then mistakenly click the official ruu, and then lose the root, then you can get the root permission through this chapter.
If you use S-on, or click the official pack under Eng, and then change to s-on, you will not succeed, you must use the downgrade method in the previous chapter.
The principle is introduced in chapter 7. The original Article is as follows:
Ship
S-ON
------
This is the most primitive status. When the mobile phone leaves the factory, it is a retail version of hboot, so it is displayed as ship, and the security lock is also opened, so it is displayed as S-on.
In this case, the system and recovery partitions of the mobile phone are read-only. A typical example is that, even if we have obtained the root permission according to the tutorial in chapter 6, you can install the re manager to delete the program that comes with the system.
However, as long as the machine is restarted, everything will be restored to its original state.
Therefore, recovery cannot be used !!