yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] toviaheli:
Okay, I found and downloaded the proper file...thank you 3rdstring.

Now I have a new issue I would love some help with:

I have done the following:

With your phone plugged in type:

Code:

adb reboot bootloader

(Hit Enter)

And wait for your phone to boot into the android again.

Now type:

Code:

fastboot flash recovery IMAGENAME.img

(Change the file name to the correct file name and Hit Enter)

Once that is finished: select the "Recovery Mode" option again on your phone.

You should get a new recovery menu here....

My Nexus 4 does not fully enter recovery mode. It stops and remains on the "Google" screen.

Edit:

After restarting it now loads into what is supposed to be recovery, but instead there is a green Android with it's chest open, and an exclamation mark inside a red triangle...
[Nexus 4 Q&A, Help & Troubleshooting] opticaldh:
So that means you haven't flashed any Custom Recovery yet.

When I rooted, I use this guide http://xdaforums.com/showthread.php?t=2010312

And the command is fastboot boot customrecovery.img I dont know if your command does the same thing.
[Nexus 4 Q&A, Help & Troubleshooting] nishu_nisarg:
will it work??

i am having htc one x i have allready instaled adb and fastboot files will it work for nexus??just ask for quorisity...
[Nexus 4 Q&A, Help & Troubleshooting] trition:
Unlocking the Bootloader:

***NOTE***

This may perform a factory reset on your device. You might lose all applications. Even the data on your SD Card! I'd recommend...[/QUOTE]

I'm sorry.. i thought the Nexus 4 didn't have an external storage option :eek:
[Nexus 4 Q&A, Help & Troubleshooting] thephantom:
I'm sorry.. i thought the Nexus 4 didn't have an external storage option :eek:[/QUOTE]

It doesn't but it's still called sdcard. It's the internal storage
[Nexus 4 Q&A, Help & Troubleshooting] Philippe Lemay:
Pardon the nub question, but... I thought Nexuses came pre-Rooted out of the box. Isn't that what sets a Nexus apart from all the other Androids?
[Nexus 4 Q&A, Help & Troubleshooting] dirtyhamster73:
No, nexus phones/tablets do not come pre-rooted. What sets it apart from other androids is it is pure Google, no modifications from manufacturer's or carriers...(etc no bloat) It's as Google intended. That's the short explanation of it.

http://en.wikipedia.org/wiki/Google_Nexus
[Nexus 4 Q&A, Help & Troubleshooting] efrant:
To add to what dirtyhamster73 said, all Nexus devices come with an unlockable bootloader. <-- This makes getting root trivial.
[Nexus 4 Q&A, Help & Troubleshooting] JohnyR21:
Hey, the links for Option 1 and 2 are dead. Any links to new ones?
[Nexus 4 Q&A, Help & Troubleshooting] chazall1:
Can TWRP be substituted for CWM? and would the same procedures be used to have TWRP stick as the main recovery.

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] stevenhw8:
perhaps a hint here

I was rooting it yesterday with fastboot and ADB and it was giving me the <unknown error> for no reason

then realized I had it in a USB 3.0 port and switched it to a 2.0 port and it worked

just throwing it out there in case you run into a similar situation :good:
[Nexus 4 Q&A, Help & Troubleshooting] 3rdstring:
Yes
[Nexus 4 Q&A, Help & Troubleshooting] alexroz:
Is it possible to root the device without loosing ability to automatically receive OTA updates on stock ROM?
[Nexus 4 Q&A, Help & Troubleshooting] wing_addict_usa:
Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] efrant:
Yes
[Nexus 4 Q&A, Help & Troubleshooting] Daphen:
Hey guys, I just obtained a Nexus 4 and ofcourse I want to root and such, with my Galaxy Nexus I did the mistake of not making a backup of the original phone, in this guide it says to first root and then do a backup? Is this correct?
[Nexus 4 Q&A, Help & Troubleshooting] BLADESMAN1889:
You can do a backup first but without Root you won't be able to use backup apps such as Titanium/nandroid.

Sent from Nexus⁴ via XDA app [AOKP_b5]
[Nexus 4 Q&A, Help & Troubleshooting] Sledge1:
So i'm trying to root and install custom rom so i can use themes etc, but adb reports the device is offline?

USB Debugging is on, drivers are installed, phone is in device manager as Nexus 4 ADB interface..

any ideas?

EDIT: I used Nexus Root toolkit from WugFresh to install drivers... it reports success for the test.. but adb still reports the device as offline...

Maybe i should just use the toolkit to do everything else as well?

EDIT 2 : I'm thinking maybe the sdk i was using is out of date...

Downloaded the latest from google and when i adb devices, it says: device

so maybe i'll try that version now instead..

I think this guide needs to be updated a little?
[Nexus 4 Q&A, Help & Troubleshooting] John61590:
I followed this guide to root my Nexus 4 and it was a tremendous help. I ended up never using my adb backup though as Google already synced my apps for me on my Google Account. Thanks to the OP for taking the time to write such a good tutorial.

---------- Post added at 07:03 PM ---------- Previous post was at 06:43 PM ----------

Try to plug and unplug your USB if it says offline. It worked for me. If it still doesn't work, reinstall your drivers.
[Nexus 4 Q&A, Help & Troubleshooting] opticaldh:
sometimes, when you check and adb says "offline," then you remove your phone and check again, adb still says "offline." You need to go to Task Manager and Kill the "adb" process, then try again.
[Nexus 4 Q&A, Help & Troubleshooting] John61590:
Another thing I forgot is that with Android 4.2.2, it asks if you want to allow debugging on your phone when you connect your phone, so make sure you accept the RSA key. After you accept that, it will say online.

From developer.android.com/tools/device.html

Note: When you connect a device running Android 4.2.2 or higher to your computer, the system shows a dialog asking whether to accept an RSA key that allows debugging through this computer. This security mechanism protects user devices because it ensures that USB debugging and other adb commands cannot be executed unless you're able to unlock the device and acknowledge the dialog. This requires that you have adb version 1.0.31 (available with SDK Platform-tools r16.0.1 and higher) in order to debug on a device running Android 4.2.2 or higher.
[Nexus 4 Q&A, Help & Troubleshooting] TecQuality:
yep ...

10chars
[Nexus 4 Q&A, Help & Troubleshooting] bankmaggot:
What happened

So I followed this guide "for the most part up until, You're now rooted part!". This was back in december but I been having problem with my phone yesterday. I think I'm no longer ROOTED. I can't find a quick test to tell. I think my problem is with an app "secured settings plugin" that can't seem to run as it requires root.
[Nexus 4 Q&A, Help & Troubleshooting] John61590:
You shouldn't need those links to do this guide. They didn't work for me either, yet I successfully rooted my Nexus 4.

---------- Post added at 01:00 PM ---------- Previous post was at 12:54 PM ----------

You can use the app "Root Checker" to check to see if have root.

There's also another way of downloading a command line tool like ConnectBot from Google Play to see if a # (pound) symbol is shown which means it is rooted, or a $ symbol (not rooted).
[Nexus 4 Q&A, Help & Troubleshooting] GroteBozewolf:
SetCPU stock

Probably a question that was answered somewhere but is it possible to downclock a rooted Nexus 4 with Stock ROM (so no new kernel)? I tried using "No-frills CPU Control" but a different minimum frequency sticks for about 10 seconds and then reverts back to 1026 MHz.
[Nexus 4 Q&A, Help & Troubleshooting] bankmaggot:
Thanks. I tried two apps and it says my phone is not rooted. This is so weird. Im rooted for three months n then just out of the blue I lose it.
[Nexus 4 Q&A, Help & Troubleshooting] gee2012:
Just flash this http://download.chainfire.eu/315/SuperSU/UPDATE-SuperSU-v1.25.zip in CWM/TWRP and you are rooted.
[Nexus 4 Q&A, Help & Troubleshooting] gleggie:
Will TWRP work with this guide? And will i still need to perform the fix after flashing SuperSU? Can't you just install Super SU in the market?

Thanks a lot for this guide
[Nexus 4 Q&A, Help & Troubleshooting] NuckFuggets:
i did the commands in the command window, but it says error: device offline :/ im running 4.2.2 and debugging is enabled, so idk whats wrong :/
[Nexus 4 Q&A, Help & Troubleshooting] DowntownJeffBrown:
Have u added your N4 to your computers whitelist?

Sent by my Kitteh eating my muffin head (Im chocolate chip) via my Sexy Nexi 4 using Tapatalk
[Nexus 4 Q&A, Help & Troubleshooting] efrant:
You need the latest version of adb when running 4.2.2, and it will prompt you on your device when you connect the first time -- you need to accept before it will show your device as online in the command prompt.
[Nexus 4 Q&A, Help & Troubleshooting] addMitt:
I've got CM10 and I'm trying to get one of the more advanced Faux123 kernels to work on it. I got the enhanced stock kernel working just fine.

I flashed CM10 to the newest nightly (which is supposed to reset the kernel), and then flashed the Turbo Boost Ultimate kernel, and I get a boot loop every time.

Any ideas? I've tried clearing the caches before/after. I really want more CPU governors :\
[Nexus 4 Q&A, Help & Troubleshooting] theprodigy85:
New to this...

Should I flash the newer version of SuperSU (v1.25) found in the dev's thread (http://xdaforums.com/showthread.php?t=1538053) or flash v0.98 in this thread and then update to the new version from the play store?

Also I plan on using TWRP instead of CWM...I assume the instructions should be similar, except that I will be flashing a different file?
[Nexus 4 Q&A, Help & Troubleshooting] geosa:
I cannot see the zip files of the rom I put in the internal storage of nexus 4. what can be the reason?
[Nexus 4 Q&A, Help & Troubleshooting] dragonmhawk:
using touch recovery fixes problem

cmw touch recovery fixes the problem with loading your recovery. installed and havent had one problem with it.
[Nexus 4 Q&A, Help & Troubleshooting] eddy4823:
cant get the root toolkit to work on nexus 4...
[Nexus 4 Q&A, Help & Troubleshooting] wieczie:
I can't post outside links just yet, but search "How to root the Google Nexus 4 - latest" on YouTube and klick the Video of 'quking77'. It should help you alot.
[Nexus 4 Q&A, Help & Troubleshooting] Rho90:
want to ask that how to i know whether my device is unlock successful or not ?

because when come to the step that pressing volume up + power ( android screen ) my phone turn off. then the red light is blinking instead of the restart and factory reset screen pop out.

when i switch on my phone, it was reset like new. does that mean it is success ? when i repeat the step again, the command prompt said fail, already unlocked.

Unlocked was done !!! thanks
[Nexus 4 Q&A, Help & Troubleshooting] Moritzr1:
Ok, what did I do?

Hi,

I flashed CWM recovery but ended up having to reboot. When I did I chose "yes" to replacing the stock recovery. If I don't want I don't have to use the ROM manager app correct? The reason for my confusion is because when I boot into the recovery I see that it is the latest version. When I installed the app it said I was using version 5.X.X.X. I think I just misconfigured the app...

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] 7thGalaxy:
Hi

I'm having trouble at step 1 here, installing the drivers.

Firstly, Windows 7 insists on installing its own drivers even when I use device installation settings to turn off automatic driver installation.

Secondly, the driver it installs seems to be a MTP USB device driver, which it has "determined" is the best driver for the job. If I redirect the Update Driver software to a folder containing the Universal naked driver, it won't update.

As soon as I uninstall the hardware, it reinstalls

And as such I can't get the Android ADB Interface drivers which I need to work.

Has anyone else had this problem?

Thanks
[Nexus 4 Q&A, Help & Troubleshooting] efrant:
http://xdaforums.com/showpost.php?p=39922436&postcount=744
[Nexus 4 Q&A, Help & Troubleshooting] androidfoshizzle:
i followed the steps to unlock bootloader and all i get is..device not found
[Nexus 4 Q&A, Help & Troubleshooting] spicediablo:
Might be drivers problem. Uninstall and reinstall yr drivers

Sent from Mako
[Nexus 4 Q&A, Help & Troubleshooting] teamjm:
My unit is now rooted but i think i messed up my SU. It says

there is no SU binary installed, and SuperSU cannot install it. This is a problem!

In need of help. What to do now? tried reinstalling it from google play or settings/apps but no avail of uninstall.

Tried going recovery mode though android fella laying down with exclamation happens.

THanks!
[Nexus 4 Q&A, Help & Troubleshooting] 7thGalaxy:
Hi

Just in case anyone else has this problem - I found that it was due to my phone being set to connect as a media device. If I set it to be a camera, then it installed the correct drivers straight away.
[Nexus 4 Q&A, Help & Troubleshooting] DirgeExtinction:
Just curious, but is there a superwipe zip for the Nexus 4 like there was for the Galaxy Nexus?

Sent from my Nexus 4 on T-Mobile
[Nexus 4 Q&A, Help & Troubleshooting] Capt-Capsaicin:
Process hangs, won't go into recovery

I got through all the steps through flashing the recovery image. Then the process hangs. The unlock went as described but I can't get to the step where SU is installed from the zip on the phone.

adb reboot bootloader

(Hit Enter)

Phone boots to screen with green android

fastboot oem unlock

The phone asked if I want to unlock it. I selected "Yes"

I then did the Factory Reset. After that I rebooted the phone before preceding to the next step.

With the phone reconnected I completed the next steps.

adb reboot bootloader

(Hit Enter)

Phone boots to screen with green android

fastboot flash recovery recovery-clockwork-touch-6.0.3.0-mako.img

I see in the terminal "sending recovery" "OKAY"

and then "writing recovery" "OKAY"

and finally "finished"

I then Navigated to "Recovery Mode" with the volume keys. Used power to select.

And then the phone rebooted and is hung up with "Google" and a black screen.

So I tried the whole process over again starting with flashing the recovery image with the same result.

Any suggestions on how to get into recovery mode?

Thank you, Jason
[Nexus 4 Q&A, Help & Troubleshooting] doctolan:
I have this trouble too and wait to help 2 days:( - any idea...
[Nexus 4 Q&A, Help & Troubleshooting] qwerty123321:
When I type in cmd adb reboot bootloader

I get the error message saying that "Error: device not found"
[Nexus 4 Q&A, Help & Troubleshooting] spicediablo:
Get yr driver updated.

Sent from Mako
[Nexus 4 Q&A, Help & Troubleshooting] mibikin:
In regards to having to reset Google Wallet, if I'm updating a ROM do I still have to reset wallet in a dirty flash? I'm thinking about unlocking and flashing ROMs soon.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] DigginGraves:
Hey guys!!

I'll be getting a nexus soon, and I was reading this guide just to see what will I put with.

So, I have some questions:

1. When you say sd-card, you're refering to the internal sd the phone has, right?

2. When you do a factory reset from CWM recovery, doesn't that delete the contents of the internal sd-card too? I mean, it counts as internal data.
[Nexus 4 Q&A, Help & Troubleshooting] ChromeJob:
That should work.....

Might need to check you've got the right recovery image. Regardless, from fastboot you can flash the stock recovery image (dunno where that is, but someone here knows) and try that, make sure you can get into recovery again.

Fastboot also lets you boot into an external recovery image: fastboot boot [recovery image]. I did this on my Amaze recently so that I could still get OTA updates for stock.

For the Nexus, yeah. I believe /sdcard/ is in a partition which is NOT wiped for a factory reset. On my Nexus 4 (after full bootup) it's /data/media/ as well as /mnt/shell/emulated/.

You might make an external backup just in case (I used adb pull /sdcard/clockworkmod/backup . ). If it is wiped, you need only do adb push [files] to get them back on.

I'm new at this so I defer to more experienced members....
[Nexus 4 Q&A, Help & Troubleshooting] dpantalleresco:
After Root Part 1

I'm new at this and just wanted clarification that once the device is rooted in part 1, part 2 and 3 would not be required? Would it be as though I have just rooted and unlocked my stock ROM?

My goal is to root and continue using the stock software - 4.2.2 JDQ39 - Google has the stock images available but it seens like after the rooting you should be all set? developers.google. com/android/nexus / images#occam

Also if I root will I lose the ability to Update my Nexus 4? :confused:
[Nexus 4 Q&A, Help & Troubleshooting] Drtro:
I got the boot loader unlocked but I can't get the .IMG to flash.

The first attempt, the transfer fails. I retype the command and it just goes to next line but nothing. No status. My phone does nothing. I don't know what to do. I figured it flashed or whatever so I went into recovery and it had the Android logo with that ! Icon over it. No options or anything. I just kept messing with the buttons randomly until it restarted. I tried this twice.
[Nexus 4 Q&A, Help & Troubleshooting] mike_24_11:
I hope that something like "super one click root" comes out soon!!
[Nexus 4 Q&A, Help & Troubleshooting] spicediablo:
I think there is a tool kit available. Below is one of them, do a search and you will find more

http://xdaforums.com/showthread.php?p=34209287

[NEXUS 4 TOOLKIT V1.3.0] Drivers, Backup, Unlock, Root, Flash, Mods + MUCH MORE

Sent from Mako⁴
[Nexus 4 Q&A, Help & Troubleshooting] evilsetho:
try googling nexus toolkit 1.6.3 by wugmush(can't remember how to spell his name )

thats how i rooted my phone

but be sure to backup your files :)
[Nexus 4 Q&A, Help & Troubleshooting] eXtremeLT:
Edited:

Solved, can't delete the post now tho :S
[Nexus 4 Q&A, Help & Troubleshooting] DowntownJeffBrown:
Wugfresh :)

Sent by my Kitteh he chews on muffins on my Sexy Nexi 4 using Tapatalk
[Nexus 4 Q&A, Help & Troubleshooting] mike_24_11:
Is toolkit version 1.6.3 for 4.2.2? Latest version of toolkit is 1.7.4. But I can't find any link for it. Can somebody help?

---------- Post added at 10:34 AM ---------- Previous post was at 10:31 AM ----------

I am really annoyed with the battery life. So I want to root and use a custom kernel.
[Nexus 4 Q&A, Help & Troubleshooting] mike_24_11:
Rooted!!

Thanks mate.. Rooted my N4 with ease and success!!
[Nexus 4 Q&A, Help & Troubleshooting] evilsetho:
glad to help mate :)
[Nexus 4 Q&A, Help & Troubleshooting] NCtwin:
Is it possible to root without a computer?? Just curious.
[Nexus 4 Q&A, Help & Troubleshooting] spicediablo:
Not possible AFAIK

Sent from Mako⁴
[Nexus 4 Q&A, Help & Troubleshooting] NCtwin:
Ok cool. Thanks.

I guess I'll have to wait until my repaired laptop comes in...
[Nexus 4 Q&A, Help & Troubleshooting] gee2012:
Chainfire`s CF-Auto-Root-mako-occam-nexus4 is the easiest way to both unlock the phone and inject root imo. I hate toolkits, though i respect the devs work and efforts. A toolkit is nothing more than a liason between the phone and adb/fastboot.
[Nexus 4 Q&A, Help & Troubleshooting] DowntownJeffBrown:
Sorry it took so long to respond. 1.6.3 is the latest version of wugfresh's toolkit.

I need to say this also. I would suggest learning to root/unlock using another method other than a toolkit. One day when u need to use adb u will be happy that u learned to use it. Also u will learn something about your phone using adb and its always nice to know what u are doing to your phone. I'm with eep I respect the devs work on the toolkits and I get why people use them. But for me I just like understand as much as I can about what I'm doing to my phone. Cheers :beer:

Sent by my Kitteh he chews on muffins on meow Sexy Nexi 4
[Nexus 4 Q&A, Help & Troubleshooting] NCtwin:
If you lose root, will you lose all of your music/pics/etc as well??
[Nexus 4 Q&A, Help & Troubleshooting] BLADESMAN1889:
No

Sent from NEXUS⁴ via XDA app [AOKP\/\/hitehawkx]​
[Nexus 4 Q&A, Help & Troubleshooting] NCtwin:
Ok cool. I rooted my N4 over the weekend, but I'm not sure what I should do next. I don't know if I want a ROM, but I'm really interested in messing with a cool kernel.
[Nexus 4 Q&A, Help & Troubleshooting] BLADESMAN1889:
:D Congrats, feels good right ?

1st you should make a Nandroid & I'm assuming you have Titanium ? Then if your totally new to all this, read up & research as much as possible before your next decision.

Sent from NEXUS⁴ via XDA app [AOKP\/\/hitehawkx]​
[Nexus 4 Q&A, Help & Troubleshooting] dsjd:
Hi...i am new to android..plz can somebody tell me how can u make out if the drivers are installed properly ?Do i enable usb thenthering mode before or after i install the drivers ?
[Nexus 4 Q&A, Help & Troubleshooting] BLADESMAN1889:
Connect phone to PC/Laptop if drivers have installed properly devices will 'talk' to each other :D

Sent from NEXUS⁴ via XDA app [AOKP\/\/hitehawkx]​
[Nexus 4 Q&A, Help & Troubleshooting] mitsos1996:
error device not found???

I'm trying to unlock bootloader.Firstly, i download SDK and i extract it to c:\ then i open it i install platform-tools and usb drivers . When i go to c:\....\platform-tools , i open a cmd window and i write "adb reboot bootloader" and it says device not found.Then i go to device manager to anroid and i do exactly what u say updating drivers because they are wrong installed , i update them and then i write again "adb reboot bootloader" (usb debugging:on) and i t still says device not found. I write adb in cmd and it is correctly installed. I also added it in path but still no difference. What can i do?:confused:
[Nexus 4 Q&A, Help & Troubleshooting] BigPickle80:
thanks for the tutorial Jubakuba everything worked like a charm apart from CWM Recovery wont mount my sd for me to put roms on, for now im using side transfer, is this a problem with the current cwm recovery? or will partitioning my card in cwm resolve the issue
[Nexus 4 Q&A, Help & Troubleshooting] androidfoshizzle:
If I download a Kernal for a ROM and decide to go back to the stock kernel what's the procedure?
[Nexus 4 Q&A, Help & Troubleshooting] spicediablo:
Just flash the stock kernel. link below

http://www.mediafire.com/?8scg78mfc0eoded

Sent from Mako⁴
[Nexus 4 Q&A, Help & Troubleshooting] androidfoshizzle:
My device is not listed when "adb devices" is typed, adb is 1.0.31, and my nexus 4 is not getting the window that pops when connected?

Edit: I had to download a toolkit for pda net to get the drivers, how would i download drivers manually since i already have the android SDK installed, i dont wanna keep using pda for driver installation?

Edit:2 Install usb_driver through extras manually through device management
[Nexus 4 Q&A, Help & Troubleshooting] joenun:
seems like my storage is shrinking more with every rom install

it using over 3gb for system?

anyway to cleanup system folders?
[Nexus 4 Q&A, Help & Troubleshooting] stonesnake:
Try deleting old nandroid backups.
[Nexus 4 Q&A, Help & Troubleshooting] joenun:
only have 1 backup 7mb

i have 3.3gb used after a fresh rom install , i remember having more room left when i first got the device
[Nexus 4 Q&A, Help & Troubleshooting] MrKaupo:
What about SU app and BusyBox updates after i rooted? Today i got SU update, i update thought playstore and it asked to reboot and instaled in custom recovery. What about BusyBox? How to update it or check for updates?
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
just update it through playstore
[Nexus 4 Q&A, Help & Troubleshooting] atari1184:
thanks for the info
[Nexus 4 Q&A, Help & Troubleshooting] BLADESMAN1889:
This happens. Go to Play Store & download 'Disk Usage' this breaks down/shows you what is using what in data terms.

Chrome collects large Cache file which you can delete etc. It will show you a break down of where all your data is building up. It let's you delete as well if you are using certain file explorers.

Sent from NEXUS⁴ via XDA app [AOKP\/\/hitehawkx]​
[Nexus 4 Q&A, Help & Troubleshooting] Philippe Lemay:
What's the difference between getting the SDK from the developper.android.com site and getting it from the "ADB for Dummies AIO App"? It seems like one is over 600 MB and the other is only 60 MB.