[+]RESTOCK - stock restore, repartition, repair and reset, including USB driver fix

k23m

Senior Member
Jan 3, 2016
875
469
93
Hi all,
Thank you for the incredible tool! The restock.bat worked great for me but unfortunately the addons.bat gives me an "incorrect device" error. I have a Nexus 7 2013 deb tablet and was careful to use the right versions of the files. Could you please suggest a reason for the issue?
Many thanks in advance!
Hello, it works on my 'deb'...

Code:
Nexus 7'13 RESTOCK Addons v1.0 @2020 k23m
SUPPORT - http://bit.ly/2C35sLZ
This script assumes that USB drivers are already installed.
If not, then run RESTOCK first or install them manually.

Enter device name (flo=WiFi; deb=LTE) - [flo/deb]: deb

1. boot the Nexus in fastboot mode: when OFF press POWER + VOLUME DOWN
2. when in the bootloader menu, connect it to your PC
3. wait a few seconds, then...
Press any key to continue . . .

1. boot the Nexus in fastboot mode: when OFF press POWER + VOLUME DOWN
2. when in the bootloader menu, connect it to your PC
3. wait a few seconds, then...
Press any key to continue . . .
Verify...
Lock status...
Flash TWRP? [y/n]:
Your Windows may have an excessive 'path' variable. Please edit addons.bat and replace...

Code:
title %APP% & color F0 & setlocal enableDelayedExpansion
cd /d "%~dp0data"
with

Code:
title %APP% & color F0 & setlocal enableDelayedExpansion
Path=%SystemRoot%\system32;%SystemRoot%;%~dp0data
cd /d "%~dp0data"

If it still does not work, run getlog.bat and include "getlog.log" in your post.

(y)
 

deyanov

New member
Dec 28, 2020
2
0
11
Hello, it works on my 'deb'...

Code:
Nexus 7'13 RESTOCK Addons v1.0 @2020 k23m
SUPPORT - http://bit.ly/2C35sLZ
This script assumes that USB drivers are already installed.
If not, then run RESTOCK first or install them manually.

Enter device name (flo=WiFi; deb=LTE) - [flo/deb]: deb

1. boot the Nexus in fastboot mode: when OFF press POWER + VOLUME DOWN
2. when in the bootloader menu, connect it to your PC
3. wait a few seconds, then...
Press any key to continue . . .

1. boot the Nexus in fastboot mode: when OFF press POWER + VOLUME DOWN
2. when in the bootloader menu, connect it to your PC
3. wait a few seconds, then...
Press any key to continue . . .
Verify...
Lock status...
Flash TWRP? [y/n]:
Your Windows may have an excessive 'path' variable. Please edit addons.bat and replace...

Code:
title %APP% & color F0 & setlocal enableDelayedExpansion
cd /d "%~dp0data"
with

Code:
title %APP% & color F0 & setlocal enableDelayedExpansion
Path=%SystemRoot%\system32;%SystemRoot%;%~dp0data
cd /d "%~dp0data"

If it still does not work, run getlog.bat and include "getlog.log" in your post.

(y)
Thank you very much! My issues must have been due to the excessive path variable as your suggestion solved them and I managed to install the addons.

This is an amazing job you have done!
 

ayenzel

Senior Member
Oct 11, 2012
299
43
58
Labuan
HELP

no matter what i do i only get these message

Partitions had been changed.
Restore original partitions? [y/n]: y

Wait...

sending 'bootloader' (3911 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.016s
rebooting into bootloader...

EDIT: TURNS OUT THE CABLE IS THE CULPRIT. I CHANGED ANOTHER CABLE IT WORKS NOW!:ROFLMAO::ROFLMAO:
 
Last edited: