[Nexus 7 (2013) Android Development] Nburnes:
USE GOOGLE's FACTORY IMAGE IF YOU WANT FULL STOCK (NO ROOT)

https://developers.google.com/android/nexus/images#razorjss15j

Well, after my stock/insecure kernel thread and posting the partition log, plenty of people have asked me for certain parts that would help the device restore....so here they are. And I hope this post complies with the warning at the top of this forum :#

These are from my device, a mostly stock JSS15J build. Only root is there.

Anyway, to restore with these .IMGS in fastboot

User phuduong reported these working to me.

FASTBOOT MUST BE SET-UP AND YOU MUST HAVE SOME UNDERSTANDING OF IT. I CANNOT REALLY OFFER SUPPORT AS I AM JUST A NEW AS YOU IN "DEV" TERMS.

1.) Download them and unzip them somewhere where you know their location

2.) Open CMD prompt/Terminal and move location with "cd /directory/directory/directory/JSS15J builds" CD means move through the file hierarchy where you want. Or drag and drop the file itself into CMD prompt/Terminal and it will usually direct to it. That was obviously only an example as mine is "cd ~/home/nburnes/Downloads/JSS15J-fastboot-images"

2.5) YOU MUST FLASH ALL FILES - http://xdaforums.com/showpost.php?p=44021630&postcount=4

3.)

fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot -w
fastboot reboot-bootloader

4.) In bootloader VOL up or VOL down until you hit Recovery Mode, select with Power Button

5.) Recovery will show you an Android with a red triangle, press POWER and VOL UP at the same time once.

6.) Scroll down and select Wipe data/Factory reset then reboot system now after it is finished

7.) Hopefully you should see your screen turn on and the glowing Nexus logo, first boot will take a little while and eventually you will be at the Welcome screen.

OPTIONAL UNROOT

8.) Open SuperSU and go to Settings tab. Select "Full Unroot." Reboot.

Here is the partition log from

adb shell

$ su

# cat /cache/recovery/last_log

Partition Logs:
/boot | /dev/block/mmcblk0p14 | Size: 16MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p14
Display_Name: Boot
Storage_Name: boot
Backup_Path: /boot
Backup_Name: boot
Backup_Display_Name: Boot
Storage_Path: /boot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/recovery | /dev/block/mmcblk0p25 | Size: 10MB
Flags: Can_Be_Backed_Up IsPresent
Primary_Block_Device: /dev/block/mmcblk0p25
Display_Name: Recovery
Storage_Name: recovery
Backup_Path: /recovery
Backup_Name: recovery
Backup_Display_Name: Recovery
Storage_Path: /recovery
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/misc | /dev/block/mmcblk0p24 | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p24
Display_Name: misc
Storage_Name: misc
Backup_Path: /misc
Backup_Name: misc
Backup_Display_Name: misc
Storage_Path: /misc
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/system | /dev/block/mmcblk0p22 | Size: 827MB Used: 591MB Free: 235MB Backup Size: 591MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p22
Display_Name: System
Storage_Name: System
Backup_Path: /system
Backup_Name: system
Backup_Display_Name: System
Storage_Path: /system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p30 | Size: 26732MB Used: 2234MB Free: 24366MB Backup Size: 709MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Can_Be_Encrypted Has_Data_Media Can_Encrypt_Backup Use_Userdata_Encryption Is_Storage Is_Settings_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p30
Display_Name: Data
Storage_Name: Internal Storage
Backup_Path: /data
Backup_Name: data
Backup_Display_Name: Data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/cache | /dev/block/mmcblk0p23 | Size: 551MB Used: 9MB Free: 541MB Backup Size: 9MB
Flags: Can_Be_Mounted Can_Be_Wiped Can_Be_Backed_Up Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p23
Display_Name: Cache
Storage_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Backup_Display_Name: Cache
Storage_Path: /cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/sbl1 | /dev/block/mmcblk0p9 | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p9
Display_Name: sbl1
Storage_Name: sbl1
Backup_Path: /sbl1
Backup_Name: sbl1
Backup_Display_Name: sbl1
Storage_Path: /sbl1
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/sbl2 | /dev/block/mmcblk0p10 | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p10
Display_Name: sbl2
Storage_Name: sbl2
Backup_Path: /sbl2
Backup_Name: sbl2
Backup_Display_Name: sbl2
Storage_Path: /sbl2
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/sbl3 | /dev/block/mmcblk0p11 | Size: 2MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p11
Display_Name: sbl3
Storage_Name: sbl3
Backup_Path: /sbl3
Backup_Name: sbl3
Backup_Display_Name: sbl3
Storage_Path: /sbl3
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/tz | /dev/block/mmcblk0p15 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p15
Display_Name: tz
Storage_Name: tz
Backup_Path: /tz
Backup_Name: tz
Backup_Display_Name: tz
Storage_Path: /tz
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/rpm | /dev/block/mmcblk0p13 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: rpm
Storage_Name: rpm
Backup_Path: /rpm
Backup_Name: rpm
Backup_Display_Name: rpm
Storage_Path: /rpm
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/aboot | /dev/block/mmcblk0p12 | Size: 5MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: aboot
Storage_Name: aboot
Backup_Path: /aboot
Backup_Name: aboot
Backup_Display_Name: aboot
Storage_Path: /aboot
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/sbl2b | /dev/block/mmcblk0p17 | Size: 1MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p17
Display_Name: sbl2b
Storage_Name: sbl2b
Backup_Path: /sbl2b
Backup_Name: sbl2b
Backup_Display_Name: sbl2b
Storage_Path: /sbl2b
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/sbl3b | /dev/block/mmcblk0p18 | Size: 2MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p18
Display_Name: sbl3b
Storage_Name: sbl3b
Backup_Path: /sbl3b
Backup_Name: sbl3b
Backup_Display_Name: sbl3b
Storage_Path: /sbl3b
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/tzb | /dev/block/mmcblk0p21 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p21
Display_Name: tzb
Storage_Name: tzb
Backup_Path: /tzb
Backup_Name: tzb
Backup_Display_Name: tzb
Storage_Path: /tzb
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/rpmb | /dev/block/mmcblk0p20 | Size: 0MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p20
Display_Name: rpmb
Storage_Name: rpmb
Backup_Path: /rpmb
Backup_Name: rpmb
Backup_Display_Name: rpmb
Storage_Path: /rpmb
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/abootb | /dev/block/mmcblk0p19 | Size: 5MB
Flags: IsPresent
Primary_Block_Device: /dev/block/mmcblk0p19
Display_Name: abootb
Storage_Name: abootb
Backup_Path: /abootb
Backup_Name: abootb
Backup_Display_Name: abootb
Storage_Path: /abootb
Current_File_System: emmc
Fstab_File_System: emmc
Backup_Method: dd

/usb-otg | | Size: 0MB Used: 0MB Free: 0MB Backup Size: 0MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable Is_Storage
Primary_Block_Device: /dev/block/sda1
Alternate_Block_Device: /dev/block/sda
Display_Name: USB-OTG
Storage_Name: USB-OTG
Backup_Path: /usb-otg
Backup_Name: usb-otg
Backup_Display_Name: USB-OTG
Storage_Path: /usb-otg
Current_File_System: vfat
Fstab_File_System: vfat
Backup_Method: files

This ZIP contains only system, recovery, and boot.

Mega download -JSS15J-fastboot-images.zip

Google Drive download - https://docs.google.com/file/d/0BxS5PetHg8JpUjN5MHZZZy1WcUk/edit?usp=sharing

Android File Host - http://www.androidfilehost.com/?fid=23060877489998395

MD5 sum: f32e57792f5b292436bbdf2a5d759922