I'm on Windows 10 Insider Preview build 14342. If I do not manually change to the directory in a cmd windows before attempting to run HoN then it fails. If I open my own cmd.exe windows, change to the HoN directory, and then run the flashme.bat it works perfectly fine.
House of Nexus [3.0]
#282
Posted 19 May 2016 - 05:41 AM
I'm on the same build of windows 10 and did not have this problem. I just double click the flashme bat and it worked just fine. Latest platform tools afaik.
Non potest esse nisi unus
#283
Posted 19 May 2016 - 08:09 PM
wouldn't do it for me. Not sure why. Might have a setting in WinX messed up....
#284
Posted 20 May 2016 - 03:26 AM
Sent from my Nexus 6 using Tapatalk
Non potest esse nisi unus
#285
Posted 02 June 2016 - 06:41 PM
Brand new install of Windows 10 build 14352. I have the fastboot USB drivers installed. I'm trying to go back to Marshmallow using the latest for Nexus 6 (shamu-mob30i-factory-21357b09.tgz). When I run flashme.bat by double clicking the file, it fails to to flash the bootloader. I have to do as I stated a few posts above, and run my own cmd.exe window and manually change to the directory.
Could it be because I installed the SDK for all users, which then put it in %programfilesx86% instead of in my user profile? I also added the path to the platform tools to my system path statement....
- spainter likes this
#286
Posted 03 June 2016 - 05:05 AM
Nope because I have my platform tools in the system path, as well, so, that's not it. I've been able to double click the flashme bat every time without issue. I genuinely don't know what's causing that for you.
- spainter likes this
Non potest esse nisi unus
#287
Posted 03 June 2016 - 11:15 AM
That is odd then. Very, very odd. And you have the SDK installed for all users?
Then the only thing I can attribute to causing this is the file manager I use, xplorer2. Next time I decide to do this I'll try using Windows File Explorer and and see if the error occurs. If not, then it has to be that FM - but I've *never* had a problem with it before, and I've been using said app for almost a decade.
- spainter likes this
#288
Posted 04 June 2016 - 06:37 AM
Yea really not sure. I do have the sdk installed for all users, but, not in the default location. I have it installed on my D drive in my android dir. Not had any issues and I use regular windows explorer.
- spainter likes this
Non potest esse nisi unus
#289
Posted 05 June 2016 - 09:35 AM
I suppose I could fire up HoN and start the batch file using the full system file and see if it actually flashes the bootloader from Windows explorer. If so, then I know it is xplorer2 causing the issue. If not, then possibly %programfilesx86%.
#290
Posted 05 June 2016 - 10:38 AM
The generated script should add HoN stuff to the front of the path, so, it's unlikely to be the programfiles stuff.
Non potest esse nisi unus
#291
Posted 05 June 2016 - 12:20 PM
it does:
@echo off ::Generated script from the House of Nexus 1.9.3. ::Generated script from the Factory Image: shamu-npd35k-factory-a33bf20c.tgz. PATH=F:\HouseOfNexus\TOOLS;%PATH% echo WARNING: Choosing yes to this option will flash the bootloader. :ask_bootloader set choice= set /p choice=Flash bootloader? [y/n]: if "%choice%"=="y" goto flash_bootloader if "%choice%"=="Y" goto flash_bootloader if "%choice%"=="n" goto end_bootloader if "%choice%"=="N" goto end_bootloader goto ask_bootloader :flash_bootloader fastboot flash bootloader bootloader-shamu-moto-apq8084-71.21.img fastboot reboot-bootloader ping -n 5 127.0.0.1 >nul goto end_bootloader :end_bootloader
- OldBaldy likes this
#292
Posted 05 June 2016 - 12:38 PM
Hence nothing in the path should be impacting it.
Non potest esse nisi unus
#293
Posted 06 June 2016 - 10:29 AM
Yup. I really don't want to have to Nandroid and flash the stock system, but I may do just that if it makes it easier to test and see if it is the FM I am using. And if it is then I have to make a bug report to the developer / ask questions to understand why it breaks like that.
#294
Posted 06 June 2016 - 10:48 AM
I hope you figure it out. Doesn't sound like a lot of fun.
Non potest esse nisi unus
#295
Posted 24 June 2016 - 12:29 PM
One of these days I'll get the opportunity to test it. Maybe this weekend.
- SamuriHL and spainter like this
#296
Posted 06 July 2016 - 01:21 PM
Sam, I am still having a problem with the Nexus 7 2013 LTE flashing not recognizing the custom recovery to flash SuperSU. I have been careful not to be trigger happy but it doesn't seem to see the custom recovery during the creation of the flashme.bat
@echo off
::Generated script from the House of Nexus 1.9.3.
::Generated script from the Factory Image: razorg-mob30p-factory-2c47d822.tgz.
PATH=I:\HouseOfNexus\TOOLS;%PATH%
echo WARNING: Choosing yes to this option will flash the bootloader.
:ask_bootloader
set choice=
set /p choice=Flash bootloader? [y/n]:
if "%choice%"=="y" goto flash_bootloader
if "%choice%"=="Y" goto flash_bootloader
if "%choice%"=="n" goto end_bootloader
if "%choice%"=="N" goto end_bootloader
goto ask_bootloader
:flash_bootloader
fastboot flash bootloader bootloader-deb-flo-04.07.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
goto end_bootloader
:end_bootloader
fastboot flash radio radio-deb-deb-z00_2.44.0_0213.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
echo WARNING: Choosing yes to this option will WIPE YOUR DATA.
:ask_erase
set choice=
set /p choice=Erase user data? [y/n]:
if "%choice%"=="y" goto flash_userdata
if "%choice%"=="Y" goto flash_userdata
if "%choice%"=="n" goto end_userdata
if "%choice%"=="N" goto end_userdata
goto ask_erase
:flash_userdata
fastboot flash userdata userdata.img
fastboot -w
goto end_userdata
:end_userdata
:ask_reboot
set choice=
set /p choice=Reboot? [y/n]:
if "%choice%"=="y" goto reboot
if "%choice%"=="Y" goto reboot
if "%choice%"=="n" goto end
if "%choice%"=="N" goto end
goto no_supersu
:reboot
fastboot reboot
echo Rebooting...
fastboot reboot
echo Rebooting...
goto end
#297
Posted 06 July 2016 - 01:26 PM
Here is the flashme.bat from the shamu
@echo off
::Generated script from the House of Nexus 1.9.3.
::Generated script from the Factory Image: shamu-mob30o-factory-e90fd025.tgz.
PATH=I:\HouseOfNexus\TOOLS;%PATH%
echo WARNING: Choosing yes to this option will flash the bootloader.
:ask_bootloader
set choice=
set /p choice=Flash bootloader? [y/n]:
if "%choice%"=="y" goto flash_bootloader
if "%choice%"=="Y" goto flash_bootloader
if "%choice%"=="n" goto end_bootloader
if "%choice%"=="N" goto end_bootloader
goto ask_bootloader
:flash_bootloader
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.18.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
goto end_bootloader
:end_bootloader
fastboot flash radio radio-shamu-d4.01-9625-05.34+fsg-9625-02.111.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot boot.img
fastboot flash cache cache.img
:ask_recovery
set choice=
set /p choice=Flash custom recovery? [y/n]:
if "%choice%"=="y" goto flash_custom_recovery
if "%choice%"=="Y" goto flash_custom_recovery
if "%choice%"=="n" goto flash_stock_recovery
if "%choice%"=="N" goto flash_stock_recovery
goto ask_recovery
:flash_custom_recovery
fastboot flash recovery I:\HouseOfNexus\RECOVERY\twrp-3.0.2-0-shamu.img
goto end_recovery
:flash_stock_recovery
fastboot flash recovery recovery.img
goto end_recovery
:end_recovery
fastboot flash system system.img
echo WARNING: Choosing yes to this option will WIPE YOUR DATA.
:ask_erase
set choice=
set /p choice=Erase user data? [y/n]:
if "%choice%"=="y" goto flash_userdata
if "%choice%"=="Y" goto flash_userdata
if "%choice%"=="n" goto end_userdata
if "%choice%"=="N" goto end_userdata
goto ask_erase
:flash_userdata
fastboot flash userdata userdata.img
fastboot -w
goto end_userdata
:end_userdata
::SuperSU installation
:ask_supersu
set choice=
set /p choice=Install SuperSU? [y/n]:
if "%choice%"=="y" goto flash_supersu
if "%choice%"=="Y" goto flash_supersu
if "%choice%"=="n" goto ask_reboot
if "%choice%"=="N" goto ask_reboot
goto ask_supersu
:flash_supersu
fastboot boot I:\HouseOfNexus\RECOVERY\twrp-3.0.2-0-shamu.img
ping -n 5 127.0.0.1 >nul
echo.
echo o) Select Advanced
echo o) Select ADB Sideload
echo o) Swipe to start Sideload
:ask_sideload
set choice=
set /p choice=Sideload SuperSU? [y/n]:
if "%choice%"=="y" goto sideload_su
if "%choice%"=="Y" goto sideload_su
if "%choice%"=="n" goto end
if "%choice%"=="N" goto end
goto ask_sideload
:sideload_su
adb sideload I:\HouseOfNexus\SUPERSU\UPDATE-SuperSU-v2.76-20160630161323.zip
echo.
goto end
:ask_reboot
set choice=
set /p choice=Reboot? [y/n]:
if "%choice%"=="y" goto reboot
if "%choice%"=="Y" goto reboot
if "%choice%"=="n" goto end
if "%choice%"=="N" goto end
goto ask_reboot
:reboot
fastboot reboot
echo Rebooting...
goto end
:end
echo Thanks for using the House of Nexus.
pause
By chance do you have the script looking for FLO for the 2013 nexus 7 or both DEB and FLO?
#298
Posted 06 July 2016 - 02:53 PM
It uses whatever is in the name of the factory image. It MUST match what's on the recovery image. I did this to prevent people who have multiple devices from accidentally screwing themselves over and flashing the wrong thing. I know it's annoying for a lot of people to make sure the name is correct, but, trust me, it's better than a paperweight.
Non potest esse nisi unus
#299
Posted 06 July 2016 - 02:59 PM
This is the image name I get right from the twrp download page at: https://dl.twrp.me/deb/
twrp-3.0.2-0-deb.img
#300
Posted 06 July 2016 - 03:00 PM
It works right for Shamu using this file name that is downloaded from the same site. twrp-3.0.2-0-shamu.img
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users