Jump to content


Photo

House of Nexus [3.0]


  • Please log in to reply
488 replies to this topic

#341 kellym

kellym

    Droid Oracle

  • Dedicated Supporter
  • PipPipPipPipPip
  • 2,794 posts
  • Google+:kellym
  • LocationNY
  • Current Device(s):Pixel XL

Posted 13 September 2016 - 02:02 PM

Nevermind. I get it.

Sent from my Nexus 5 using Tapatalk


  • spainter likes this

#342 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 13 September 2016 - 04:10 PM

@Sam - Question:  Does 1.9.4 allow the user to use either type of file, .TGZ or .ZIP? 

 

I'm about to wipe my phone and instead of having to deal with headaches, since I still have all 5 of the DP full system files, I'm considering just wiping, installing DP3 via HoN, and sideloading the next 2 OTAs (or maybe just sideloading DP5 directly). 

 

I generally don't try to remove functionality....only enhance/add.  ;)


  • johnlgalt and spainter like this

Non potest esse nisi unus


#343 johnlgalt

johnlgalt

    Antidisestablishmentarianist

  • Superuser
  • 7,296 posts
  • Twitter:https://twitter.com/JohnLGalt
  • Location3rd Rock
  • Current Device(s):Pixel 4 XL 128 GB

Posted 19 September 2016 - 05:42 AM

Thanks.  Just wanted to make sure.



#344 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 21 October 2016 - 11:10 AM

Alright, so, I'm tired of having to rewrite the HoN every time Google decides to make my life a living hell.  :D  The Pixel devices are a prime example.  And while I have a version of the HoN that'd likely work in the traditional way, I've decided I've had enough of the nonsense and I'm going to do a massive rewrite. This will change how the HoN works going forward.  I personally feel this is going to be a much safer way of flashing as I won't have to ever "guess" on partitions.  The rewrite will take me a bit of time and I may not get it done today, but, the next version is going to be version 2 and will use the new methodology for flashing.


  • johnlgalt, Sabres032 and spainter like this

Non potest esse nisi unus


#345 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 21 October 2016 - 12:16 PM

2.0 released

 

WARNING: MAJOR REWRITE MUST READ ALL!

 

  • Rewritten to flash the image zip file contained within the factory image
  • At the moment this has NO custom boot/recovery or root functionality and may not for quite a while
  • This will not allow you to wipe data currently.  I will add this in the next version...probably
  • It WILL reboot at the end of flashing and I have zero control over that

Why the redesign?  Well, the Pixel added a bunch of partition images that were not handled previously.  I spent time rewriting the code to allow those images, but, that would have required an enormous effort in testing and any time a new device comes out with new partitions the code has to be rewritten.  The current method should be thought of like this....it's similar in nature to sideloading an OTA zip in recovery, only this is done in fastboot on unlocked bootloader devices.  The end result is the same....the factory image is installed on your device.  The current design will work on any factory image for any nexus/pixel device.  And should continue to do so.  This rewrite was a stabilization effort to make sure that the code doesn't have to be rewritten every time Google decides to change something.  Functionality may be added at a later date.  That includes flashing custom recovery, supersu, etc.  But don't hold your breath right now as I'm trying to simplify the code base at the moment.


  • johnlgalt, Sabres032 and spainter like this

Non potest esse nisi unus


#346 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 21 October 2016 - 12:50 PM

P.S. Pixel fans, there may be a surprise hidden in the new code for you.


  • johnlgalt and spainter like this

Non potest esse nisi unus


#347 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 23 October 2016 - 10:13 AM

2.1 RELEASED

 

  • Added wipe data option
  • Added new recovery.xxx script (.bat for windows, .sh for linux) to memory boot custom recovery
  • Added new supersu.xxx script (.bat for windows, .sh for linux) to sideload supersu

 

To root your device after flashing, boot to custom recovery using the recovery.xxx script, then run the supersu.xxx script to sideload SuperSU.

 

This is still beta so feedback is needed.


  • johnlgalt, Sabres032 and spainter like this

Non potest esse nisi unus


#348 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 23 October 2016 - 07:16 PM

2.3 RELEASED

 

  • Internal coding cleanup....don't ask
  • Fixed it so the recovery and supersu scripts will be created when an OTA zip is selected for sideload scripting
  • Woops, forgot linux OTA s*** in 2.2....bahahaha

 

That should take care of everyone now.  I hope.


  • johnlgalt and spainter like this

Non potest esse nisi unus


#349 kellym

kellym

    Droid Oracle

  • Dedicated Supporter
  • PipPipPipPipPip
  • 2,794 posts
  • Google+:kellym
  • LocationNY
  • Current Device(s):Pixel XL

Posted 24 October 2016 - 08:16 AM

My attempt failed, error message:  remote partition table doesn't exist.

 

@echo off

 

::Generated script from the House of Nexus 2.3.

::Generated script from the Factory Image: hammerhead-m4b30x-factory-10cfaa5c.zip.

 

set PATH=C:\Users\________\Downloads\HouseOfNexus-2.3\HouseOfNexus\TOOLS;%PATH%

 

set FASTBOOT_CMD=fastboot flash

 

%FASTBOOT_CMD% bootloader bootloader-hammerhead-hhz20h.img

fastboot reboot-bootloader

ping -n 5 127.0.0.1 >nul

 

%FASTBOOT_CMD% radio radio-hammerhead-m8974a-2.0.50.2.30.img

fastboot reboot-bootloader

ping -n 5 127.0.0.1 >nul

 

:ask_wipe

      set choice=

      set /p choice=Wipe data? [y/n]:

      if "%choice%"=="y" goto wipe_data

      if "%choice%"=="Y" goto wipe_data

      if "%choice%"=="n" goto no_wipe_data

      if "%choice%"=="N" goto no_wipe_data

goto ask_wipe

 

:wipe_data

      %FASTBOOT_CMD% -w update image-hammerhead-m4b30x.zip

:end_wipe_data

      goto end

 

:no_wipe_data

      %FASTBOOT_CMD% update image-hammerhead-m4b30x.zip

:end_no_wipe_data

      goto end

 

:end

   echo Thanks for using the House of Nexus.

   pause



#350 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 24 October 2016 - 08:38 AM

Show me the contents of the window where you run the bat file cause that makes no sense at all.


Non potest esse nisi unus


#351 kellym

kellym

    Droid Oracle

  • Dedicated Supporter
  • PipPipPipPipPip
  • 2,794 posts
  • Google+:kellym
  • LocationNY
  • Current Device(s):Pixel XL

Posted 24 October 2016 - 08:43 AM

Show me the contents of the window where you run the bat file cause that makes no sense at all.

I'm sending you a PM.



#352 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 24 October 2016 - 08:44 AM

Ok.  I'll see what I can do.  I'll run a test on my NX6 and see if I f***ed something up on the latest code.


  • spainter likes this

Non potest esse nisi unus


#353 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 24 October 2016 - 08:47 AM

It's a bug.  I'll fix it.  Give me a minute.  FML


  • johnlgalt and spainter like this

Non potest esse nisi unus


#354 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 24 October 2016 - 08:52 AM

2.4 RELEASED

 

  • Fixed moronic bug in the fastboot update command.  SIGH  Thanks, Kelly!

  • johnlgalt and spainter like this

Non potest esse nisi unus


#355 kellym

kellym

    Droid Oracle

  • Dedicated Supporter
  • PipPipPipPipPip
  • 2,794 posts
  • Google+:kellym
  • LocationNY
  • Current Device(s):Pixel XL

Posted 24 October 2016 - 09:24 AM

 

2.4 RELEASED

 

  • Fixed moronic bug in the fastboot update command.  SIGH  Thanks, Kelly!

 

I think it's safe to call it good, apps are optimizing :)   


  • johnlgalt, SamuriHL and spainter like this

#356 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 24 October 2016 - 09:28 AM

Yea, stupid bug.  I may change how the scripts are written for another version.


  • johnlgalt, kellym and spainter like this

Non potest esse nisi unus


#357 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 24 October 2016 - 10:09 AM

2.5 RELEASED

 

  • Fixed some bugs for the Pixel devices.  That functionality is still completely untested but at least the bugs are gone.

  • johnlgalt, kellym and spainter like this

Non potest esse nisi unus


#358 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 25 October 2016 - 05:02 PM

2.6 RELEASED

 

  • Fixed a bug causing the Pixel OTA zips to not flash properly

  • johnlgalt and spainter like this

Non potest esse nisi unus


#359 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 25 October 2016 - 05:33 PM

For the love of Christ I found yet another bug and this one impacts all devices that want to boot in memory open recovery.  FFS


  • johnlgalt, kellym and spainter like this

Non potest esse nisi unus


#360 SamuriHL

SamuriHL

    Android Warrior

  • Smod
  • 44,243 posts
  • Current Device(s):S21 Ultra, Pixel 6

Posted 26 October 2016 - 05:06 AM

2.7 RELEASED

 

  • Fixed a bug in the recovery script that caused it to not work

  • johnlgalt likes this

Non potest esse nisi unus





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users