[Q] Problems on the Nexus 4 Root - Nexus 4 Q&A, Help & Troubleshooting

Recently, I try to root my nexus 4.
I follow different methods of root nexus 4 in the internet.
Problems occurs when I come to the step of backup my N4's data.
It said that My computer is 'unable to connect to my Nexus 4' so it cannot help me to backup.
I have install the ADB driver into the computer and I have tried to reboot my phone and computer for several times.
However, it is still fail.
What should I do?:crying:
I really hope that I can root my Nexus 4 to enjoy those amazing function.
Please, every great and intelligent memeber, help me if you can.

Richard Lucifer said:
Recently, I try to root my nexus 4.
I follow different methods of root nexus 4 in the internet.
Problems occurs when I come to the step of backup my N4's data.
It said that My computer is 'unable to connect to my Nexus 4' so it cannot help me to backup.
I have install the ADB driver into the computer and I have tried to reboot my phone and computer for several times.
However, it is still fail.
What should I do?:crying:
I really hope that I can root my Nexus 4 to enjoy those amazing function.
Please, every great and intelligent memeber, help me if you can.
Click to expand...
Click to collapse
This might help.
http://forum.xda-developers.com/showthread.php?t=2018179
Sent from my Nexus 7 2013 using Tapatalk

I never bothered attempting to back up apps and data from a non-rooted device but I'm sure there are ways
Contacts - gmail
Calendar - gmail
Photos/music/anything on SD - just transfer to pc
Call log and SMS - SMS backup +
Once rooted titanium backup will do all
To root, easy
fastboot oem unlock
Now either flash a custom recovery or boot one, for this phone I would use the latest twrp
fastboot flash recovery nameofrecovery.img
Or
fastboot boot nameofrecovery.img
I suggest to just flash it though for ease
Now flash either custom rooted ROM + gapps and anything needed
Or flash stock ROM and add superuser or supersu and busybox (easily flashable)
Sent from my Nexus 4 using XDA Premium 4 mobile app

Wugs toolkit. Get you taken care of in about 10 minutes.
Sent from my Nexus 4 using xda app-developers app

That is ok now
Richard Lucifer said:
Recently, I try to root my nexus 4.
I follow different methods of root nexus 4 in the internet.
Problems occurs when I come to the step of backup my N4's data.
It said that My computer is 'unable to connect to my Nexus 4' so it cannot help me to backup.
I have install the ADB driver into the computer and I have tried to reboot my phone and computer for several times.
However, it is still fail.
What should I do?:crying:
I really hope that I can root my Nexus 4 to enjoy those amazing function.
Please, every great and intelligent memeber, help me if you can.
Click to expand...
Click to collapse
That is ok now, I solve the problems
Thank you for the reply!:fingers-crossed:

Related

[Q] Which rooting method?

I see a couple of different tools here to unlock and root my Nexus 7. What are the differences between them?
I do not want to flash ROMs; just unlock, root and install cwm recovery.
Nate2 said:
I see a couple of different tools here to unlock and root my Nexus 7. What are the differences between them?
I do not want to flash ROMs; just unlock, root and install cwm recovery.
Click to expand...
Click to collapse
fastboot oem unlock, fastboot flash cmm recovery, flash the su binaries, reboot and profit.
Search for wugfresh nexus root toolkit. Very simple to use.
Sent from my Nexus 7 using xda premium
frozenspark said:
Search for wugfresh nexus root toolkit. Very simple to use.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Don't use tools for rooting with the Nexus devices, it's useless in my opinion. Try to understand the basics behind rooting, recovery and fastboot, do it manually and you will be able to help yourself even if something is not working as expected.
Sent from my Nexus 7 using xda app-developers app
Use this: http://forum.xda-developers.com/showthread.php?t=1809195
This is the best tool for Nexus 7.
AndDiSa said:
Don't use tools for rooting with the Nexus devices, it's useless in my opinion. Try to understand the basics behind rooting, recovery and fastboot, do it manually and you will be able to help yourself even if something is not working as expected.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Even though I know how fastboot, recovery and rooting works, I still use this tool without any of those commands. And it serve the purpose for me quickly. Of course using such tools will not stop you from learning more afterwards.
I wouldn't say its useless.
Sent from my Nexus 7 using xda premium
frozenspark said:
Even though I know how fastboot, recovery and rooting works, I still use this tool without any of those commands. And it serve the purpose for me quickly. Of course using such tools will not stop you from learning more afterwards.
I wouldn't say its useless.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
then you should br helping out all the people that mess up their devices afyer using toolkits and dont know how to fix it. i havent seen you help out, yet you are still recommending toolkits. why is that?
I used the steps outlined at http://rootzwiki.com/topic/28544-guide-nexus-7-bootloadersrecoveriesrootback-to-stock/ to guide me.
I must say it might not be trivial for the non-software-developer types.
I was a Java developer for many years, so I didn't have much problems setting up Java,
Android-sdk, etc.
My N7 was recognized by adb when booted normally, but after I flashed cwm, I could not do 'adb shell' to mount the /system partition and rename the recovery-from-boot.p file to prevent the recovery from getting reset to stock each time.
I ended up installing the ROM Manager app to enable me to boot into cwm recovery.
I have done the obligatory cwm backup. I believe this is the nandroid backup?
Edit:
I used my Linux box to re-flash the bootloader and cwm recovery images to the Nexus 7, and I could 'adb shell' and rename the recovery-from-boot.p file. So I'm all set now.
I just needed to run 'adb start-server' and 'fastboot' using sudo, so it might have been a permissions issue on my Windows box.
Sent from my unrooted DroidX using Tapatalk
I used Wug's Root Toolkit. Both of the toolkits seem good, but that was just the first one I saw. The Wug's Toolkit is an application and the other one is in a CMD.
Sent from my SGH-T989 using xda premium
Linexus said:
Use this: http://forum.xda-developers.com/showthread.php?t=1809195
This is the best tool for Nexus 7.
Click to expand...
Click to collapse
+1
Absolutely brilliant ToolKit, very simple, fast and works like a charm.
I rooted my N7 with this, and had no issues to date.
Only took a couple of minutes.
BRILLIANT!
Looks like I'm not all set, after all Today, right before I plan to take the JB 4.1.2 OTA update, I notice my tablet won't boot into CWM, like it did a couple of days ago. I did rename the one file and things looked normal. What could have happened to my CWM?
Edit:
So there are 2 files that need to be renamed, not 1?
/system/recovery-from-boot.p
/system/etc/install-recovery.sh
And there was a bug in JB 4.1.1 that prevented booting into cwm recovery unless the device was plugged into USB??
Sent from my Nexus 7 using Tapatalk
I re-flashed the same cwm recovery img, reinstalled the same su zip, and I'm back to normal
Gotta watch out for those OTA updates, I tell ya.
Use the fastboot commands
Good to see you alright!
This is like asking "Should I get an automatic or manual car?"
veeman said:
This is like asking "Should I get an automatic or manual car?"
Click to expand...
Click to collapse
In the early days, automatic transmissions were more problematic and much more expensive. Today they are pretty efficient, even though a manual transmission gives you better control over the car, which most people don't really need for everyday driving.
If you frequently get stuck in stop-and-go traffic, you'll wish you had an automatic transmission.
Look at these lazy people..
Beamed from my Grouper.
Nate2 said:
Looks like I'm not all set, after all Today, right before I plan to take the JB 4.1.2 OTA update, I notice my tablet won't boot into CWM, like it did a couple of days ago. I did rename the one file and things looked normal. What could have happened to my CWM?
Edit:
So there are 2 files that need to be renamed, not 1?
/system/recovery-from-boot.p
/system/etc/install-recovery.sh
And there was a bug in JB 4.1.1 that prevented booting into cwm recovery unless the device was plugged into USB??
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Yes there was a bootloader bug on the nexus 7 and most people could not boot into CWM recovery without plugging it into their computer.
I however used TWRP back then [have since switched back to CWM touch, now that the bug is fixed] and had no issues. Now I have no issues with CWM touch, I can boot it directly from fastboot menu, or "reboot -> recovery" when booted.
Nate2 said:
I re-flashed the same cwm recovery img, reinstalled the same su zip, and I'm back to normal
Gotta watch out for those OTA updates, I tell ya.
Click to expand...
Click to collapse
exactly what I would have done! sounds like you're getting the hang of it. and yes, I definitely recommend manual rooting/fastbooting to a toolkit.
Wilks3y said:
+1
Absolutely brilliant ToolKit, very simple, fast and works like a charm.
I rooted my N7 with this, and had no issues to date.
Only took a couple of minutes.
BRILLIANT!
Click to expand...
Click to collapse
Yes that's my favorite too. It does it all and more. It slices, it dices, it'll even cut a can!
Nate2 said:
In the early days, automatic transmissions were more problematic and much more expensive. Today they are pretty efficient, even though a manual transmission gives you better control over the car, which most people don't really need for everyday driving.
If you frequently get stuck in stop-and-go traffic, you'll wish you had an automatic transmission.
Click to expand...
Click to collapse
Yeah, that's what I'm saying. They both have their ups and downs. If you're willing to learn a little about how Android works and learn some adb and fast boot commands then you should definitely do it manually.
If you just want to be a "1337 Haxorz" and aren't willing to learn then just use a toolkit.
OK, just one sub-question on rooting. I see no real reason to root except maybe to get more tablet interface than nexus has. Kinda like when the wifi indicator is at the bottom, since there are those !$#$$ back/home buttons already and a lot of wasted space Anyways, the question.
I bougth N7 16Gb and upgraded via forced OTA to 4.1.2. Do all these root methods work with 4.1.2?
Thanx,
D.

[Q] How to Root Nexus 7

Hi guys. I want to root my nexus 7 (8gb) so I can play music through a usb drive. And I don't want to install any roms or stuff like that, I want it to be exactly how it is now, with android 4.2.1. I've been browsing the forums, but I can't really find instructions on how to do a simple root for my purposes. If anyone could direct me to the steps I need, that would be great!! Thanks!! (Btw, I'm totally new to this rooting stuff, this is my first android device )
darthmingi92 said:
Hi guys. I want to root my nexus 7 (8gb) so I can play music through a usb drive. And I don't want to install any roms or stuff like that, I want it to be exactly how it is now, with android 4.2.1. I've been browsing the forums, but I can't really find instructions on how to do a simple root for my purposes. If anyone could direct me to the steps I need, that would be great!! Thanks!! (Btw, I'm totally new to this rooting stuff, this is my first android device )
Click to expand...
Click to collapse
simple rooot.. fastboot oem unlock, fastboot flash a custom recovery, flash the super user binaries via your custom recovery, reboot and profit. you either have root or you dont, there arent different kinds of root depending on your needs. i suggest you do a bit more searching and reading, because its impossible not to find instructions if you actually searched for it. of course if not finding it on xda, you can always search the words root and nexus 7 in www.google.com
There are several ways to root your Nexus7, and I think using the toolkit is the easiest.
I'd like to recommend to download this toolkit to your PC.
http://forum.xda-developers.com/showthread.php?t=1809195
With using this toolkit, you can root your device as follows.
1. install the Nexus7 drivers to your PC
2. unlock the bootloader of your Nexus7
(when you unlock the bootloader, all data is deleted.)
3. install custom recovery to your Nexus7 (i recommend TWRP)
4. root your Nexus7
enjoy
k1silver said:
There are several ways to root your Nexus7, and I think using the toolkit is the easiest.
I'd like to recommend to download this toolkit to your PC.
http://forum.xda-developers.com/showthread.php?t=1809195
With using this toolkit, you can root your device as follows.
1. install the Nexus7 drivers to your PC
2. unlock the bootloader of your Nexus7
(when you unlock the bootloader, all data is deleted.)
3. install custom recovery to your Nexus7 (i recommend TWRP)
4. root your Nexus7
enjoy
Click to expand...
Click to collapse
Yep, that's what I did!! I guess I was just too worried, but it went smoothly. Thanks!!
Sent from my Nexus 7 using xda app-developers app
darthmingi92 said:
Yep, that's what I did!! I guess I was just too worried, but it went smoothly. Thanks!!
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Is there a later version of the rootkit? The last image it has is 4.2.1. 4.2.2 is out and I'd imagine on most Nexus-es.

Nexus 4 No OS Installed TWRP

Guys I need your help.
I have Nexus 4 16GB pre owned. Bought it with Cyanogenmod 10.2 installed already and rooted. Then CM11 nightlies came and I installed it OTA but it seems that it has a lot of bugs so I rolled back to CM10. When I rolled back and rebooted, it does not come up (Google and Cyanogenmod logo only). I rebooted it to bootload mode, then recovery (TWRP) and accidentally wiped out everything including ROM/OS. I don't have that much knowledge in restoring my phone. I tried connecting it to PC (WinXP) and it does not recognize the device. Tried everything posted in different forums on how to connect my device to PC but to no avail. Cannot do USB debugging thing 'cause I can only utilize device's recovery mode (TWRP). I'm thinking now on having this device repaired by cellphone repair shop just to install OS.Anyone can help? Other forums look like too technical for me. Noob here, really.
Hi I've just had a quick look, try this
http://forum.xda-developers.com/showthread.php?t=2010312
It mentions about installing drivers and says the USB Debugging ones are not required.
Sent from my GT-N7100 using XDA Premium 4 mobile app
MyCanSeeYou said:
Hi I've just had a quick look, try this
http://forum.xda-developers.com/showthread.php?t=2010312
It mentions about installing drivers and says the USB Debugging ones are not required.
Sent from my GT-N7100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks! Still cannot connect my Nexus 4 to either Mac and Windows even after downloading/installing these drivers. PC/Mac still does not recognize my device. Changed USB cables etc and still cannot get through.
spitfiremaxtm said:
Thanks! Still cannot connect my Nexus 4 to either Mac and Windows even after downloading/installing these drivers. PC/Mac still does not recognize my device. Changed USB cables etc and still cannot get through.
Click to expand...
Click to collapse
your bootloader is unlocked? (apologizes for my english, i'm from brasil but i'm trying to help, the same happen to me)
Sent from my Nexus 4 using xda app-developers app
spitfiremaxtm said:
Guys I need your help.
I have Nexus 4 16GB pre owned. Bought it with Cyanogenmod 10.2 installed already and rooted. Then CM11 nightlies came and I installed it OTA but it seems that it has a lot of bugs so I rolled back to CM10. When I rolled back and rebooted, it does not come up (Google and Cyanogenmod logo only). I rebooted it to bootload mode, then recovery (TWRP) and accidentally wiped out everything including ROM/OS. I don't have that much knowledge in restoring my phone. I tried connecting it to PC (WinXP) and it does not recognize the device. Tried everything posted in different forums on how to connect my device to PC but to no avail. Cannot do USB debugging thing 'cause I can only utilize device's recovery mode (TWRP). I'm thinking now on having this device repaired by cellphone repair shop just to install OS.Anyone can help? Other forums look like too technical for me. Noob here, really.
Click to expand...
Click to collapse
Reported your post and recommended it get moved to the Nexus 4 Q/A section. This should allow you to get more accurate answers to your questions.
sconetto said:
your bootloader is unlocked? (apologizes for my english, i'm from brasil but i'm trying to help, the same happen to me)
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yes, it's unlocked. Stuck at TWRP recovery mode and can't connect to either Mac or Windows.
spitfiremaxtm said:
Yes, it's unlocked. Stuck at TWRP recovery mode and can't connect to either Mac or Windows.
Click to expand...
Click to collapse
try to put your n4 in bootloader mode, i think its volume down and power button, and connect your n4 to a windows pc with the nexus root toolkit openned, in nrt there is a section, i think is recovery section, select the soft bricked/bootloop, follow the instructions, this proceed solved my problem this option will wipe all your data and files, so you lost all the things you have in your n4. (again, sorry my english, just trying to help) hope i helped
Sent from my Nexus 4 using xda app-developers app
sconetto said:
try to put your n4 in bootloader mode, i think its volume down and power button, and connect your n4 to a windows pc with the nexus root toolkit openned, in nrt there is a section, i think is recovery section, select the soft bricked/bootloop, follow the instructions, this proceed solved my problem this option will wipe all your data and files, so you lost all the things you have in your n4. (again, sorry my english, just trying to help) hope i helped
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you! Will try this and let you know if it worked. Thanks again.
Helped me too
spitfiremaxtm said:
Thank you! Will try this and let you know if it worked. Thanks again.
Click to expand...
Click to collapse
ok i hope works
Sent from my Nexus 4 using xda app-developers app
Boot up holding vol down so you are at the android part.
Then attached your phone to your PC and use adb push to push a custom rom or download your source image from google.
Grab the google factory image here https://dl.google.com/dl/android/aosp/occam-krt16s-factory-2006f418.tgz
Then do adb shell
mkdir /sdcard/Download
exit
adb push /donwload folder/name of the zip /sdcard/Download
Then go to recovery twrp and install the zip
Should get you up and running
---------- Post added at 12:34 AM ---------- Previous post was at 12:34 AM ----------
Boot up holding vol down so you are at the android part.
Then attached your phone to your PC and use adb push to push a custom rom or download your source image from google.
Grab the google factory image here https://dl.google.com/dl/android/aosp/occam-krt16s-factory-2006f418.tgz
Then do adb shell
mkdir /sdcard/Download
exit
adb push /donwload folder/name of the zip /sdcard/Download
Then go to recovery twrp and install the zip
Should get you up and running

[q] help please!!!!!

when i was unlocking my nexus 4, the reboot process was taking far too long and a friend told me to restart so i held down the power button to restart it. After i did that, it would either bootloop on the colors or just stay on 'Google' screen! I have access TWRP but i can't fastflash anything! and when i look around TWRP, it says i have no OS installed! TWRP allowes the option to ADB but im not sure if it's properly installed. Please help!!!!
I'd re flash factory images with a tool kit
Zehlek said:
I'd re flash factory images with a tool kit
Click to expand...
Click to collapse
i have wugfresh's Nexus Root Toolkit installed on my computer and tried to use those options but it won't do anything cause i dont have fastflash
datninjakyle said:
i have wugfresh's Nexus Root Toolkit installed on my computer and tried to use those options but it won't do anything cause i dont have fastflash
Click to expand...
Click to collapse
Google 15 second adb install xda. That'll setup fastboot on your pc. Then flash the factory image in fastboot
Sent from my Nexus 9 using XDA Free mobile app
Yup do that
Sent from my Nexus 4 using XDA Free mobile app

Need Help to install a ROM on Nexus 4!

I am not very familiar with the root process overall, but I did root my phone like 2 years ago. So, I decided to start using my old nexus 4 today. I tried to restore my nexus 4 this morning from twrp, and now I am not able to connect it with my computer to install another rom. I am only able to access twrp on the phone. I have been trying to use nexus root toolkit on the computer but I keep getting adb / fastboot device not found. Am I missing any process here? Is there any way to solve this?
crvl22 said:
I am not very familiar with the root process overall, but I did root my phone like 2 years ago. So, I decided to start using my old nexus 4 today. I tried to restore my nexus 4 this morning from twrp, and now I am not able to connect it with my computer to install another rom. I am only able to access twrp on the phone. I have been trying to use nexus root toolkit on the computer but I keep getting adb / fastboot device not found. Am I missing any process here? Is there any way to solve this?
Click to expand...
Click to collapse
What happens when you are in TWRP and then you connect to PC?
Nitin

Categories

Resources