Hi all,
I'm the lucky owner of a ZTE Open and i'd like to share with you the process i used to root and install recovery.
Disclaimer: This process is very risky, you may brick your phone permanently, so neither xda nor me could be responsible of the resulting consequences.
Note: I did not dev or contribute to any program/process listed there, all credits are going to the listed sources.
I followed successfuly this processus with Debian 7 (32b) and a UK version of the ZTE Open.
1 - Get Root Access
Pre-requisite:
1/Install adb
2/Update your udev rules for adb to recogize your phone:
Copy the following in your newly created file:
On this step my advice is to restart your computer to restart properly adb and to remap udev.
Root exploit:
1/Enable "Remote debugging" on your phone
On your device, in Settings -> Device information -> More Information -> Developer.
Disable
2/Check that your devuce is recognised
Roamer2 is the name of the ZTE Open
3/Root
Download file root-zte-open.zip (see download section below)
uzip its content and put it in your working folder (~/fos/root/ in this example)
The output should be the following:
You are now rooted.
Note: my few first attempts failed, i tried few time (restarting all the process) to achieve it successfully.
2 - Install Recovery
1 - Download recovery
In the download section you will find the download link to clockwork recovery 6.0.3.3.
Put the recovery .zip in your working folder.
Navigate into the working foder.
2 - Backup your current stock recovery
If not already done turn on debugging on phone and turn off USB mass storage on phone.
Plug phone in to computer.
2 - Backup your current stock recovery
In my case the output of the las command was:
Power off your phone.
Hold both volume down up and the power button.
What now?
Now in the recovery you can install custom roms.
For example, you can flash the movistar rom (see dowload section).
Flash zip in recovery as you would do for any android rom.
Troubleshooting
"status 7" error installing or updating
This happend to me after installing the spanish rom on my Ebay ZTE (UK). it seems to me that it changed the name of the device from roamer2 to full_inari and cause the updater-script to crash.
Solution found in this topic: http://forum.xda-developers.com/showthread.php?t=2302599
Opened the update.zip file, in the folder META_INF > COM > GOOGLE > ANDROID, edit updater-script and remove the following lines :
Save modified zip and try to install again whith CWM.
Dowloads:
root-zte-open.zip
recovery-clockwork-6.0.3.3-roamer2.img
Movistar - OPEN_FFOS_V1.0.0B04_TME
EU_DEV_FFOS_V1.0.0B02_USER_SD2.zip (official rom from ZTE for the UK version)
Many many thanks to my sources:
I'm the lucky owner of a ZTE Open and i'd like to share with you the process i used to root and install recovery.
Disclaimer: This process is very risky, you may brick your phone permanently, so neither xda nor me could be responsible of the resulting consequences.
Note: I did not dev or contribute to any program/process listed there, all credits are going to the listed sources.
I followed successfuly this processus with Debian 7 (32b) and a UK version of the ZTE Open.
1 - Get Root Access
Pre-requisite:
1/Install adb
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Code:
#create a file with your udev rules
nano /etc/udev/rules.d/60-fxos
Then:SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1350", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", MODE="0666", GROUP="plugdev"
Code:
#update permissions of the 60-fxos file
chmod 644 /etc/udev/rules.d/60-fxos
#Restart udev
sudo service udev restart
Root exploit:
1/Enable "Remote debugging" on your phone
On your device, in Settings -> Device information -> More Information -> Developer.
Disable
2/Check that your devuce is recognised
Code:
# adb devices
List of devices attached
roamer2 device
3/Root
Download file root-zte-open.zip (see download section below)
uzip its content and put it in your working folder (~/fos/root/ in this example)
Code:
#go to your working folder
cd ~/fos/root/
#update permissions of the root-zte-open file (you probably need admin right to do this)
chmod 755 root-zte-open
#launch exploit AS ROOT USER
./run.sh
Code:
# ./run.sh
Connect your phone to USB, then:
Settings -> Device information -> More Information -> Developer
and enable 'Remote debugging'
1142 KB/s (19208 bytes in 0.016s)
== root for Movistar zte open (roamer2) by [user=240671]@pof[/user]
== CVE-2012-4220 - discovered by giantpune
== original exploit by Hiroyuki Ikezoe
== if the phone hangs, remove the battery and try again!
roamer2 (OPEN_EU_DEV_FFOS_V1.0.0B01) is not supported.
Attempting to detect from /proc/kallsyms...
roamer2 (OPEN_EU_DEV_FFOS_V1.0.0B01) is not supported.[diag]
Attempting to inject code...
This works only once a boot.
roamer2 (OPEN_EU_DEV_FFOS_V1.0.0B01) is not supported.[diag]
Attempting to inject code...
This works only once a boot.
failed to get root access
Exploit failed, rebooting and trying again!
[...few more fail attempts, 3 in my case]
== root for Movistar zte open (roamer2) by [user=240671]@pof[/user]
== CVE-2012-4220 - discovered by giantpune
== original exploit by Hiroyuki Ikezoe
== if the phone hangs, remove the battery and try again!
roamer2 (OPEN_EU_DEV_FFOS_V1.0.0B01) is not supported.
Attempting to detect from /proc/kallsyms...
roamer2 (OPEN_EU_DEV_FFOS_V1.0.0B01) is not supported.[diag]
Attempting to inject code...
This works only once a boot.
roamer2 (OPEN_EU_DEV_FFOS_V1.0.0B01) is not supported.[diag]
Attempting to inject code...
This works only once a boot.
Got root! - copying su binary!
Enjoy!
Note: my few first attempts failed, i tried few time (restarting all the process) to achieve it successfully.
2 - Install Recovery
1 - Download recovery
In the download section you will find the download link to clockwork recovery 6.0.3.3.
Put the recovery .zip in your working folder.
Navigate into the working foder.
2 - Backup your current stock recovery
If not already done turn on debugging on phone and turn off USB mass storage on phone.
Plug phone in to computer.
Code:
#Launch adb shell
adb shell
#get root access
su
#Backup the stock recovery
busybox dd if=/dev/mtd/mtd0 of=/mnt/sdcard/stock-recovery.img bs=4k
exit
Code:
#Push the CW Recovery to your phone
adb push recovery-clockwork-6.0.3.3-roamer2.img /mnt/sdcard/cwm.img
adb shell
[email protected]:/ $ su
[email protected]:/ # flash_image recovery /mnt/sdcard/cwm.img
3 - Restart your phone in recovery mode[email protected]:/ # flash_image recovery /mnt/sdcard/cwm.img
mtd: successfully wrote block at 0
mtd: successfully wrote block at 20000
mtd: successfully wrote block at 40000
mtd: successfully wrote block at 60000
mtd: successfully wrote block at 80000
mtd: successfully wrote block at a0000
mtd: successfully wrote block at c0000
mtd: successfully wrote block at e0000
mtd: successfully wrote block at 100000
mtd: successfully wrote block at 120000
mtd: successfully wrote block at 140000
mtd: successfully wrote block at 160000
mtd: successfully wrote block at 180000
mtd: successfully wrote block at 1a0000
mtd: successfully wrote block at 1c0000
mtd: successfully wrote block at 1e0000
mtd: successfully wrote block at 200000
mtd: successfully wrote block at 220000
mtd: successfully wrote block at 240000
mtd: successfully wrote block at 260000
mtd: successfully wrote block at 280000
mtd: successfully wrote block at 2a0000
mtd: successfully wrote block at 2c0000
mtd: successfully wrote block at 2e0000
mtd: successfully wrote block at 300000
mtd: successfully wrote block at 320000
mtd: successfully wrote block at 340000
mtd: successfully wrote block at 360000
mtd: successfully wrote block at 380000
mtd: successfully wrote block at 3a0000
mtd: successfully wrote block at 3c0000
mtd: successfully wrote block at 3e0000
mtd: successfully wrote block at 400000
mtd: successfully wrote block at 420000
mtd: successfully wrote block at 440000
mtd: successfully wrote block at 460000
mtd: successfully wrote block at 480000
mtd: successfully wrote block at 4a0000
mtd: successfully wrote block at 4c0000
mtd: successfully wrote block at 4e0000
mtd: successfully wrote block at 500000
mtd: successfully wrote block at 520000
mtd: successfully wrote block at 540000
mtd: successfully wrote block at 560000
mtd: successfully wrote block at 580000
mtd: successfully wrote block at 0
Power off your phone.
Hold both volume down up and the power button.
What now?
Now in the recovery you can install custom roms.
For example, you can flash the movistar rom (see dowload section).
Flash zip in recovery as you would do for any android rom.
Troubleshooting
"status 7" error installing or updating
This happend to me after installing the spanish rom on my Ebay ZTE (UK). it seems to me that it changed the name of the device from roamer2 to full_inari and cause the updater-script to crash.
Solution found in this topic: http://forum.xda-developers.com/showthread.php?t=2302599
Opened the update.zip file, in the folder META_INF > COM > GOOGLE > ANDROID, edit updater-script and remove the following lines :
Code:
assert(getprop("ro.product.device") == "roamer2" ||
getprop("ro.build.product") == "roamer2");
assert(getprop_new("ro.build.display.id") == "OPEN_EU_DEV_FFOS");
Dowloads:
root-zte-open.zip
recovery-clockwork-6.0.3.3-roamer2.img
Movistar - OPEN_FFOS_V1.0.0B04_TME
EU_DEV_FFOS_V1.0.0B02_USER_SD2.zip (official rom from ZTE for the UK version)
Many many thanks to my sources:
Attachments
-
8.9 KB Views: 3,670
-
5.6 MB Views: 3,661
Last edited: