Help! N7 restore help needed please

dougltc

Well-known member
Feb 25, 2011
455
1
0
Visit site
Yesterday my N7 'crashed' on me...

Device Info: N7 32gb non-3G, Android 4.2.1, Rooted via Toolkit, Stock, CWM v6.0.1.0 (non-touch), Bootloader 4.1.3 Unlocked (of course)

Recent changes: I had initially installed a 2nd account for my son to play games on without messing up my progress shortly after 4.1.2 launched... I immediately noticed that the N7 seemed more sluggish but put up with it so he would have his own account. Well he hasn't used my N7 for weeks and I hoped that maybe if I uninstalled that 2nd account that the sluggishness would go away... So a few days ago I went into settings and removed it... Not sure if it made a big difference. I only mention this because I am not sure if it had anything to do with what happened yesterday...

The Crash: Yesterday when I came home with my N7 I heard some notifications letting me know that it had logged into my home wifi and had connected with Gmail... About an hour later I went to use the tablet and when I hit the power button I briefly saw the wallpaper and unlock pattern. Almost immediately the wallpaper disappeared and was replaced by blackness. I could still see the unlock pattern and then the screen 'shifted' - got smaller, bigger and then bam... the tablet reset. This whole thing took just a few seconds.

After that it seemed to be stuck at the nexus logo/animation... I assume it was stuck in a boot loop. I let it go for a good 30 minutes and nothing changed... still had the animation. At that point I did the following:

  • So I rebooted into the bootloader and rebooted from there... same result.
  • So I rebooted into the bootloader and then recovery and rebooted from there... same result.
  • I gave up in frustration and powered it off from the bootloader and went to bed.

Today I went back into recovery and did a Nandroid backup. It gave me no options, it just did a full backup. Based on the amount of free space that was reported it seemed as if my SD card partition was intact. Up to that point I didn't know if the glitch maybe wiped everything out...

After that I formatted the /cache, /system and /data (not sure of the order). Then I tried rebooting and now it won't go past the Google screen with the unlock icon.

So I went back into recovery to see if I had a zip that I could flash. The only one there on my SD card that I can find is the CWM/Superuser one from the toolkit. That file is named CWM-SuperSU-v0.94-signed.zip and is in the root directory. I checked and the Nandroid backup seems to be where it should be...

So I figured that I need to flash the factory image but cannot seem to mount the N7 via USB. When I plug it in my Windows 7 machine, Win 7 lets me know that it has installed the "Nexus ADB" driver that my N4 installed and seems to be connected. But there is NO /USB in the Mount menu in Recovery and Windows 7 doesn't see the N7 from the My Computer/Windows Explorer.

My Questions:

  • Do I need to 'push' a stock image via ADB?
  • What ADB command do I type to see if the N7 is in-fact accessible from my Windows 7 machine?
  • I am assuming that when I formatted the three partitions mentioned above I wiped the boot ability of the N7. Is that why it won't go past the Google screen now?
  • Did I do anything wrong in what I've done so far?

Thanks in advance!
 
Last edited:

anon(847090)

Well-known member
Jul 8, 2012
6,655
31
0
Visit site
if you want to use ADb you have to enable USB debugging. or it wont work.
flash factory image using fastboot. you will need to download the latest flashboot.

if you have android sdk then you already have fastboot. try opening sdk and update fastboot.

follow step 2 from here. http://forums.androidcentral.com/ge...er-factory-restore-root-any-nexus-device.html

to flash recovery and root follow step 3 and 4

i will write a quick guide for you with commands to execute and the files that should be in fastboot folder

Edit: Note if you do a factory restore all data will be wiped.
 

anon(847090)

Well-known member
Jul 8, 2012
6,655
31
0
Visit site
Any tips on how to get that Nandroid Backup off of the SD to my Win7 machine? When I do the factory restore I lose the SD contents, right?

Thanks!

depends!!! here is the fastboot command for factory restore

fastboot -w update image-nakasi-jop40d.zip

if you remove that -w from the command it wont wipe the sd card. w stands for wipe

also do not use this command

fastboot erase userdata

again i am totally not sure if it will wipe the sd card or not.

have you tried updating the drivers and see if the sd card show up??
 

dougltc

Well-known member
Feb 25, 2011
455
1
0
Visit site
Ok, I had an idea...

I remember that you can use ADB to 'push' and 'pull' files...

So I ran 'ADB Devices' and it sees my tablet:

015d262e551cxxxx recovery
(xxxx is there for privacy reasons)

So I tried this command:

adb pull /sdcard/clockworkmod/backup/2013-01-08.16.56.59 backup

And bam... it copied some files a new sub directory called 'backup':

Volume in drive C has no label.
Volume Serial Number is 7AB6-6931

Directory of C:\Users\Doug\Downloads\root-nexus4\backup

01/08/2013 12:01 PM <DIR> .
01/08/2013 12:01 PM <DIR> ..
01/08/2013 11:59 AM 8,388,608 boot.img
01/08/2013 11:59 AM 511 cache.ext4.dup
01/08/2013 11:59 AM 3,722,852 data.ext4.dup
01/08/2013 12:01 PM 0 files.txt
01/08/2013 11:59 AM 237 nandroid.md5
01/08/2013 11:59 AM 12,582,912 recovery.img
01/08/2013 11:59 AM 147,774 system.ext4.dup
7 File(s) 24,842,894 bytes
2 Dir(s) 139,098,013,696 bytes free

Is that my Nandroid backup?

I think it is... Do you see anything missing?
 

anon(847090)

Well-known member
Jul 8, 2012
6,655
31
0
Visit site
Ok, I had an idea...

I remember that you can use ADB to 'push' and 'pull' files...

So I ran 'ADB Devices' and it sees my tablet:

015d262e551cxxxx recovery
(xxxx is there for privacy reasons)

So I tried this command:

adb pull /sdcard/clockworkmod/backup/2013-01-08.16.56.59 backup

And bam... it copied some files a new sub directory called 'backup':

Volume in drive C has no label.
Volume Serial Number is 7AB6-6931

Directory of C:\Users\Doug\Downloads\root-nexus4\backup

01/08/2013 12:01 PM <DIR> .
01/08/2013 12:01 PM <DIR> ..
01/08/2013 11:59 AM 8,388,608 boot.img
01/08/2013 11:59 AM 511 cache.ext4.dup
01/08/2013 11:59 AM 3,722,852 data.ext4.dup
01/08/2013 12:01 PM 0 files.txt
01/08/2013 11:59 AM 237 nandroid.md5
01/08/2013 11:59 AM 12,582,912 recovery.img
01/08/2013 11:59 AM 147,774 system.ext4.dup
7 File(s) 24,842,894 bytes
2 Dir(s) 139,098,013,696 bytes free

Is that my Nandroid backup?

I think it is... Do you see anything missing?

seems like you are on track. if you need help flashing factory image let me know.