yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] AmicX:
Chrome and Google+ defect after rooting

Hi everyone,

I just rooted my new Nexus 4 according to the hints here. I got a little problem, so I flashed both, the cwm with and without touch. After I updated to SuperSU 1.60 everything worked fine and I got root. But now Google Chrome and Google+ are not working anymore. I get a message "Chrome was closed" (Chrome wurde beendet), same with Google+. I searched this forum, but didn't find any hints. Any idear how to fix this?

Regards

AmicX
[Nexus 4 Q&A, Help & Troubleshooting] shengovind:
Wipe app data of chrome and g+ and try/...to wipe them go to apps in settings-- select the apps chrome and g+-- clear data and try/...

If not wipe cache and dalvik cache from cwm recovery!!!

:good::good::good:hope this helped:good::good::good:

---------- Post added at 11:08 PM ---------- Previous post was at 11:03 PM ----------

here you go::: hope this helped...

http://xdaforums.com/showpost.php?p=41291371&postcount=28

Dont forget to wipe cache..
[Nexus 4 Q&A, Help & Troubleshooting] AmicX:
Tried this with no result. Afterwards I changed the APPs with TB to user APPs. I uninstalled them, then reinstalled them. Then I changed back with TB to system APP. This seems to work for now. Sorry for the hassle... AmicX
[Nexus 4 Q&A, Help & Troubleshooting] gidal:
Just got my N4, came here to get Root info since this is one of the best XDA Dev thread. :)

I find this helpful since I'm still a beginner, just came to Android from iOS, a few months ago. Rooted 6 phones/tablets so far. 4 were Nook HD+, easy ones.

Back to topic:

How does rooting affect Google OTA?

Does it break OTA like Samsung and Triangle away?

I'm really enjoying my N4 so far, I just want to root for now (and not do ROMs).

Any help/pointers, appreciated.
[Nexus 4 Q&A, Help & Troubleshooting] gee2012:
If you are rooted and didn`t change the original kernel and recovery in the stock rom you`ll be able to receive and install an OTA. You will have to reroot afterwards though.
[Nexus 4 Q&A, Help & Troubleshooting] gidal:
Thank you, that's exactly what I need.

I'm still enjoying my N4 newness and only plan to do "mercy" rooting for now. Maybe once Kit Kat is out, I'd be ready to try something else.
[Nexus 4 Q&A, Help & Troubleshooting] gee2012:
I recommend CF Auto Root for rooting, you will not need a custom recovery for this method. Link http://xdaforums.com/showthread.php?t=2025274. Use in fastboot mode, will also unlock the bootloader if you haven`t allready.Backup important files first though.
[Nexus 4 Q&A, Help & Troubleshooting] OrC1989:
I am getting some issues after stock image 4.3 Y build flashing on 4.3 previous build. I did full unroot before flashing the 4.3 Y image.

Now, I got running TWRP recovery, but I cannot get root.

When I flash supersu1.6 in recovery and boot into the system afterwards, I do not get SuperSU app in the phone, after I install it from Google Play it keeps crashing all the time (if I try open Titanium Backup(trying to get root rights), it crashes or if I open SuperSU app itself). After I did full unroot in app it seems phone works stable.

How do I get root?

Thanks for help.
[Nexus 4 Q&A, Help & Troubleshooting] gidal:
Thank you.

Coming from CM10.1/2, stock N4 does leave a lot to be desired. I might just do the whole nine yards after all. Hmm...
[Nexus 4 Q&A, Help & Troubleshooting] stonyman187:
If you are having troubles with the final steps of root I found installing the newest version of SuperSU.zip through recovery allowed me to complete the clockworkmod install. So use the 1.65 SuperSU found here if you are having troubles. http://xdaforums.com/showthread.php?t=1538053
[Nexus 4 Q&A, Help & Troubleshooting] LarsPT:
Hi all,

I'm having trouble with the adb commands. When I try "adb reboot bootloader" I get "error: device unauthorized. Please check the confirmation dialog on your device" but I didn't get any dialogs.

Can anyone help me? Thanks!

EDIT: Nevermind, I did get the dialog :p
[Nexus 4 Q&A, Help & Troubleshooting] BLADESMAN1889:
Deleted

Sent from NEXUS⁴ via XDA Prem [AOKP 4:3 Previews]​
[Nexus 4 Q&A, Help & Troubleshooting] mjoa68:
I faithfully followed each step in the OP's guide and ended up without root and with a Super SU version that could not update. Searched XDA for "Super SU" and found the official thread with a link to the current zip which is many versions beyond what is linked to in the original post (Currently at version 1.65).

If anyone else runs into this problem...

Go to the official Super SU thread here: http://xdaforums.com/showthread.php?t=1538053

In the original post, look for the download option described as "CWM / TWRP / MobileODIN installable ZIP:" and follow that link. You can then get the latest version of Super SU. (Once I used CWM to install that over the old 0.98 version everything was fine and I had root access.)

Any chance the OP can update the guide for people just showing up? Would avoid a lot of confusion.

Thanks to the OP for all of your work.
[Nexus 4 Q&A, Help & Troubleshooting] idann:
error: device offline

I installed driver for Neuxs 4 & ADB for Dummies AIO App, try to run command "adb reboot bootloader",

on screen get a message "error: device offline". I tried to looking for this problem but all offer of solution dont works.

OS pc: Windows 8 Pro.

I need help please,

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Does "adb devices" recognize your phone?
[Nexus 4 Q&A, Help & Troubleshooting] idann:
Yes, Android device -> Google Nexus 4 ADB Interface, right?
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
When you open a command prompt window and type in "adb devices" what happens?
[Nexus 4 Q&A, Help & Troubleshooting] idann:
OK, I tried download another ADB tools (platform-tools-v16), and works well, the bootloader UNLOCK!

I have a few question and would happy if you can help with that please:

1. It is possible get OTA update from google while Recovery CWM flashed on device?

2. It is possible to flash root without custom recovery (stock recovery)?

Thank you for your try to help!
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
1. Im not 100% sure on this, but i think the answer is no.

2. No, you need a custom recovery to flash a zip. But what you could do is use the fastboot boot command to temporarily install cwm and flash root. Then after you reboot, cwm will be gone and it will return to the stock recovery but you will be rooted.
[Nexus 4 Q&A, Help & Troubleshooting] idann:
While flash custom recovery and root, it is will reset/wipe like bootloader unlock?

Thanks.
[Nexus 4 Q&A, Help & Troubleshooting] Nezam:
One thing

I can flash the superusr zip in the Op through TWRP also right?
[Nexus 4 Q&A, Help & Troubleshooting] mjoa68:
That's what I did. I couldn't read the font in CWM so I flashed TWRP and used that instead. Worked just fine for me.
[Nexus 4 Q&A, Help & Troubleshooting] shengovind:
1) you'll get ota but then installing the ota will remove recovery and root..

(PROVIDED YOU'RE ON STOCK ROM AND STOCK KERNEL or else no ota)

---------- Post added at 05:18 PM ---------- Previous post was at 05:14 PM ----------

Flashing custom recovery and root doesn't delete anything..

Boot loader unlocking erases stuff..(you can by pass that too)

While flashing ROMs .. Factory reset from custom recovery doesn't delete sd card files
[Nexus 4 Q&A, Help & Troubleshooting] idann:
So great, Can i flash only SuperSU (root) without flash custom recovery CWM? It will works well?
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Yes. Instead of flashing cwm you can temporarily boot it.

Sent using xda-developers app
[Nexus 4 Q&A, Help & Troubleshooting] sir_fz:
I rooted my Nexus 4 while it was running 4.2.2 using the N4 Toolkit V2. After upgrading to 4.3.0, I lost root. So I tried manually rooting as indicated in this guide (flashed CWM and then installed the SuperSU zip from recovery) but still SuperSU says there are no SU binaries installed. What could be the problem?!
[Nexus 4 Q&A, Help & Troubleshooting] idann:
What is it "temporarily boot"? How can I do it?
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Instead of using "fastboot flash recovery customrecovery.img" you use " fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img"

Sent using xda-developers app
[Nexus 4 Q&A, Help & Troubleshooting] idann:
What is the command "-c "lge.kcal=0|0|0|x""?

Thank you.
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Sorry I messed up the formatting. This is the proper command:

fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img

Sent using xda-developers app
[Nexus 4 Q&A, Help & Troubleshooting] DrDruge:
Hi everyone,

Same problem here.

This tutorial worked nicely for the 4.2.2 version.

Now that I repeat it with the 4.3, SU doesn't find the binaries installed.

The only difference in the procedure is that this second time the recovery is not stock,

but is the ClockworkMod Recovery I had installed the first time thrugh ROM Manager.
[Nexus 4 Q&A, Help & Troubleshooting] shengovind:
I'd recommend flashing factory image and then manually rooting...

If may be because of 4.2.2 userdata..
[Nexus 4 Q&A, Help & Troubleshooting] sir_fz:
Solved it. Don't use the SuperSU binaries provided in this thread. Instead get the latest one from http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip and flash it through CWM or TWRP (I used the latest TWRP image).
[Nexus 4 Q&A, Help & Troubleshooting] DrDruge:
Thank you! It worked perfectly.

Maybe this should be updated in the first post.

I'm not an expert and i would have never thought about that.
[Nexus 4 Q&A, Help & Troubleshooting] nitin.chobhe:
Need help...!

Guys, I've followed following guide:

http://www.androidrootz.com/2012/12/install-clockworkmod-recovery-on-nexus.html

And now my phone is just showing Google and then Nexus logo (X) for long time. Did I do something wrong? Please help :mad:
[Nexus 4 Q&A, Help & Troubleshooting] shengovind:
Turn off phone... Then use three button combo to get into boot loader.. Then use volume down buttons and get into recovery mode.. There wipe cache and dalvik cache and try rebooting..
[Nexus 4 Q&A, Help & Troubleshooting] nitin.chobhe:
I did this but still struck there only... Not going past the nexus logo :(
[Nexus 4 Q&A, Help & Troubleshooting] shengovind:
I think you have an old version of cwm .. that might be the cause.. Not sure.. You can try to flash newer version..

http://www.clockworkmod.com/rommanager

Download latest version for nexus 4 from here. Make sure it's nexus 4..

Then put it in fast boot folder and in adb navigate to that folder and use fastboot to flash it and try rebooting..

Wipe cache and dalvik.. Before reboot..

Then flash root later(after reboot)
[Nexus 4 Q&A, Help & Troubleshooting] nitin.chobhe:
I took the latest version from the same site. It is 6.0.3.6 :(
[Nexus 4 Q&A, Help & Troubleshooting] _Kyros_:
Hi everyone. I'm having issues with the Drivers part of this guide. I don't see my device in Device Manager unless I plug my phone in, am I supposed to update Drivers or uninstall Drivers and reinstall them when my phone is plugged in? Also when USB Debugging is checked and I plug my phone in, my computer attempts to install another Driver that keeps failing to install and asking for a Disk. I have ADB already working correctly because I used it before to flash kernels for my HTC EVO 4G LTE. Thanks in advance.

UPDATE: I figured everything out and I'm currently running stock 4.3 ROOTED with an Unlocked BOOTLOADER, TWRP Custom Recovery and 4G... I'm a happy camper :)
[Nexus 4 Q&A, Help & Troubleshooting] im4eversmart:
Ive been doing this for a long time but this time i unlocked my device then flashed twrp latest version and i got stuck in a bootloop
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Did you flash twrp immediately after unlocking, without rebooting into android in between? If you did this, try going into twrp and wiping the cache.
[Nexus 4 Q&A, Help & Troubleshooting] im4eversmart:
Yes exactly , i forgot to reboot into android first, its fixed now.Thanks mate.
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
No problem. You actually took the somewhat better route. None of your data got wiped, right?
[Nexus 4 Q&A, Help & Troubleshooting] im4eversmart:
Yeah none of my data were wiped.
[Nexus 4 Q&A, Help & Troubleshooting] Muniosi:
I tried this method, and my phone booted up just fine, but I'm 99% sure I'm not rooted. Titanium Backup says it couldn't acquire root privileges, and I can't browse to certain folders. Help?
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Are you on 4.3, and what version of supersu did you flash?

Sent using xda-developers app
[Nexus 4 Q&A, Help & Troubleshooting] Muniosi:
Yes I'm on 4.3, and I flashed SuperSU v1.65.

EDIT: I don't know what I did, but my phone is rooted now. I did try to pull some files off my phone using adb, but I don't think I did anything that would make it rooted... Anyway, thanks for the help!
[Nexus 4 Q&A, Help & Troubleshooting] monal94:
thanks a lot...
[Nexus 4 Q&A, Help & Troubleshooting] Zenec:
This solved it for me too. Thanks. :good:
[Nexus 4 Q&A, Help & Troubleshooting] Night5talker:
how do i create backup of stock rom?

or is there an official ROM somewhere before i set some custom ones to try them out
[Nexus 4 Q&A, Help & Troubleshooting] nitin.chobhe:
Create a nandroid backup and you are good to go :cowboy:

Is your phone rooted? You can use CWM/ TWRP to create the backups.
[Nexus 4 Q&A, Help & Troubleshooting] Night5talker:
i have rooted my phone successfully yesterday (followed some youtube video with adb method)

will check nandroid backup - can free version backup ROM or just app+data?

if i do backup from bootloader will that backup my current ROM or apps only? it say clockworkModRecovery

do you know is there any way to set folder on nexus4 when you flashing rom or defaults to skip erasing some folder like music or backup... now i see why i miss SD card
[Nexus 4 Q&A, Help & Troubleshooting] nitin.chobhe:
CWM (free) can create a nandroid backup. This backup is exact replica of your phone. So if something goes wrong, you can restore this nandroid backup and get the phone's state as it was (when you took the backup). It has everything apps + data...

When you create a nandroid backup, it is stored in a hidden folder which will be kept as it is on the phone. But it is recommended that you keep that on your PC also.

I don't think that you can make nexus skip erasing some folders. You can simply copy them on you PC and once the ROM is installed then again paste them to phone.
[Nexus 4 Q&A, Help & Troubleshooting] Night5talker:
i used recovery mod to do backup can you tell me where is that stored now i wanna move it to PC as backup and i found clockwork folder on nexus but its only 285 bytes large; i see it in CWR if i wanna restore it

i found 2 places

/data/media/clockworkmod

and

/mnt/shell/emulated/clockworkmod/backup
[Nexus 4 Q&A, Help & Troubleshooting] shengovind:
Mnt shell emulated is usually the one.. Copy it or pull it to computer..

To restore, put the folder back where it was and restore from recovery..

Adb pull / adb push might be required.. I use twrp..
[Nexus 4 Q&A, Help & Troubleshooting] hatluck:
Stuck on Nexus Logo

So I followed the steps to root my phone but now I keep getting stuck on the Nexus logo.

I was able to get the newest version of the CWM recovery installed and have wiped to factory, cleared the cache, and cleared the Davik.

After doing the above it still continues to just sit at the nexus logo.

For some reason I'm not showing that a nandroid back up was successful (idiot move for not verifying it before doing this) so I tried to follow the steps to ADB push a rom (I'm using stock rom) but when I do adb push it says that there is no device yet I can still flash CWM recovery after it says no device.

Any suggestions or additional info to get this working again?
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Put the phone into cwm recovery first, then run "adb devices". Does the phones serial number show up?
[Nexus 4 Q&A, Help & Troubleshooting] hatluck:
Yes I am showing my phone listed when I run adb devices.

Now as I saw it show up in my devices I tried to run adb push again to move the file, it said it work. As I went to then install the zip at the bottom I get

E:Can't mount /sdcard

Am I screwed yet?
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Not yet. Try flashing TWRP instead, and see if flashing the rom works with it.
[Nexus 4 Q&A, Help & Troubleshooting] hatluck:
Was able to flash TWRP but when I booted to it first thing that happened was it asked for a password.

Man, I've been messing with my phones since 2008 and yet this is the first problem I've ever had. Le sigh!

---------- Post added at 12:48 AM ---------- Previous post was at 12:16 AM ----------

I managed to get in with TWRP but anytime I try to clear the Dalvik I get E: Failed to wipe Dalvik

When I try to install the rom I also get the same error.
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Don't worry too much. It'll get sorted out eventually.

Try clicking cancel, then factory reset.

If it's still not working flash the 4.2 factory images http://xdaforums.com/showthread.php?t=2010312 , then flash twrp again, push a rom, and flash it.
[Nexus 4 Q&A, Help & Troubleshooting] hatluck:
Unfortunately it's not letting me wipe the Dalvik anymore when it attempts to install the zip. I also cannot wipe it using the factory reset option in TWRP.
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
Follow what I said in the second part of my post above.
[Nexus 4 Q&A, Help & Troubleshooting] hatluck:
:( Unfortunately when I attempted to install the 4.2 rom I receive the message Error Flashing zip.

For some reason anytime the phone reboots and I go back to recovery the zip file is no longer appearing in the sdcard location.

TWRP is also showing that my internal storage is 0 MB.
[Nexus 4 Q&A, Help & Troubleshooting] Chromium:
You don't flash the zip via recovery. You need to flash the img files using fastboot. Read these instructions http://xdaforums.com/showthread.php?t=2010312
[Nexus 4 Q&A, Help & Troubleshooting] hatluck:
Guess who has their phone working now? THIS GUY

Thank you so much man, my brain was in another place so when it said the img files my brain went right to the zip for some reason.

I was able to get it rooted and everything works now.
[Nexus 4 Q&A, Help & Troubleshooting] Jubakuba:
There never is a reason to wipe system.

Any ROM.zip has a script to wipe system before installing.

With the STOCK recovery...

The entire /data/ partition is wiped.

With ANY custom recovery.../data/ is wiped but /data/media/ is retained.

Not sure what the issue pulling clockworkmod would be...

I don't actually own this phone...

But try adb pull /data/media/0/clockworkmod /clockworkmod/ to see if that gets it.
[Nexus 4 Q&A, Help & Troubleshooting] Bara2:
Don't know if it is important but it might help some other people - so I thought I'd share it.

I tried to unlook my bootloader, install cwm and SU without doing a factory reset. I ended up with my phone not getting past the flashing Nexus logo during boot.

I went back to cwm recovery (power + volume up + volume down - had to try a few times, it works differently than I was used from my sgs) and wiped Cache. That solved it, I was able to boot up successfully and kept all my data. :good:
[Nexus 4 Q&A, Help & Troubleshooting] incantevole:
i (think) i followed all the directions to unlock etc. however, when i hold vol down+power and get screen with the android with his chest open it says:

secure boot - enabled

lock state - unlocked

i can still enter clockwork recovery from this screen and install custom roms so it it is no big deal. however, i dont get the option to boot directly into recovery from the shutdown screen like i would in other versions. is this how it is supposed to work?
[Nexus 4 Q&A, Help & Troubleshooting] CoCoGirl886:
I'm going to need to ship my device back, whenever they fix my order. I'm not sure how long that would take so I'm thinking of rooting it now. Would locking the device be reverting it back to original status, thus making the return process seamless? Or will I have to reset the counter? Or would google be able to detect that it has been unlocked and rooted before?
[Nexus 4 Q&A, Help & Troubleshooting] Jubakuba:
Nope. Just flash stock and lock...

Although I doubt Google cares, it's always good process to do so.

And there is no counter.
[Nexus 4 Q&A, Help & Troubleshooting] CoCoGirl886:
Thanks for the prompt reply! Hmm, I'm stuck at the "adb reboot bootloader" step. I typed that in the command window and it says

*daemon not running. starting it now on port 5037*

*daemon started successfully*

Then my phone reboots, but there's no green android... just a normal startup process. If I try to go onto the next stop, it stays on <waiting for device> :(

EDIT: Ooh never mind! I tried turning off the phone and it automatically rebooted with the green android :)
[Nexus 4 Q&A, Help & Troubleshooting] Hatzy:
Interesting. Did not know /data/media/ is retained with custom recoveries. You learn something new every day. Awesome, thanks for the response and the info. I'll dink around with ADB a little more. All I know is mount, remount, and pull weren't working; at least the command you have listed. I'll see if I can figure it out. /data/media/0/ doesn't have anything of use for me to backup to PC so no point in trying to pull that. All the CWM backup data is in the other directory. At least with v.6.
[Nexus 4 Q&A, Help & Troubleshooting] 121C4:
Thanks for this. Phone arrived yesterday, rooted same day. I really thought I would last longer but I felt restricted without root. :D
[Nexus 4 Q&A, Help & Troubleshooting] intekmdma:
Thanks for the guide.

Just rooted the phone.

I do have a question though. If I wanted my "recovery" to go back to default rather than try and load CWM, do I just flash the original image? If so, where do I get the original image?
[Nexus 4 Q&A, Help & Troubleshooting] mrhaddan:
It should go back to default on its own. After you unlock boot loader, you go back into adb and fast boot bootloader, then use the command to use flash cwm. After you are done, it asks you to confirm that it is going back to default fastboot.
[Nexus 4 Q&A, Help & Troubleshooting] pompeyboyz:
I am not at home to try this right now but have tried rooting before and failing. Will this guide help me with my device which was obtained on contract through O2 in the UK? I think the rooting failed previously due to needing the bootloader to be unlocked.
[Nexus 4 Q&A, Help & Troubleshooting] mgs333:
When I restore after flashing a new rom, do I let Google download/install the apps first THEN restore app+data (or missing apps+data or whatever) from TiBu?

I ask because Google does not really restore a lot of the settings, in fact I'm not sure if it has ever restored any of my setting in an app.

Should I not let Google download and sync the apps during the restore process?
[Nexus 4 Q&A, Help & Troubleshooting] torsin:
You need only TB, restores app+data (if selected), followed by updates/sync (when needed) with google.
[Nexus 4 Q&A, Help & Troubleshooting] ledrocnoc:
Trouble with Nexus 4 fastboot drivers (Windows 7)

Just got a Nexus 4 (it's actually my son's and he asked me to root it for him). I am not a complete noob as I have previously rooted a few Nexus' (Nexus One, S) and even an HTC Status, but I haven't been able to connect to the phone here...

EDIT: Ok, forget it, needed to connect phone directly to computer not through a USB hub... :p
[Nexus 4 Q&A, Help & Troubleshooting] bmoke:
The link for SuperSU in post #1 points to version 0.98. Any reason why we couldn't download the current version 0.99 from the Playstore?
[Nexus 4 Q&A, Help & Troubleshooting] Jubakuba:
You can flash the one in the OP and update through market.

Or find and updated download on the same site.

The versions are just updating without my noticing...I'll get the link updated.