forked from NapoleonWils0n/cerberus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnexus 4 unlock and root.txt
66 lines (34 loc) · 1.36 KB
/
nexus 4 unlock and root.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
nexus 4 unlock and root
open eclipse on ubuntu
/home/djwilcox/Development/adt-bundle-linux-x86/eclipse/eclipse
from the window menu select adk device manager
install the intel driver and download
#|------------------------------------------------------------------------------
#| unlocking
#|------------------------------------------------------------------------------
adb reboot bootloader
sudo su
fastboot devices
fastboot oem unlock
# turn usb debugging back on, by click the build number 7 times in settings
# then turning on developer options and usb debugging
# download twrp
wget http://techerrata.com/file/twrp2/grouper/recovery-clockwork-touch-6.0.2.3-tilapia.img
# download CWM-SuperSU-v0.99.zip
download CWM-SuperSU-v0.97.zip to the downloads folder on the nexus
#-----------------------------------------------#
adb reboot bootloader
fastboot flash recovery recovery-clockwork-touch-6.0.2.3-tilapia.img
# select recovery mode on the andriod boot screeen with the volume buttons and select with the power button
# select install zip from sdcard
CWM-SuperSU-v0.97.zip
#-----------------------------------------------#
# rename file
# select mounts and storage, then mount system
adb shell
cd /system
ls
mv recovery-from-boot.p recovery-from-boot.p.bak
exit
#-----------------------------------------------#
# select option to keep flash rom as well