yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] notraytang:
kinda stuck on some of the steps

when entering

"fastboot flash recovery IMAGENAME.img"

what is the file name I'm supposed to be replacing IMAGENAME with?

Also, after unlocking the bootloader, I was never prompted to perform a factory reset, yet one was done anyways. Is there any need for concern?

Using 5.0, if that makes a difference
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
The imagename.img is the name of the recovery image you downloaded. I'm assuming you downloaded a twrp image file. Also, unlocking your device automatically wipes it too. No need to worry about doing a factor reset.
[Nexus 4 Q&A, Help & Troubleshooting] notraytang:
The file I downloaded from CWM was "recovery-clockwork-touch-6.0.4.7-mako" I'm assuming that's the twrp image file.

So should the command prompt I enter be: "fastboot flash recovery recovery-clockwork-touch-6.0.4.7-mako.img" ?
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
Correct. Although I would recommend you use twrp and not cwm. Cwm is poorly supported.
[Nexus 4 Q&A, Help & Troubleshooting] notraytang:
Alright I've done all that, thanks for your help!

Last few things, since I didn't use CWM, I can disregard the last part of the first post?

"However, ClockworkMod Recovery won't continue to load after this.

To fix this, find "Rom Manager" from the market. (The free version is fine.) Use the "Flash ClockworkMod Recovery" option. [...]"

How exactly do I know that my phones been rooted? Is the fact that I can see SuperSU proof?
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
You can get root checker from the play store
[Nexus 4 Q&A, Help & Troubleshooting] Demonhotrod:
Hey guys, so I'm new around here and am interested in rooting my N4 but I have a couple of questions first, because I don't really know where to start...

So my N4 is running Lollipop, which if I understand it right, means that I can't use Towelroot to root my phone. Ideally I want to root my phone without wiping any data because I've had it for years already and I'm sure i'd forget something (plus don't all the *good* backup apps require root?) but I can't seem to find a way of being able to root without losing data... so first question, on Lollipop is it possible to root without losing all my data? And if it is possible, how?

I think I can figure out getting a custom recovery, so that's all good (i'll use TWRP)

Thanks for any help guys :)
[Nexus 4 Q&A, Help & Troubleshooting] kittuboy:
You can use Chainfire's AutoRoot. IIRC that's the only reliable way to root lollipop for now.
[Nexus 4 Q&A, Help & Troubleshooting] MGREX:
I only see one for ver5.0.0, sure it will work with 5.0.1? don't wanna brick my phone
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
Just flash twrp in fastboot then flash supersu 2.4 in twrp
[Nexus 4 Q&A, Help & Troubleshooting] memphian:
I'm having some sort of issue, i can't seem to flash chainfire's autoroot for my nexus 4 on 5.0.1. When i try to flash using twrp 2.8.3.2. Upon flashing, recovery said "updating partion can't mount /usb-otg". I thought it might be twrp so I installed 2.8.3.1 and although the red thing talking about usb-otg but still fails.

*edit* I have it rooted using just supersu from play store, not sure what the failed autoroot reason was.
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
In twrp change the default location to internal sdcard. It sounds like it's looking for the file on the otg usb
[Nexus 4 Q&A, Help & Troubleshooting] bspeng922:
cannot download SuperSU
[Nexus 4 Q&A, Help & Troubleshooting] sideeffectz87:
Full Jellybean on Mako

So I know this forum is really old here, but Im having an issue and maybe you can direct me into the right direction. A purchased a Nexus 4 and it worked really well while I had it minus the poor design with the camera on older versions of Android, however I had it running up until 4.4.4 and then I experienced speaker failure, where nothing would work, no ringtones, audio or any notifications, but phone calls with the regular speaker would work. I called Google tech support and they were very helpful but said that because the device wasn't purchased through them directly i would need to go through LG, Google contacted LG for me and even stayed on the phone for a bit, long story short the moron i spoke to at LG verified the serial number and all that and said for me to send it in, i asked several times is it under warranty and they stated it would be fixed. Long story short i sent it, it wasn't covered i wasted my money to ship it, they did their diagnostics and told me for a full refurb it would be $200, which isn't worth it to me. I declined they sent the phone back with version 4.2 Full jellybean on Mako. because its running this edition it wont update, and says its up to date. Ive since fixed the speaker problem myself but now i am stuck with 4.2 and I've tried different guides to update it with a 4.4.4 and 5.0 image from Google direct ( https://developers.google.com/android/nexus/images#mantarayjwr66v ) but it doesn't work after certain commands I do have the boot-loader unlocked and i got as far as it was trying to verify a serial number or something like that. I was hoping someone might be able to help me get it back to something newer. Otherwise I'll either have to sell it off, or give it to a family member. Thanks for reading and hopefully you can help :o
[Nexus 4 Q&A, Help & Troubleshooting] WiseManWhite:
You should be able to upgrade it to 5.0 with just a little bit of work? Did the serial number show up when you were using adb?
[Nexus 4 Q&A, Help & Troubleshooting] Klueze:
i got a nexus 4 with stock android 5.0.1 and an unlocked bootloader (was rooted before), TWRP and i want to root it again. but i got a problem:

i tryed to load the recovery with volume button down + power on. Then i get to the fast boot menu and from there i tryed to go into recovery. then it says "android" for a short time and then it shows the android-symbol with a red exclamation mark above it and an open body. what does that mean? i restarded the phone and it boots into the OS without problems.

nvm: i used the nexus 4 toolkit to restore everything! thx!
[Nexus 4 Q&A, Help & Troubleshooting] vulcan001:
I recently got a Nexus 4 since my prior HTC phone fell & the screen shattered. The Nexus comes with standard 5.0.1 & its a GSM unlocked phone will I have any issues once I attempt to root? I have AT&T service & I'm wondering if I'll get the boot on my service.
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
You won't have any problems if you root it with at&t.
[Nexus 4 Q&A, Help & Troubleshooting] SannanWasique:
yp I have it here

http://xdaforums.com/showthread.php?t=3034811

But still I have an issue, they say "xposed-arm-*.zip: Must be flashed with a custom recovery to install the framework."

As my [Nexus4 ] sofykeys area is disable, in recovery m unable to proceed it to flashing.

Questions are

1) any manual way to install xposed-arm-*.zip ?

2) any other recovery that do not force me to go down onto disabled area to select any thing while installing zip
[Nexus 4 Q&A, Help & Troubleshooting] GoPogoOreo!:
I recently buy a nexus 4 which the bootloader is not unlocked yet,

I want to UBL and root it,

I only have the old version AndroidSDK, which is Android-studio-bundle-135.1245622-windows (about 300 MB),

The newest AndroidSDK is Android-studio-bundle-135.1740770-windows (about 817 MB),

Can I UBL my Nexus 4 with the old version of AndroidSDK that I have?

Because downloading 817 MB is a lot for me and my internet plan :D

(My Nexus 4 on 5.0.1)

Thanks!
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
Google 15 second adb install xda. That'll download everything you need and is a lot smaller.
[Nexus 4 Q&A, Help & Troubleshooting] r2v2s3:
Unable to root my Nexu 4 lollipop- LMY470 with Wugfresh 2.0.5

Hello!

Thank you for the root kit tool. I've rooted my phone numerous times before until I updated to 2.0.5.

When I try to flash my phone with a downloaded 5.1.0 tgz file, I get the below error:

Line: 22052 (File .\.\wugfresh development\ nexus root toolkit\ nexusroottoolkit.exe

error: array variable has incorrect number of subscripts or subscript dimension range exceeded

I even tried uninstalling 2.0.5, removed the install folder and reinstalled the same but the error is same.

Hooping to get a fix for this.

thanks
[Nexus 4 Q&A, Help & Troubleshooting] mexa1995:
5.1

Can I use this tutorial ( first part for unlocking and rooting) for my Nexus 4 running lollipop 5.1? I want to use custom kernel for battery life thats why need root.

Thanks in advance
[Nexus 4 Q&A, Help & Troubleshooting] steviemch:
You certainly can, use twrp recovery to flash supersu, CWM is no longer actively supported.

Sent by neural subspace transceiver node.
[Nexus 4 Q&A, Help & Troubleshooting] mexa1995:
Dont have custom recovery yet, need android sdk to unlock bootloader, rooting stuff was pretty easy on my Galaxy Splus though.

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] steviemch:
You actually don't need the entire sdk for unlocking/fastboot flashing, check out the link below for an alternative.

http://xdaforums.com/showthread.php?t=2588979

Sent by neural subspace transceiver node.
[Nexus 4 Q&A, Help & Troubleshooting] mexa1995:
But latest version in this link is for android 5.0 and I m running 5.1 , there wont be any problems?
[Nexus 4 Q&A, Help & Troubleshooting] steviemch:
Shouldn't be, I actually used an older version to flash 5.1 on both my N4 and N7.

Sent by neural subspace transceiver node.
[Nexus 4 Q&A, Help & Troubleshooting] mexa1995:
I downloaded and installed adb and fastboot tools. It s installed but now I cant figure out how to unlock my nexus 4. pls help
[Nexus 4 Q&A, Help & Troubleshooting] eldar4uk:
this guide worked well on my nexus, thanks
[Nexus 4 Q&A, Help & Troubleshooting] ubston:
Update! I rooted with 5.1.1. I used CWM 6.0.4.7 and SuperSU 2.46. It didn't work like six times in a row. But then it did! If it asks if you want to fix root, say no.
[Nexus 4 Q&A, Help & Troubleshooting] GroteBozewolf:
Don't use CWM it's old and outdated. Use TWRP instead.
[Nexus 4 Q&A, Help & Troubleshooting] ubston:
TWRP failed to work for me. When I wrote "Update!" I also removed my previous message, which included details about which things I used. I feel like my experience was exceptional, though. I tried numerous versions of CWM and TWRP and SuperSU, and it failed many times. Each time, SuperSU would install, but when I rebooted I'd get a prompt saying that root was lost, and asking if I wanted to "fix root." If I said, "yes," the phone would reboot and I would not have root, and if I said, "no," it would get stuck in a bootloop. So I went to bed, and then tried it one more time in the morning, using the above versions, and it worked (even though I had already tried those versions).

So yeah, I think your advice to use TWRP is good advice. But for some reason I was having problems.
[Nexus 4 Q&A, Help & Troubleshooting] Taha Haq:
Hi

I am running andriod 5.1.1 build LMY48l

And I have some questions .

1.Is this method same for my build which is mentioned above.

2.Do i have to use different superuser.zip or Can I use same superuser.zip provided in the thread for 5.1.1.

3.And from what I read I have to use twrp instead of cwm now can I use the latest twrp which is available on twrp official site for nexus 4.

Cheers
[Nexus 4 Q&A, Help & Troubleshooting] jd1639:
1. The method is the same

2. Use supersu 2.49, should be the same as 5.1.1

3. Yes, use the latest twrp.
[Nexus 4 Q&A, Help & Troubleshooting] Taha Haq:
Thanks for the quick response.
[Nexus 4 Q&A, Help & Troubleshooting] Snakebar:
Is it me, or there's no guide in that thread anymore?

I can't see where the guide should be. No links, no steps written in the #1 post nor the others.

Is this kind of a replacement?
[Nexus 4 Q&A, Help & Troubleshooting] Snakebar:
Couldn't get the command adb reboot bootloader to work. Went to fastboot manually and made the rest anyway, so it's rooted now. Thanks!

What if I install TWRP instead of CWM (that's been suggested in the OP) as permanent recovery?
[Nexus 4 Q&A, Help & Troubleshooting] elonus:
TWRP is generally recommended over CWM now since CWM isn't being maintained for our device anymore while TWRP is.
[Nexus 4 Q&A, Help & Troubleshooting] subwoofer_cpf:
I had the same issue, but also did that step manually.

I now have the Frank Marshmallow R13 ROM installed :)

One issue being that I didn't even read the backup section in post 2 until I'd already installed the new ROM.

Great guide, as so many others I followed first failed. This one worked. Thanks
[Nexus 4 Q&A, Help & Troubleshooting] :
the "CWM" link isnt working, where can I download the recovery from?
[Nexus 4 Q&A, Help & Troubleshooting] crazynapkinman:
Use twrp instead
[Nexus 4 Q&A, Help & Troubleshooting] i_need_some_help:
SDK Platform tools

SDK platform tools can be downloaded directly at https://developer.android.com/studio/releases/platform-tools.html

---------- Post added at 12:52 PM ---------- Previous post was at 12:23 PM ----------

Link to CWM (http://www.clockworkmod.com/rommanager) seems not to be valid anymore. Via http://www.clockworkmod.com and then clicking on "Rom Manager" navigates to Google Play Store. Is that correct?
[Nexus 4 Q&A, Help & Troubleshooting] completelylost:
Firstly hello I am new to the forum. I am quite interested in learning how to get the most out of my aging phone. So I decided that rooting is the way to go.

I just googled on how to root cloak my phone which led me here. I have downloaded the rootcloak app but first I want to have a recovery backup. I've had a read and it looks very comprehensive and fairly straight forward. Though I'm not sure I fully understand it. Maybe it'll make a bit more sense to me when I'm actually doing it.

I clicked the link to get the ADB for Dummies AIO App but I don't see it on there anywhere. I did a search for it in the thread using the search function but nothing came up with that. Is it just a text link like you posted to that thread? Because if it is then I'm going to have to click through 51 pages...
[Nexus 4 Q&A, Help & Troubleshooting] 2021redmi2fans:
Thanks for the tutorial, very detailed ！ (y)
[Nexus 4 Q&A, Help & Troubleshooting] nv8110:
hi all

I just want to get root access and make camera/screenshot silent.

and after that I want to have a full unroot.

what should I do ?
[Nexus 4 Q&A, Help & Troubleshooting] fguy85:
Thank you!
[Nexus 4 Q&A, Help & Troubleshooting] wvcadle:
Can the Nexus Root Toolkit unlock/root/relock/re-root the Nexus 4? I've already got it installed and used it to root my Nexus 7.

---------- Post added at 05:01 PM ---------- Previous post was at 04:14 PM ----------

I just unlocked and rooted my Nexus 4. I heard it's a good idea to relock it once it's rooted. I used Wug's Nexus Root Toolkit. But it asks me to Flash Stock + Unroot before doing the OEM Relock. Is it ok to leave the bootloader unlocked, or is there a way to relock it, while maintaining root?

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] la3bna:
Hmm Some of my notifications have been blocked some how.

Im using stock rom with apex

Mostly games (like Word feude, battle friends) but its anoing

Edit: some thing happens during backup and recovery of system and apps! Has to reinstall some apps and install some bought once
[Nexus 4 Q&A, Help & Troubleshooting] MountainX:
I just received my Nexus 4. Immediately I unlocked my bootloader, rooted it and installed twrp recovery. Also installed Busybox and Super SU. After all this I received the notification of the OTA to JOP40D!

I'm using the stock ROM JOP40C. What is the procedure for updating to JOP40D now that I have twrp recovery installed (and Super SU)? Does anyone have an easy solution for this?

As a side note, why would a device I ordered a week ago and just received have been shipped out with JOP40C? Did I get old inventory? I read that factory images were updated to JOP40D back in November of last year! I wish I would have checked my version before install twrp, but that's another story. Are new Nexus 4 devices still shipping with JOP40C???
[Nexus 4 Q&A, Help & Troubleshooting] Dazzh82:
First time unlocking a Nexus device thanks for the guide, was really easy!
[Nexus 4 Q&A, Help & Troubleshooting] la3bna:
Returning to stock recovery, is that done by locking the nexus boot loader? Or do I need to flash like I did CWM?
[Nexus 4 Q&A, Help & Troubleshooting] :
AW: [Guide] Ultimate Nexus 4 Root Guide

Would be interesting to know if u can lock the bootloader again and keep you custom Rom.

Nice guide thx for it

mess with the best, die like the rest
[Nexus 4 Q&A, Help & Troubleshooting] rdoliv:
I just got my Nexus 4. Already unlocked with your great guide, and now I'm about to root it.

I see that you posted the CWM 0.98 SuperSU to use for rooting, but there's an 1.04 version available. Can I use the newer version, or is there any problem or something else that could make me NOT use it, and installing the 0.98 instead ?

Thanks !! Your guide is awesome!

Rodrigo
[Nexus 4 Q&A, Help & Troubleshooting] MountainX:
I used TWRP instead of CWM. I used Super SU. I got both from their respective forums on XDA. I unlocked and rooted my Nexus 4 manually using Linux and the Android SDK.
[Nexus 4 Q&A, Help & Troubleshooting] skezza:
Anyway of rooting without:

a. Unlocking the bootloader.

b. Flashing CWM.

I need a rooted stock (genuine) kernel.
[Nexus 4 Q&A, Help & Troubleshooting] florichelle:
AW: [Guide] Ultimate Nexus 4 Root Guide

Hello,

I have rooted my N4 by using the Toolkit. I used the one click for all option which unlocked the bootloader, flashed CWM Recovery & rooted the phone.

Now that I have read that OTA updates won't be possible while CWM is flashed I was thinking about flashing stock recovery by using the mentioned toolkit.

Will I still be able to build nandroids with the toolkit? Would you recommend turning back to stock recovery. I wouldn't flash custom roms or kernels anyway.

Is there any other way to be able to update OTA?
[Nexus 4 Q&A, Help & Troubleshooting] efrant:
a. At this point, no.

b. Yes.
[Nexus 4 Q&A, Help & Troubleshooting] JoJo2211:
HELP!

At the bolded step below am I supposed to keep holding the Volume UP and Power together? If so, I did this and the phone keeps rebooting. When do I let go? If not, am I supposed to just press the Volume Up and Power button and immediately let go? If so, I did this and I go no further than the Android logo with a red triangle and an exclamation mark. Please HELP!

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] thephantom:
Do it this way. When you see the android logo lying down, press power then tap volume up then release both buttons. The menu should show

Flowed and Tapped from my Nexus
[Nexus 4 Q&A, Help & Troubleshooting] pra12:
OTA updates

after rooting with method will i be able to get the latest OTA updates?If no,from which rooting method i can root and get OTA updates in future??

thanks...................:good:
[Nexus 4 Q&A, Help & Troubleshooting] chromaker:
OTAs are available when you only root your device. If you change something (recovery, rom) OTA will not work (normal). After OTA Update you will loose Root and you have to root it again.
[Nexus 4 Q&A, Help & Troubleshooting] Wadoline:
Hi there!

Is this guide updated for the new 4.2.2 stock?

Best regards

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] khodos:
I don't know if anyone has notified this, but there is no need to download rom manager and reinstall CWm anymore... Download CWM from their website (I recommend the touch version), flash it and when you exit CWM it will ask if you want prevent the OS to overwrite the recovery. Say yes and it will always boot.

We should add this to the 1st page
[Nexus 4 Q&A, Help & Troubleshooting] biggyk:
When the time comes when I download the new OTA (4.2.3) and use CWM is there a way to do just update or does it need to be installed fresh every time? I remember back when I had my Nexus s and I choose install .zip from sd card, it cleared everything in stalled afresh rom. I want it to update just like the real OTA method would do.

Sent from my Nexus 7
[Nexus 4 Q&A, Help & Troubleshooting] silent assassin:
Just wanna say, thanks for the guide !
[Nexus 4 Q&A, Help & Troubleshooting] happycadaver:
Thank you for the guide, will try it on my Nexus 4 in a few days.
[Nexus 4 Q&A, Help & Troubleshooting] Water Dispenser:
stuck at "installing pdanet to your phone"

in unlocking and rooting portion, did anybody encounter this problem? got 4.2.2 stock rom
[Nexus 4 Q&A, Help & Troubleshooting] opticaldh:
I am sorry, but what problem?
[Nexus 4 Q&A, Help & Troubleshooting] punkmexic:
nexus 4 android 4.2.2

is there a free, freeware (and updated) "one click" application that allows newbies to root their nexus android 4.2.2 version?

similar to WugFresh Development aka nexus root toolkit?
[Nexus 4 Q&A, Help & Troubleshooting] nyepo:
Yep, Wugfresh just got updated to 4.2.2 version with new Wugfresh Nexus 4 Toolkit v 1.6.3. Check it here. I'm a totally noob in rooting and I did it on my first try in aprox 10 min :) Just follow the video linked there for rooting Nexus 4

---------- Post added at 11:51 PM ---------- Previous post was at 11:41 PM ----------

I rooted my Nexus 4 Android 4.2.1 v with Wugfresh toolkit. Just root. I had busybox and SuperSU installed.

As I didn't touch anything "core" being root, I was able to install the OTA update. Then I lost root, etc. No problem, Wugfresh updated the kit to work with Android 4.2.2 v. Again, I'm just root, I didn't install any recovery (to be OTAupdateable again).

So, my questions are:

1) Can I make a Nandroid backup now? Wugfresh toolkit says I can, as far as my nexus 4 is unlocked (it is) and rooted (it is, too), and offers a way to do it. Do I need any custom recovery to make a backup or Wugfresh will do it ok? Or having a recovery is a must?

2) Busybox. What's for? If my Nexus 4 was rooted without installing then Busybox (wugfresh does that) what differences would be compared to a Nexus 4 rooted and with Busybox installed (as I am) ? If I uninstall it now, what happens? Still root?

Thanks. I know these questions should be on Wugfresh thread but as a newbie I can't post there yet :p
[Nexus 4 Q&A, Help & Troubleshooting] opticaldh:
What is BusyBox? http://xdaforums.com/showthread.php?t=2120973

If you rooted by Wug and didn't check Custom Recovery, then you are still on the original Recovery. It's ok to keep the old one, but much more convenient if you set up the Custom Recovery.

You can go to your phone, download ROM Manger, and install a Custom Recovery, in ROM Manager, the function to make a nadroid is also available. In ROM manager, you can make nadroid and name it. It Custom Recovery, you can't.

That's what I know :) Hope it help you.
[Nexus 4 Q&A, Help & Troubleshooting] nyepo:
Thanks, but as I said, I want to keep my phone "OTAupdateable". Just wanna be root for doing some little tweaks, not to touch anything from the system or core (savegames backup, minimal tweaks, root explorer, etc).

So, can't do a nandroid backup with my current Custom Recovery? :rolleyes:
[Nexus 4 Q&A, Help & Troubleshooting] saz542:
Please Update Links

Option One AND CyanogenMod's Guide

Links are Not working. kindly Update them..
[Nexus 4 Q&A, Help & Troubleshooting] toviaheli:
From the first post. I've been to the CWM website and can't find recovery-clockwork-VERSIONNUMBER-mako.img

Can't find any img files.

Can someone point me in the right direction, please?
[Nexus 4 Q&A, Help & Troubleshooting] Mahennemaha:
Just open the link and search for "Google Nexus 4" (ctrl+f), and then download the normal or touch recovery for your device.

Remember Nexus 4 => mako :)
[Nexus 4 Q&A, Help & Troubleshooting] toviaheli:
Nexus 4 is an important piece of info. Thanks.

Edit: check out the proper link this time. Still only finding a download for a bunch of ROMS and Superuser.

?

What am I missing?
[Nexus 4 Q&A, Help & Troubleshooting] 3rdstring:
Look in the recovery & touch recovery columns