My C (female) --> micro adapters came in. Plugged it in to Shamu, now to test.
House of Google 0.0.9.9 [BETA]
#122
Posted 01 March 2019 - 11:17 AM
Alright. I'll have an update here in a little bit. I got the progress bar working for OTA updates so you can see the progress as it flashes. Seriously kuel stuff. That also means I got your real time status back in the UI as it's flashing. I multithreaded this bitch cause I've had enough screwing around trying to make it all work. I want to clean some stuff up then you'll get a new release.
- johnlgalt likes this
Non potest esse nisi unus
#123
Posted 01 March 2019 - 11:23 AM
Hey do you need a reboot command added to the end of the factory image flash? I can't remember if it needs one or not.
- johnlgalt likes this
Non potest esse nisi unus
#124
Posted 01 March 2019 - 11:31 AM
Yeah, it was one of the little things I was gonna pass on to you later on.
#125
Posted 01 March 2019 - 11:31 AM
Although, a better way would be to provide the user with the option to reboot after or not (or live boot a custom recovery) - I assume those are also little things that can be worked out later though.
#126
Posted 01 March 2019 - 11:42 AM
Unhandled exception when trying to DL the image:
HoG #2.PNG 25KB 3 downloads
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.IOException: The process cannot access the file 'D:\HouseOfGoogle\IMAGES\shamu\shamu-ngi77b-factory-5cd75e2a.zip' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at HoG.Form1.checkHash() at HoG.Form1.downloadButton_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.3745.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- HouseOfGoogle Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/HouseOfGoogle/HouseOfGoogle.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.3745.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.3745.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.3745.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.3745.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.3745.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.3745.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- HtmlAgilityPack Assembly Version: 1.9.0.0 Win32 Version: 1.9.0 CodeBase: file:///D:/HouseOfGoogle/HtmlAgilityPack.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Clicking continue allowed it to continue the DL process (actually, it was never actually paused - it threw up the exception and still continued on). And this is when I opened CMD in the D:\HouseOfGoogle folder and ran HoG from the CL, not from my Xplorer2 window.
#127
Posted 01 March 2019 - 11:50 AM
And Now it is just sitting there after Download complete, and my Shamu is 'b0rked' lol. (I say 'b0rked' because it had the dead Andy recovery icon on the screen for a while, but apparently the last reboot allowed it to boot back to the installed OS).
D:\HouseOfGoogle\IMAGES\shamu\shamu-ngi77b-factory-5cd75e2a.zip exists...checking validity. SHA256 FAILED! Expected: 5CD75E2A3BBBE5D7CF886F6DBA4DBFC16A04076E6ACE11B4DEEB1DC4E43B7465| Received: 96164FF8E9159485395DA594E214F9E72F5A87CE64691C7FA4712146BAAD9DF3 D:\HouseOfGoogle\IMAGES\shamu\shamu-ngi77b-factory-5cd75e2a.zip Download complete...
So, I manually verified the hash with both HashTab and Hash Check - uh, the check matches in both of my apps. So, uh, something ain't right with the check routine. I checked several other hash types, as well as hashing the original hash string, but could not get the string your app got.
#128
Posted 01 March 2019 - 11:50 AM
Yea for now I'm going to reboot. This is just trying to get 100% stock flashing done. Once I get everything where I need it to be, you and I will work on the magic extras that you need from this util. But for now I'm focusing on just getting the basics done. New version incoming momentarily.
Woops...new version up I forgot to hit post LOL
- johnlgalt likes this
Non potest esse nisi unus
#129
Posted 01 March 2019 - 11:52 AM
Your error is self explanatory. The file was open somewhere else and it tried to overwrite it. The new version won't even allow you to download it if it already exists. I suggest a reboot, grab the new version of the tool, and try again. DO NOT open it from your file explorer. We already know that doesn't work and I'm not working to fix that bug any time soon as there's no clean way to do it. Your file explorer masks the location of the exe which is complete BS IMO but something we'll look at some other time. Right now it's low priority.
Non potest esse nisi unus
#130
Posted 01 March 2019 - 11:54 AM
P.S. Continuing after an exception....not a good idea.
Non potest esse nisi unus
#131
Posted 01 March 2019 - 11:54 AM
PPS - the file couldn't have been open anywhere because it was just downloaded.
Something wasn't right.
I didn't go looking at the file until I saw the dead Andy, then saw the log where the Hashes didn't match.
#132
Posted 01 March 2019 - 12:00 PM
OK, I just tried it as follows:
Opened Xplorer2 and navigated to D:\HouseOfGoogle
Opened .CMD in this folder, closed X2
ran HouseOfGoogle.exe from CL, closed CMD
Still getting the error.
So, I decided to run it from normal Windows Explorer:
And I got the same exception error - the only thing at that HoG folder is Windows Explorer, X2 and CMD are both closed.
#133
Posted 01 March 2019 - 12:01 PM
Sounds like the download never finished. Here's a hint...the filename contains the first few characters of the SHA256 hash. So if you check the hash and the start doesn't match what's in the filename, it's fracked. There's literally no error handling in this thing yet (hence alpha status) so if something like that goes wrong, it probably didn't finish writing the file and had a filehandle locked. I added exception handling around the checkHash method for now. These things are going to leave the app in a VERY messed up state though. If you get an error like that, kill it and rerun it.
- johnlgalt likes this
Non potest esse nisi unus
#134
Posted 01 March 2019 - 12:01 PM
Only thing I can figure is that Defender is getting in the way?
Windows 10 Insider Preview build (Skip Ahead) ver 18841, if that makes any difference.
#135
Posted 01 March 2019 - 12:02 PM
I didn't read where you rebooted... Remember when we discussed following EXPLICIT directions?
- johnlgalt likes this
Non potest esse nisi unus
#136
Posted 01 March 2019 - 12:02 PM
Sounds like the download never finished. Here's a hint...the filename contains the first few characters of the SHA256 hash. So if you check the hash and the start doesn't match what's in the filename, it's fracked. There's literally no error handling in this thing yet (hence alpha status) so if something like that goes wrong, it probably didn't finish writing the file and had a filehandle locked. I added exception handling around the checkHash method for now. These things are going to leave the app in a VERY messed up state though. If you get an error like that, kill it and rerun it.
Yes, and I wrote that I did that - with 2 dif apps. And the hash *MATCHED* what it was supposed to.
#137
Posted 01 March 2019 - 12:04 PM
I'm only up to here:
- Download and unzip preferably to a root directory somewhere.
- You *MUST* have fastboot in the path!! It's not coded to look for it so if it's not in the path it won't find it and will likely hang the program. Even if it's in the path, I've not tested it with fastboot so it may also hang the program.
- Run HouseOfGoogle.exe
- In the Device drop down, select your device
- Image Type, choose FACTORY
- Versions probably 9.0.0 unless you're doing it on your whale
- In the list box, select the image you're going to flash, and click download
- Select a directory to save it to. I'd make it a clean directory with nothing else in it if I were you....cough cough
- Watch the pretty progress bar as it downloads your image
- When it's done, you'll get a dialog popup that hopefully tells you the download was successful and the SHA256 matched
I haven't even gotten to the point of rebooting into the BL yet.
#138
Posted 01 March 2019 - 12:04 PM
Yes, and I wrote that I did that - with 2 dif apps. And the hash *MATCHED* what it was supposed to.
That makes no sense at all. I'm using the built in functionality for hashing and it's not once failed on me and I've run it against a bunch of issues. Like I said, reboot and try again cause it sounds like there's an open handle somewhere f***ing things up.
- johnlgalt likes this
Non potest esse nisi unus
#139
Posted 01 March 2019 - 12:04 PM
I'm only up to here:
I haven't even gotten to the point of rebooting into the BL yet.
I meant YOUR MACHINE.
- johnlgalt likes this
Non potest esse nisi unus
#140
Posted 01 March 2019 - 12:05 PM
Lol Oh. OK, gonna do that. Report back in a bit.
6 user(s) are reading this topic
0 members, 6 guests, 0 anonymous users