e56296d8b0
Consolidated device selection code
...
* Common code moved to select_device()
* Existing select_device() renamed menu_select_device()
* Fixed skip_device code
* Refactored source/dest vars into dicts
* Added confirmation after source/dest are selected
2018-07-16 18:01:06 -06:00
b2fc7ea860
Renamed script ddrescue-tui, added launcher script
...
Launcher script runs the python script in tmux (same as hw-diags)
2018-07-16 17:58:29 -06:00
0c3b90eb63
Add clone destination sections
...
* Hide source device in dest selection menu
2018-07-15 00:04:24 -06:00
cfbd0ec8f2
Add device selection menu
2018-07-14 23:45:08 -06:00
667223b3c2
Check passed source
...
* If it's an image, setup loopback dev
* If it's a child block dev, prompt with option to use parent block
* Show selected source details
2018-07-14 22:52:18 -06:00
8b1e19fa4b
Initial wk-ddrescue menu
2018-07-14 21:19:08 -06:00
d57b08ec6f
Update hw_diags so it can be used by wk-ddrescue
2018-07-14 21:17:32 -06:00
2Shirt
bbfcc2e3fe
Hotfix: Handle size=None in human_readable_size()
2018-05-30 17:26:49 -06:00
2Shirt
7559a673ef
Added VirtIO drivers
2018-05-23 19:20:57 -06:00
2Shirt
2dabfd4020
Hide more root items
2018-05-22 20:55:11 -06:00
2Shirt
341f424eae
Use a different label for combined kits
...
* WK_LINUX doesn't reflect what the UFDs actually contain
2018-05-22 20:47:18 -06:00
2Shirt
c7ae1b1dc7
Moved SafeMode scripts into the Misc folder
2018-05-22 20:05:49 -06:00
2Shirt
da61ea3856
Updated SW diag/checklist summaries to match
...
* Also added AV check to SW diag
2018-05-22 19:33:21 -06:00
2Shirt
0b1d7bb4f3
Adjusted system_diagnostics.py messages
2018-05-22 12:49:00 -06:00
2Shirt
5b0e7b9dfe
cbin copied correctly again in Copy WizardKit.cmd
2018-05-22 12:26:43 -06:00
2Shirt
0063de6846
Bump TeamViewer version
2018-05-22 12:24:33 -06:00
2Shirt
24df753a40
Add support for LVM and RAID to mount-all-volumes
...
* Renamed get_mounted_data to get_mounted_volumes
* Report data is now a dict for better clarity
* Widened report hoping that LVM names will fit (they probably wont)
* This fixes #38
2018-05-21 20:25:12 -06:00
2Shirt
e6b7cc602b
Report missing hw-info data
...
* Show UNKNOWN for missing DMI variables
* Suppress errors for systems w/out sound cards
* Suppress errors for glxinfo
* Keep revision numbers for network devices
2018-05-21 20:18:13 -06:00
2Shirt
25d34e5ace
Copy WinPE.log to new Windows installations
2018-05-21 15:57:24 -06:00
2Shirt
70e4797b7a
Refactored windows_image code
...
* Better names (e.g. 'Letter' instead of 'Source')
* Added 'Local' bool to simplify network-vs-local installs
* Only reassign the source letter if necessary
* Bugfix: Update 'Path' when reassigning a volume letter
* Fixes #33 (again)
2018-05-21 15:43:05 -06:00
2Shirt
3285a640c7
Merge branch 'dev' of github.com:2Shirt/WizardKit into dev
2018-05-18 21:04:49 -06:00
2Shirt
fb16b0e748
Deprecated inxi
...
* Displays too much info
* Fixes issue #37
2018-05-18 21:03:36 -06:00
2Shirt
352bf042b0
Fixed typo
2018-05-17 21:47:56 -06:00
2Shirt
7e8f9df877
Set Intel RST 16.0 as current release
2018-05-17 21:40:44 -06:00
2Shirt
1d3be750b4
Bump tool versions
2018-05-17 21:39:33 -06:00
2Shirt
0a8db0a3d9
Merge branch 'optional-tickets' into dev
...
* Fixes #36
2018-05-17 21:02:17 -06:00
2Shirt
50a200535e
Fix log dir permissions
2018-05-17 20:59:57 -06:00
2Shirt
e305b3e60f
Add warning for missing archive in extract_item()
2018-05-17 20:56:55 -06:00
2Shirt
27953bde5a
Update backup/restore code
...
* Added support for local backups
* Added volume label detection for local backups
* Replace spaces in backup_prefix with underscores
2018-05-17 20:54:45 -06:00
2Shirt
b997a52385
Updated hw-diags section
...
* Use date_time instead of ticket_number if disabled
2018-05-17 18:17:36 -06:00
2Shirt
5902a51f9e
Save build-ufd logs in ${SUDO_USER}'s $HOME/Logs
2018-05-17 18:15:39 -06:00
2Shirt
02054a8047
Updated system checklist and diagnostic scripts
2018-05-17 18:07:18 -06:00
2Shirt
db09236b26
Updated user_data_transfer sections
2018-05-17 18:06:26 -06:00
2Shirt
bec947262b
Updated WinPE sections
2018-05-17 18:03:53 -06:00
2Shirt
3114b72178
Add ticket toggle var and get_simple_string func
...
* get_simple_string() will be used for backup prefixes
2018-05-17 17:57:45 -06:00
2Shirt
5ea499d6ff
Assign volume letters before finding source image
...
* Fixes issue #33
2018-05-17 17:09:22 -06:00
2Shirt
223155b842
Abort on failed download(s)
...
* Fixes #29
2018-05-17 16:26:07 -06:00
2Shirt
598dea32c7
Save logs to tech's $HOME instead of root's
2018-05-17 15:32:38 -06:00
2Shirt
1c3520806c
Avoid nohup.out creation
2018-05-17 15:17:14 -06:00
2Shirt
0902a7997f
Moved SafeMode sections into functions/safemode.py
...
* Allows for better descriptions of the actions being taken
* Allowd for better error handling
* Fixes issue #34
2018-05-14 12:58:06 -06:00
2Shirt
6868988cec
Added antivirus check to the system_checklist
...
* Fixes issue #31
2018-05-14 12:11:38 -06:00
2Shirt
8ea17268c7
Fixed local sources for user_data_transfer
...
* Added support for local images and root folders
2018-05-14 09:42:30 -06:00
2Shirt
e751696307
Avoid crash if VCR+ installers are missing
2018-05-14 08:01:09 -06:00
2Shirt
ebffd2a2dd
Added more missing file warnings
...
* Part of the fix for #27
2018-05-14 07:54:33 -06:00
2Shirt
17dc572c4a
Added warnings for missing tools
2018-05-13 18:57:27 -06:00
2Shirt
79d2af6e0a
Fix issue #27
...
Several popen_program() calls were not inside try blocks causing full crashes
2018-05-13 18:20:42 -06:00
2Shirt
18c535dcfd
Bugfix for OS detection
...
* Avoids CurrentBuild collision between Win8 and Win8.1
* Fix DisplayName formatting
2018-05-13 16:09:07 -06:00
2Shirt
ee2bcd5aea
Refactored OS build detection
...
* Known build data moved to settings/windows_builds.py
* OS version statically set in windows_builds.py
* Added Insider Previews to recognized builds
* Shown in red due to their very short support windows
* Windows 8 and Windows 8.1 are now separate versions
* Added codenames to Vista and 7 (for fun!)
* Unrecognized builds have the CurrentBuild number in the DisplayName
2018-05-12 20:13:54 -06:00
2Shirt
f6d3938ecb
Prevent crashes when KIT_NAME_FULL contains spaces
2018-04-20 10:43:13 -06:00
2Shirt
f0bbb1c57e
Merge branch 'dev' of github.com:2Shirt/WizardKit into dev
2018-04-16 14:25:42 -06:00
2Shirt
94f74fa1a0
Merge branch 'dev' of https://github.com/2Shirt/WizardKit into dev
2018-04-16 14:21:06 -06:00
2Shirt
04f7ae2f21
Better unit handling during I/O Benchmarks
...
* All results are in MB/s
2018-04-16 14:17:28 -06:00
2Shirt
b5202d3646
Extend I/O Benchmark to test whole dev
2018-04-16 13:26:35 -06:00
2Shirt
945c771b6e
hw-diags-iobenchmark set as executable
2018-04-16 13:01:21 -06:00
2Shirt
501191b388
Include hidden items in EXTRA_DIR/
2018-04-16 11:37:09 -06:00
2Shirt
c18d86d8c5
Q-Dir filename changed
2018-04-16 10:07:15 -06:00
2Shirt
ae18668a72
Type in AIDA64 URL
2018-04-16 09:42:37 -06:00
2Shirt
d893a80f03
PyPI moved
2018-04-16 09:42:03 -06:00
2Shirt
71885212e8
Tool version bumps
2018-04-16 08:47:34 -06:00
2Shirt
e55dbeeb23
Add dd drive I/O Benchmark test
...
* All tests: runs if SMART=CS/OVERRIDE & BADBLOCKS=CS
* All drive tests: runs if SMART=CS/OVERRIDE & BADBLOCKS=CS
* I/O tests are readonly, blocksize=4M, and limited to 16 Gb
* Fix issue #23
2018-04-16 02:58:34 -06:00
2Shirt
a7079d4eae
Added GPT/PMBR support to build-ufd
...
* Defaults to GPT/PMBR
* (Hopefully) fixes #20
* Can still build MBR (Legacy) with the --use-mbr flag
2018-04-15 21:00:45 -06:00
2Shirt
c7c23bc7a1
Open speedtest at the end of the User Checklist
...
* Fix issue #24
2018-04-15 19:19:03 -06:00
2Shirt
4b0dde6efe
Re-add keyboard test to HW diag menu
...
* Fix issue #25
2018-04-15 10:25:49 -06:00
2Shirt
8e22aa22b0
Fix issue #22
2018-03-15 15:28:54 -06:00
2Shirt
b080200118
Fix issue #21
2018-03-15 14:30:46 -06:00
2Shirt
ac1ee5f695
More HWiNFO updates
2018-03-08 19:09:22 -07:00
2Shirt
6d503fb6c7
Enable TLS 1.2 for PowerShell scripts
2018-03-08 17:33:48 -07:00
2Shirt
2899e34f5e
Update sources.py
...
Version bumps
2018-03-08 17:02:34 -07:00
2Shirt
5c035cf3b8
Update build_pe.ps1
...
Version bumps
2018-03-08 16:54:06 -07:00
2Shirt
aadba319b1
Update build_kit.ps1
...
Version bumps
2018-03-08 16:44:49 -07:00
2Shirt
d82ad55113
Fix issue #19
2018-02-28 13:15:00 -07:00
2Shirt
49c7880e6a
Added mount-raw-image script
...
* Allows for easier mounting of dd images and the partitions within
* Fixes issue #18
2018-02-28 12:39:27 -07:00
2Shirt
1d2940b92e
Updated tool versions in the PowerShell scripts
2018-02-21 18:11:01 -07:00
2Shirt
a5630c2837
Updated HWiNFO download sections
2018-02-21 18:08:47 -07:00
2Shirt
6d5abd3b92
Update launchers.py
...
Bump current IRST version
2018-02-21 14:02:53 -07:00
2Shirt
64f22fbe30
Updated update.py
...
Support new HWiNFO archives
2018-02-21 14:02:11 -07:00
2Shirt
751f9422d3
Updated sources.py
...
Broken sections:
* HWiNFO merged their downloads into a single zip
* There's a new IRST version
2018-02-21 13:59:27 -07:00
2Shirt
f950d6d91b
Bugfix: Only copy EXTRA_DIR if ${EXTRA_DIR} is set
...
It was running 'rsync [OPTIONS] /* /mnt/Dest/' because ${EXTRA_DIR} was empty
2018-02-21 12:47:56 -07:00
2Shirt
b17a8de350
Made umount code more explicit
...
Avoids some unnecessary warnings
2018-02-21 12:46:57 -07:00
2Shirt
483344af70
Updated build-bfd
2018-02-21 10:35:47 -07:00
2Shirt
0d3f1e87cf
Started rewrite of build-ufd
...
* Using the BASH3 Boilerplate as a base for the new script
* The new version requires explicitly setting all sources
* Will avoid ambiguous matches / collision issues seen in issue #15
* Better ensures that the intended sources are used
* Still verify that '.bin' exists to ensure a valid "Main Kit" source
2018-02-21 00:34:53 -07:00
2Shirt
a0c6569eaf
Fix issue #12
...
The download no longer gets wrapped in a gzip archive.
2018-02-09 11:50:51 -07:00
2Shirt
7d1826f094
FastCopy version bump
2018-02-08 13:40:14 -07:00
2Shirt
e958eedfb6
Fix handing of path separators to prevent crashes
2018-02-07 20:15:31 -07:00
2Shirt
987ea3ab84
Merge branch 'dev' of github.com:2Shirt/WizardKit into dev
2018-02-02 16:41:05 -07:00
2Shirt
bd8151a8cb
Improved safety checks for build-ufd
2018-02-02 16:37:13 -07:00
2Shirt
44acb9b755
Update windows_setup.py
2018-01-30 17:28:34 -07:00
2Shirt
7bebe745a1
Update build_pe.ps1
2018-01-30 17:10:54 -07:00
2Shirt
96c6997a44
Update function docstrings
2018-01-30 16:50:28 -07:00
2Shirt
89c343943f
Replaced remaining show_info calls with show_data
2018-01-30 16:00:59 -07:00
2Shirt
e0db7560e6
Better server share mounting
...
* Added ability to mount read-only or read-write
* Allows the same main.py file to be used for all build scripts.
2018-01-30 15:23:46 -07:00
2Shirt
fbf956c651
Finished build-ufd script
2018-01-30 13:33:42 -07:00
2Shirt
16ea653ca4
Removed unused main.py settings
2018-01-28 18:23:59 -07:00
2Shirt
314bc24d09
Removed PuTTY-PSTFP from tools list
...
* Only used for uploading client info (which was removed)
2018-01-28 18:22:52 -07:00
2Shirt
3ac2d8d1d4
Bugfix: Setting Windows time should work again
...
* Was using the wrong variable name
2018-01-28 18:19:57 -07:00
2Shirt
012da00821
Removed ClientInfo upload code
2018-01-28 17:55:40 -07:00
2Shirt
c24554720f
Add option to upload crash details
...
* Disabled by default, enabled via main.py ENABLE_UPLOAD_DATA
* Upload destination set via main.py CRASH_SERVER variable
2018-01-28 17:48:42 -07:00
2Shirt
d96256fd87
Add reboot/shutdown entries when not in X
2018-01-27 12:45:37 -07:00
2Shirt
30dcd8758e
Added a "Yes to all" option to User Data Transfer
2018-01-26 18:35:05 -07:00
2Shirt
a7451f86ba
Added choice() function
...
* Provides a simlilar interface to the Windows choice command.
2018-01-26 18:32:33 -07:00
2Shirt
f0ae207890
Improved source scanning for user data transfers
...
* Fixes recursion bug when Windows.old folders are present
* Combined logic for file/folder sources and WIM sources
* Code uses proper folder separators for the running OS
* (e.g. '\' for Windows and '/' for the rest)
2018-01-26 17:52:43 -07:00
2Shirt
f7f3f0d53c
Updated info.py
...
Should fix #10
2018-01-17 17:22:45 -07:00
2Shirt
fbd7f47749
Added build-ufd script
...
* Includes safety checks to avoid unintentional data loss
2018-01-15 17:30:47 -07:00
2Shirt
5a1f9f0961
Added Cleanup CBS launcher
2018-01-15 14:28:31 -07:00
2Shirt
480ac48aae
Removed '+' from positive temps in hw-sensors
2018-01-15 14:13:35 -07:00
2Shirt
0e87bf55a0
Enable HW-Diags for more devices
...
* Skip all removable WizardKit devices
* Fixes issue #8
2018-01-15 13:45:58 -07:00
2Shirt
10cf7a1575
Updated hw-sensors
...
* Filter out non-temp sensors
* Adjusted formatting
* Partially addresses issue #9
2018-01-15 12:57:27 -07:00
2Shirt
c7901d1328
Merge branch 'linux' into dev
2017-12-30 12:30:27 -07:00
2Shirt
b441738950
Fixed opening logs in WinPE
2017-12-30 12:05:24 -07:00
2Shirt
43e8746c46
Fixed using local Windows images
2017-12-30 12:04:48 -07:00
2Shirt
6eef031ebf
Update build_pe.ps1
...
FastCopy version bump
2017-12-30 10:51:31 -07:00
2Shirt
19f087cb8b
Update sources.py
...
IOBit Portable version bump
2017-12-30 09:55:48 -07:00
2Shirt
a2737e3102
Update sources.py
...
FastCopy version bump
2017-12-30 09:48:56 -07:00
2Shirt
698546f823
Switch to single-line disk descriptions
2017-12-27 19:36:22 -07:00
2Shirt
c0cbdc6923
Added pause after audio and network tests
2017-12-27 19:19:29 -07:00
2Shirt
524096165c
Forgot to update_progress during badblocks tests
2017-12-27 14:02:04 -07:00
2Shirt
5d70124c39
Updated badblocks section
...
* Reduced worker pane size
* Save badblocks logs in LogDir
2017-12-27 13:42:10 -07:00
2Shirt
18ce079aa3
Open log after HW diags
2017-12-27 13:11:25 -07:00
2Shirt
938ee7afd5
Renamed mount-all-volumes foh option to gui
2017-12-27 04:50:18 -07:00
2Shirt
6ddf3fca67
Re-added hw-diags quick disk check function
2017-12-27 04:45:59 -07:00
2Shirt
62c77fb696
removed remaining old, unused scripts
2017-12-27 04:27:40 -07:00
2Shirt
16c20ac6ea
Cleanup and fix results screen during abort
...
* Renamed run_smart to run_nvme_smart to match rest of the code
* Mark NVMe/SMART status as NS earlier in a couple more cases
* Prevent crash when all tests are run and then aborted during Prime95
2017-12-27 04:22:02 -07:00
2Shirt
7fbbde56c6
run_badblocks() working
...
* Re-added and updated hw-diags-badblocks
2017-12-27 04:01:54 -07:00
2Shirt
d4146c9c35
Added warning when no sensors are detected
2017-12-27 03:58:56 -07:00
2Shirt
0ea523a2cf
Show Prime95 final temps in result screen
2017-12-27 02:12:32 -07:00
2Shirt
0bab107e24
Updated results screen formatting
2017-12-27 02:11:28 -07:00
2Shirt
24e72f2f35
SMART section finished
...
* The script waits for the self-test for polling-time+5min
* Unless it detects completion after 60 seconds
* Fixed missing linebreaks in progress panes
* BREAKING: TESTS data structure reworked to support per-dev status
2017-12-27 01:42:04 -07:00
2Shirt
579a747878
Started work on results screen
2017-12-26 21:43:23 -07:00
2Shirt
a6917fc129
run_mprime() finished
...
* Results now determined from log files
2017-12-26 15:57:36 -07:00
2Shirt
8ff33547c4
Save temps just before stopping Prime95
2017-12-26 15:16:15 -07:00
2Shirt
c1fe3d8538
Added --nocolor option to hw-sensors
...
* Going to use it to export the "final" temps before killing Prime95
2017-12-26 15:08:46 -07:00
2Shirt
03d7646685
Enabled logging for hw-diags
2017-12-26 14:17:53 -07:00
2Shirt
74ba8fb758
Added hw-diags-prime95 and still removing libtmux
2017-12-24 18:46:02 -07:00
2Shirt
57b1d246c2
Going to drop libtmux and use tmux directly
2017-12-24 17:13:48 -07:00
2Shirt
6f456f5c47
Added show_disk_details()
2017-12-24 15:41:13 -07:00
2Shirt
59a449e7e5
Cleanup
...
* Renamed 'Health OK' to 'Quick Health OK'
* Better implies that we're not done testing
* Renamed SMART sections to NVMe/SMART
* Dropping SMART short-tests for NVMe drives
2017-12-24 13:19:23 -07:00
2Shirt
87c09c4da0
New method for gathering SMART/NVMe data
...
* Replaced smartmontools with smartmontool-svn
* Adds JSON exporting which makes parsing the data easier
* Using nvme-cli for NVMe drives instead of smartctl
* NVMe support in smartctl is still experimental and inconsistent
* New "Health OK" detection
* This is used to determine if a disk is okay to be tested
* e.g. an IDE disk w/out any SMART data now requires explicit overriding
* NVMe disks are set using the "critical_warning" attribute
* SMART disks are set using the "overall-health" attribute
2017-12-24 00:21:33 -07:00
2Shirt
8acb493006
typo
2017-12-23 19:53:28 -07:00
2Shirt
a733af679c
Forgot to set apple-fans to auto after Prime95
2017-12-23 19:41:09 -07:00
2Shirt
8e26e09fe6
Reordered functions
2017-12-23 19:40:09 -07:00
2Shirt
19d32dda0b
Reduce file opens during update_progress()
2017-12-23 19:36:57 -07:00
2Shirt
5d6e138d29
Started hw-diags & hw-diags-inner rewrite
2017-12-23 19:11:50 -07:00
2Shirt
a7606a4b5c
Print script names and audio tests output
2017-12-23 14:24:15 -07:00
2Shirt
a1b72c0aeb
New hw-diags-network script
2017-12-22 00:45:42 -07:00
2Shirt
1760c030ef
New hw-diags-audio script
2017-12-21 23:34:56 -07:00
2Shirt
e19bcf1000
Renamed apple_fans to apple-fans
...
* Done to match naming scheme
2017-12-21 23:18:52 -07:00
2Shirt
374d4a1c98
Removed old mount-backup-shares script
2017-12-21 23:17:45 -07:00
2Shirt
e96d491285
New mount-backup-shares script
2017-12-21 23:16:50 -07:00
2Shirt
1cfa008b8e
New MS Word search script
2017-12-21 22:31:21 -07:00
2Shirt
96ef259b4c
New HW sensors script
...
* Rewritten in python
* Report CoreTemps first then others
* Wrap into two columns as necessary (if the window is big enough)
2017-12-21 17:25:09 -07:00