- 11-18-2012, 02:54 PM #26
- 11-18-2012, 03:00 PM
Thread Author #27
Re: [GUIDE] Nexus 4 - Unlock & Root
Ahh, I should have linked you to this awesome tool before:
This script will install the sdk and everything you absolutely need for you, setup adb and fastboot in your PATH properly, and even installs scripts so you can right-click files to push them to your sdcard, among other awesome things. Check it out!
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCIThanked by: - 11-18-2012, 03:03 PM #28
[GUIDE] Nexus 4 - Unlock & Root
Awesome, thanks!
- 11-18-2012, 03:05 PM #29
Re: [GUIDE] Nexus 4 - Unlock & Root
Hey 2defmouze, you've helped me a lot, I really appreciate it. Got another newbie question for you though.
I am rooted, I have the Super SU icon and all of my root only apps are working great, so is there a reason for me to use the 6.0.1.9.img that you just linked to? If so, do I just follow your guide and push it like I did the first .img? Also, if I push this new recovery, do I need to re-install super su?
Thanks for all the help man! - 11-18-2012, 03:12 PM
Thread Author #30
Re: [GUIDE] Nexus 4 - Unlock & Root
You will definitely want to grab the updated recovery image and flash it / use it going forward. Koush noted that it fixes errors that happened when restoring backups and when trying to permanently flash the recovery, so you will want to have the latest, bug free version. You won't need to re-root or do anything else though, this is just for your recovery, won't affect your current system at all
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-18-2012, 03:46 PM #31
Re: [GUIDE] Nexus 4 - Unlock & Root
Awesome, sounds good! I went ahead and put the new stuff on my phone, the grey screen with a top hat said 6.0.1.9 at the bottom, so I assume I did that part of it right. But I am now wondering how we return to that screen in the future.
Also, While I was on that screen, I went ahead and did a backup, but I have no idea where those back ups go afterwards. Are they stored on the device itself?
Thanks again - 11-18-2012, 04:19 PM
Thread Author #32
Re: [GUIDE] Nexus 4 - Unlock & Root
I don't know if you permanently flashed it (few things I'm not quite clear on and won't be til I get my hands on one of these things, lol)... but to get back to recovery you can:
A. Power down and reboot to the bootloader (volume down and power), use volume to scroll to recovery, and select it. If that gets you there, great, if it gives you the infamous Android with the red triangle then you're looking at stock recovery, and just need to
B. Fastboot boot yourself into CWM just like you did earlier. ROM Manager is another option (though I HATE it and advise against it) that will save you time or if you don't have access to a computer with fastboot. Inside ROM Manager tap Flash recovery, then boot to recovery. Note than unless you buy RM premium I believe it will only flash the non-touch version, which just means you'll need to use the volume keys to scroll around it and power to select things.
Also if (A) is the case and recovery is permanent, you can save steps by downloading an app like that will give you options to boot straight to recovery or the bootloader if you need.
As for the backups themselves, they are stored in your internal sdcard, under /sdcard/0/clockworkmod I think. Try not to screw around in that folder, lol. I think you will see a "blobs" directory in there that you shouldn't touch at all, while the individual backups are sorted by date and you could delete them if you are in need of space or something, although the blobs feature means that the backups don't take up that much space anymore. Sorry if that doesn't make much sense, I'm going from memory here haha.
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-18-2012, 05:29 PM #33
Re: [GUIDE] Nexus 4 - Unlock & Root
I did what you said, and recovery mode does bring me to the red triangle screen with "no command" in under it. IS that bad?
Also, I'm not finding a clockworkmod folder anywhere on my Nexus 4. I even searched in windows explore and nothing turned up. - 11-18-2012, 05:43 PM
Thread Author #34
Re: [GUIDE] Nexus 4 - Unlock & Root
No its not bad at all, the command in the guide isn't supposed to flash it so that's normal, you'll just have to boot into recovery the same way as is in the guide for now. Although while you are in recovery I thought CWM had an option to stick itself and keep you from reverting to stock recovery, you can look around it and see if you cant find it. That and the backup directory I won't know for sure until I get my device and play around with it a bit
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-19-2012, 09:10 AM #35
Re: [GUIDE] Nexus 4 - Unlock & Root
Sticky needed. Dylan, take a break from swimming in all that money and moderate!

*INCREDIBLE*MECHA*TORO*GROUPER* GALAXY S3 *
* [TORO RADIOS] * [NEXUS WALLS] * [GROUPER GUIDE] * [CHATTER] * - 11-19-2012, 11:15 AM #36
Re: [GUIDE] Nexus 4 - Unlock & Root
So.. I don't have my Nexus4 ... yet - supposedly got it ordered but haven't heard anything about shipping yet...
But, my question is... normally if when flashing something and you get a hang on boot - or your phone just won't respond - you 'pull the battery' to get everything back to the start.
So... what/how do we do that on the N4 if we can't remove the battery? - 11-19-2012, 11:28 AM
Thread Author #37
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCIThanked by: - 11-19-2012, 12:06 PM #38
- 11-19-2012, 04:38 PM
Thread Author #39
Re: [GUIDE] Nexus 4 - Unlock & Root
Alright the official TWRP Recovery is out and I've linked it in the OP. I decided to leave the CWM option in there as well, because options and choices are fine, that's why we love Android, right?

Going forward expect me to be using TWRP only though, so if you have recovery issues and you are using CWM, I suggest switching. You will boot to TWRP the same way as we did CWM (rename the .img file to recovery.img, fastboot boot recovery.img, etc..), but if you are comfortable with CWM you don't need to feel pressured to switch it. S'aight??
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-20-2012, 08:34 AM #40
Re: [GUIDE] Nexus 4 - Unlock & Root
Thanks for this guide again. Given the delay in receiving my phone I'm more prepared to unlock and root this device then ever before. All the setup files are ready and waiting to go on my desktop. I've read through the instructions, all I need is the phone....the phone....
A proud former Nexus 4 Limbo level-2 member - 11-20-2012, 08:46 AM
Thread Author #41
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-20-2012, 10:56 AM #42
- 11-20-2012, 02:14 PM #43
I booted to TWRP and I really like it. I especially like the talk about added support for USB host mode. Well I was impressed with it. So I went a head and flashed it. " fastboot flash recovery.img" and I had to rename a couple of files to make it stick. But now when I boot into recovery I go to twrp and not the red triangle.
Only concern I have is while I was doing it. I just thought about if I could do it. Never really stopped to think if I should Lol. So I was wondering if flashing it is a good idea or not.
Thanks again for all your help. I really like messing with this stuff. My wife is getting annoyed and told me to stop tinkering so much Lol. - 11-20-2012, 02:30 PM
Thread Author #44
Re: [GUIDE] Nexus 4 - Unlock & Root
Its fine.. Which files did you rename in your system exactly?
If everything works alright, then the only thing flashing it does will be to prevent you from being able to install an OTA. This can be undone by just reversing the renaming of the files, and flashing the stock recovery back, which I mention in the Q&A.
And don't worry about the wife.. There's worse things you could be doing with your downtime
Sent from my Galaxy Nexus using Tapatalk 2
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-20-2012, 02:41 PM #45
Everything is behaving completely normal.

I wasn't aware that it would prevent me from using OTAs. Lol oops. Flashing the stock recovery won't erase anything will it?
To be honest, I'm not sure which files were renamed. I downloaded the nexus 4 tool to use for back ups. When I did I seen an option that renames two files to prevent the custom recovery from reverting to stock once the device is rebooted. So I did that option and flashed the recovery with cmd prompt and adb/fastboot. It does work, because the other times I tried to flash it didn't work and always brought up red triangle.
Do you flash the custom recovery to your devices? If I can go back to stock at anytime the same way I went to custom without losing data then I will probably just keep twrp on it and change recoveries as needed when a new OTA comes out. - 11-20-2012, 02:53 PM
Thread Author #46
Re: [GUIDE] Nexus 4 - Unlock & Root
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-20-2012, 03:06 PM #47
Re: [GUIDE] Nexus 4 - Unlock & Root
Oh you wanted to know so you can flash it also. Ok I see. I looked on xda and the file names are:
/system/recovery-from-boot.p
/system/etc/install-recovery.sh
Again, I used Nexus Toolkit for that. So I guess those two files were renamed, but since I didn't do it personally myself, there is no way for me to know for sure. - 11-20-2012, 03:20 PM
Thread Author #48
[GUIDE] Nexus 4 - Unlock & Root | [GUIDE] Nexus 4 - Factory Image Restore | [GUIDE] Nexus 7 - Factory Image RestoreNeed a Dropbox? Use this link to sign up and both of us get free bonus space http://db.tt/YOHANuCI - 11-20-2012, 03:22 PM #49
- 11-21-2012, 06:03 PM #50
Re: [GUIDE] Nexus 4 - Unlock & Root
Thanks for your instructions, N4 bootloader unlocked & flashed............
Similar Threads
-
[GUIDE][MAC/PC/LINUX][4.2] Unlock, Root and Flash Recovery
By zero neck in forum Nexus 7 Rooting, ROMs, & HacksReplies: 297Last Post: 03-28-2013, 12:43 PM -
[GUIDE] How To Unlock Bootloader and Root Verizon Galaxy Nexus
By dmmarck in forum Verizon Galaxy Nexus Rooting, ROMs, and HacksReplies: 394Last Post: 12-15-2012, 12:27 AM



Reply



































