Reinstall 4.2.2 fresh on mac - Nexus 4 Q&A, Help & Troubleshooting

How do I do a fresh install of 4.2.2 on a Mac or on the device itself?
I have the factory image on my Mac from google. What's next?

I believe you install the android SDK and connect your phone to it using USB. Run a command. I'm assuming you are stock.
Sent from my Nexus 4 using xda app-developers app

http://forum.xda-developers.com/showthread.php?t=2010312

Any 'easy' way to install a clean 4.2.2 via Mac? Using SDK or anything? I have done it on PC but my PC is down and cant seem to find the right way of doing it on Mac. Any help would be great, have searched but nothing is working for me so far.

Related

Superwipe script wiped everything. HELP

Ok. I used a super wipe script. Now my device has nothing but the boot loader and twrp is still installed. I was on the new ota 4.2.2. I also have 4.18 boot loader. I have no os and all of my backups are gone so I can't restore anything. How can I install this from a computer and push it to my device? I really need help. I'm not brand new. But I've never been in this situation. Thanks to anyone who can help make my device operable again.
Sent from my EVO using xda app-developers app
If TWRP is installed and you can boot in TWRP, try to mount the usb and copy the backup to the device. I'm not sure, but you could use adb push in the recovery, too
Otherwise just boot into bootloader, flash the stock rom, boot, root, copy the backup on the sdcard, flash TWRP, restore it
Sent from my SK17i running Android 4.1.2
mihahn said:
If TWRP is installed and you can boot in TWRP, try to mount the usb and copy the backup to the device. I'm not sure, but you could use adb push in the recovery, too
Otherwise just boot into bootloader, flash the stock rom, boot, root, copy the backup on the sdcard, flash TWRP, restore it
Sent from my SK17i running Android 4.1.2
Click to expand...
Click to collapse
The problem is I don't have the backup saved to a computer. It was only on the device. Now it's gone. And I don't understand what you mean by booting into bootloader and flashing the stock Rom. I'm so lost. Please continue to try to help me through this. Thank you
Sent from my EVO using xda app-developers app
Follow this guide. It will get you back to stock.
treIII said:
The problem is I don't have the backup saved to a computer. It was only on the device. Now it's gone. And I don't understand what you mean by booting into bootloader and flashing the stock Rom. I'm so lost. Please continue to try to help me through this. Thank you
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I thought you had a backup on your PC, if not you will loose all your data
Do it like the guy above said, or just download the stock image (for your device) from here, extract everything and just run the flash-all.bat (if you are on windows). This will flash the stock rom so you should be able to boot your device again
mihahn said:
I thought you had a backup on your PC, if not you will loose all your data
Do it like the guy above said, or just download the stock image (for your device) from here, extract everything and just run the flash-all.bat (if you are on windows). This will flash the stock rom so you should be able to boot your device again
Click to expand...
Click to collapse
It seems like for me downloading the stock image and running the flash all bat would be the best solution for my level of experience. I just don't know what you mean by running the flash all bat. Do I need sdk or something to do that? I need the most simple solution possible with my level of experience. But thanks a million.
Sent from my EVO using xda app-developers app
treIII said:
It seems like for me downloading the stock image and running the flash all bat would be the best solution for my level of experience. I just don't know what you mean by running the flash all bat. Do I need sdk or something to do that? I need the most simple solution possible with my level of experience. But thanks a million.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
mihahn said:
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
Click to expand...
Click to collapse
Thanks. I'll be doing this later. I'll let you know what happens. Will it put more on the 4.2.1 or 4.2.2? I really screwed up and didn't understand the op.
Sent from my EVO using xda app-developers app
mihahn said:
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
Click to expand...
Click to collapse
Ok. Can you post a link for the package for my device? Its a WiFi nexus 7. I can't find the toolkit. I'm so lost. I'm laughing at myself. You have to admit. It's funny when someone does something this stupid.
Sent from my EVO using xda app-developers app
treIII said:
Ok. Can you post a link for the package for my device? Its a WiFi nexus 7. I can't find the toolkit. I'm so lost. I'm laughing at myself. You have to admit. It's funny when someone does something this stupid.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
See the link I posted earlier, there you can find the 4.2.2 image for the nexus 7 wifi only (grouper/nakasi)
I'm on phone right now so I can't post the link, just search for nexus 7 toolkit on Google, or see the general/development section. It should be pinned there
Sent from my SK17i running Android 4.1.2
mihahn said:
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
Click to expand...
Click to collapse
Where should I put this package? And will flash all.bat do everything for me?
Leonhan said:
Where should I put this package? And will flash all.bat do everything for me?
Click to expand...
Click to collapse
Just download it and extract it. Then you go in the extracted folder and you can see some files and the flash-all.bat. This will do everything for you. No need to place the package anywhere, just do it like I said and it should work. Try it
Sent from my SK17i running Android 4.1.2
I'd like to say thank you for everyone he contributed for helping me do this. I followed the directions using the Nexus 7 toolkit and everything went well. I installed jelly bean 4.2 .1 and now I will use voodoo OT a route keeper in order to accept the update to 4.2 .2
Sent from my EVO using xda app-developers app
treIII said:
I'd like to say thank you for everyone he contributed for helping me do this. I followed the directions using the Nexus 7 toolkit and everything went well. I installed jelly bean 4.2 .1 and now I will use voodoo OT a route keeper in order to accept the update to 4.2 .2
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Great to hear it works again. Btw there's a button for that
Sent from my SK17i running Android 4.1.2
mihahn said:
Great to hear it works again. Btw there's a button for that
Sent from my SK17i running Android 4.1.2
Click to expand...
Click to collapse
I'm aware.
Sent from my EVO using xda app-developers app

Phone is not recognized by PC

I'm running stock deodexed ROM and stock kernel 4.2.2. My phone is not recognized by my laptop and my desktop while my girlfriend's phone (completely stock, not rooted) is recognized. Anyone has experience with this issue, please help
Are you missing any driversss...?
Sent from my Nexus 4 using xda app-developers app
What do you want to accomplish? Do you want to transfer file through mtp mode, or do you want to root it using fastboot? Depending on your goal, you need different drivers.

Return to stock without PC?

I have a hardware problem on my rooted N7 and my PC won't recognize it. I have tried multiple PC's and multiple cables and it worked fine in the past so I have the correct drivers installed. I called Google (purchased from Playstore) and they said they can only troubleshoot and repair it if it is stock and unrooted.
Any way to return to stock without a PC?
Need a few more specifics. Are you running a custom ROM or are you just rooted on a stock ROM? Have you tried to use a toolkit to restore? I have seen some be able to connect with ADB but not in the OS. Also, check your device manager when you connect it. You may have ADB drivers instead of the actual drivers that you need. Try unintelligible all drivers related to your device.
Sent from my Nexus 7 using xda premium
Always make a backup .
Sent from my Nexus 7 using xda app-developers app

[Q] broken N4

phone got wiped, os and all. can only get into team win recovery (no android with !). in recovery file manager there is NOTHING on the phone. can not get phone to be recognized by computer. used sdk to install drivers still nothing. can not activate usb debugging as there is no os. reboot in recovery gives warning no os on phone. there is nothing to restore, all folders in install tab are completely empty. is there anyway to save my phone? there is nothing on it...just enough for safe mode and recovery.
You need to get the computer to recognize your device. When booted into recovery and the device connected to your pc go to device manager and see what the issue is.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You need to get the computer to recognize your device. When booted into recovery and the device connected to your pc go to device manager and see what the issue is.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
got drivers installed sees the device as "android bootloader interface...a link to what to do from this point would work or step by step instruction on how to get os on phone would be great.
Paltirian said:
got drivers installed sees the device as "android bootloader interface...a link to what to do from this point would work or step by step instruction on how to get os on phone would be great.
Click to expand...
Click to collapse
You've got two options
1. Flash the factory image.with fastboot. You'll then have to re-install twrp amrd root
2. Push a rom onto your device using adb in recovery. Then flash that in twrp
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You've got two options
1. Flash the factory image.with fastboot. You'll then have to re-install twrp amrd root
2. Push a rom onto your device using adb in recovery. Then flash that in twrp
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
ok...it is recognized in fast boot but not in recovery. as far as i knew i only need the usb drivers that come from sdk as it is a google device. is there another driver set i need from recovery. where could i find super simple instructions of how to flash image? and if i didnt care about re rooting could i just use fast boot to flash iamge and run with that?
Paltirian said:
ok...it is recognized in fast boot but not in recovery. as far as i knew i only need the usb drivers that come from sdk as it is a google device. is there another driver set i need from recovery. where could i find super simple instructions of how to flash image? and if i didnt care about re rooting could i just use fast boot to flash iamge and run with that?
Click to expand...
Click to collapse
Simplest way is to download the factory image. Google nexus factory image. It's a .tgz file. Extract it using 7-zip. There's a flash-all.bat file in there. Boot into the bootloader and with your device connected to the pc just double click the flash-all.bat. It will wipe your device so if you can, backup first.
Sent from my Nexus 5 using XDA Free mobile app
You are my freaking hero. I'd give you a hug if i could. Will root tomorrow or so... Have you tried lollipop and would you recommend it over KitKat? Again ty so much
Paltirian said:
You are my freaking hero. I'd give you a hug if i could. Will root tomorrow or so... Have you tried lollipop and would you recommend it over KitKat? Again ty so much
Click to expand...
Click to collapse
No problem, glad you got it working. I like lollipop. It looks different but once you get over the difference you like it. I'm running 5.0.1
Sent from my Nexus 9 using XDA Free mobile app

Flashed wrong stock recovery

Bonehead move I know. Now I need some help to fix. I flashed a stock 5.0 ROM and everything was working fine. Got the 5.0.1 prompt so I flashed a stock recovery (4.4.4 hence my problem). Of course the update wouldn't flash. Now to complicate things all of a sudden my PC won't detect my Nexus 4. It detects my wife's Nexus 4 fine so I'm thinking not a cable or driver problem. Ive tried multiple cables and reinstalled drivers with no luck. So now I need to root and or install custom recovery without a PC. Any ideas?
icekold1694 said:
Bonehead move I know. Now I need some help to fix. I flashed a stock 5.0 ROM and everything was working fine. Got the 5.0.1 prompt so I flashed a stock recovery (4.4.4 hence my problem). Of course the update wouldn't flash. Now to complicate things all of a sudden my PC won't detect my Nexus 4. It detects my wife's Nexus 4 fine so I'm thinking not a cable or driver problem. Ive tried multiple cables and reinstalled drivers with no luck. So now I need to root and or install custom recovery without a PC. Any ideas?
Click to expand...
Click to collapse
You're going to need to get your pc to recognize your device. When booted into the bootloader and your device connected to the pc look in device manager. What does it show?
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
You're going to need to get your pc to recognize your device. When booted into the bootloader and your device connected to the pc look in device manager. What does it show?
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
It doesn't show anything. Its as if it isn't connected at all. I've tried from the bootloader and recovery screens and also rebooted both phone and pc. Still shows nothing in device manager. Phone shows charging but no mtp notification or anything that it is connected. As soon as I plug our other nexus 4 in the pc recognizes it immediately.
icekold1694 said:
It doesn't show anything. Its as if it isn't connected at all. I've tried from the bootloader and recovery screens and also rebooted both phone and pc. Still shows nothing in device manager. Phone shows charging but no mtp notification or anything that it is connected. As soon as I plug our other nexus 4 in the pc recognizes it immediately.
Click to expand...
Click to collapse
Is your device still rooted? If so you can flash the stock recovery image file from 5.0 in flashify
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Is your device still rooted? If so you can flash the stock recovery image file from 5.0 in flashify
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
No I lost root when I flashed the 5.0 stock rom.
icekold1694 said:
No I lost root when I flashed the 5.0 stock rom.
Click to expand...
Click to collapse
I would try deleting your usb drivers on the pc, rebooting and then trying your device again. Flashing the 4.4.4 recovery should not have done anything to mess up your device
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
I would try deleting your usb drivers on the pc, rebooting and then trying your device again. Flashing the 4.4.4 recovery should not have done anything to mess up your device
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
OK I will try that again and post results. Another possible problem I noticed is in root explorer I have a directory of emulated/0 I don't remember having before.
icekold1694 said:
OK I will try that again and post results. Another possible problem I noticed is in root explorer I have a directory of emulated/0 I don't remember having before.
Click to expand...
Click to collapse
I'm sure that directory was always there. It's a normal directory
Sent from my Nexus 9 using XDA Free mobile app
I uninstalled/reinstalled drivers and still no go. Detects the wifes nexus 4 but not mine. Guess I'm screwed.
icekold1694 said:
I uninstalled/reinstalled drivers and still no go. Detects the wifes nexus 4 but not mine. Guess I'm screwed.
Click to expand...
Click to collapse
To root your device use towelroot from your device. Although I don't know what you're going to do with root. Also, can you get the device detected by your pc when you're booted into recovery or the device?
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
To root your device use towelroot from your device. Although I don't know what you're going to do with root. Also, can you get the device detected by your pc when you're booted into recovery or the device?
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Towelroot wouldn't work. Says device isn't supported. Maybe it will get updated to work on lollipop. If I could obtain root I can flash custom recovery and start with a fresh install. Just have to find a way to do it with an app

Categories

Resources