Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

BwE PS4 NOR Validator

From GameBrew
BwE PS4 NOR Validator
Bweps4norvalidator.png
General
AuthorBetterWayElectronics
TypePC Utilities
Version2.6.6
LicenseMixed
Last Updated2024/02/05
Links
Website
Source
Support Author

The PS4 NOR Validator is a Python-based tool that checks and fixes ("patches") PlayStation 4 "NOR" firmware dumps. A "NOR dump" is essentially a backup of the PS4's internal firmware, which can be useful for troubleshooting, repairing, or modding a console.

Key Points:

  1. Validation of NOR Dumps
    • Works with various PS4 firmware manufacturers (like Samsung, Spansion, Cypress).
    • Compatible with multiple firmware versions (from 4.55 up to 9.00).
    • Can check both full and partial NOR dumps.
  2. Patching (Fixing) Firmware
    • Automatically applies fixes to the firmware if errors are found.
    • Offers advanced options to enable or disable specific patches.
  3. How to Use It
    • Requires Python 3.
    • Install necessary libraries (e.g., hexdump, cryptography, pyelftools).
    • Run the tool (ps4-nor-validator.py) with various command-line flags:
      • -i for your input file (the NOR dump),
      • -o for your output file (where patched dump goes),
      • -p to apply patches, and more.
  4. Single-File Build (Optional)
    • There's a build.py script that bundles all dependencies and code into one file, making it easier to distribute or use on different systems.

To learn more, visit their GitHub page on how to use this program.

Media

Repairing a corrupt PS4 NOR using the BwE PS4 NOR Validator (EAP Key Not Available Error in UART) (Better Way Electronics)

Changelog

> Loader:

  • 1.1.0 (3/2/25) Bug Fixes, Upload Fixes, Refreshing Code Compared To Other Web Uploaders, Still No Dual NOR Upload - Soon!
  • 1.0.9 (22/1/25) Bug Fixes With Selecting Files (Dual NOR Upload In Next Version)
  • 1.0.8 (14/10/24) Bug Fixes Again
  • 1.0.7 (11/10/24) Bug Fixes
  • 1.0.6 (11/10/24) Incompatibility Transparency
  • 1.0.5 (10/10/24) Better Error Handling, Internal Changes
  • 1.0.4 (25/9/24) Upload NOR & Syscon Together, x4 Upload Speed, Bug Fixes
  • 1.0.3 (24/9/24) Better Handling Of Corrupt Files
  • 1.0.2 (23/9/24) Fixed Bugs In WebTools
  • 1.0.1 (23/9/24) Fixed Bugs In WebTools

> Main App:

  • 2.6.6 (29/1/25) Updated Error Code Reading
  • 2.6.5 (28/1/25) Added Error Code Reading
  • 2.6.4 (23/9/24) Updated CoreOS Patching, Updated EAP Patching
  • 2.6.3 (2/8/24) Internal Improvements, Better Non-UTF8 OS Support
  • 2.6.2 (29/7/24) Updated Torus (WiFi/BT) Patches, Bug Fix in Southbridge Patching, Other Bug Fixes
  • 2.6.1 (28/7/24) Validation Updates (Including 11.52 Specific), Updated Southbridge Patcher to 11.52, Other Internal Code Updates (Expect Bugs - Maybe...)
  • 2.6.0 (14/4/24) More Chinese Language Fixes
  • 2.5.9 (12/4/24) Better Chinese Language Support, HWID Bug Fix
  • 2.5.8 (11/4/24) USB License Bug Fix
  • 2.5.7 (10/4/24) Updated Validations, Updated Upload Feature, Updated Older Code, Small Changes/Fixes
  • 2.5.6 (31/3/24) Updated Validations, Updated Southbridge Patcher to 11.50, Small Fixes
  • 2.5.5 (5/3/24) Bug Fixes From Previous Improvements
  • 2.5.4 (4/3/24) Added Corrupt Syscon Patcher, Updated Validations, Bug Fixes/Improvements, Improved NOR/Syscon Uploading
  • 2.5.3 (20/1/24) Updated Validations, Bug Fixes/Improvements
  • 2.5.2 (11/1/24) Bug Fix (Repeated Validation False Positives), Changed HTML Styling, Other Small Changes/Fixes
  • 2.5.1 (10/1/24) Updated Southbrige Patcher, Updated Extractor, Updated Validations, UI Improvements (Can Return After Validation)
  • 2.5.0 (11/12/23) Updated Validations (Including 11.02 Specific), Added Statistics To Bulk Tools, Bug Fixes
  • 2.4.9 (15/11/23) Improved Previous Firmware Detection, Updated Validations, Removed Block Matching (Not Reliable)
  • 2.4.8 (21/10/23) Updated Validations, Changed CoreOS Header Interpretation, Updated 1CA + 1CD and 1C9 + 1CC (UNK + CID) Patching & Validation, Dump Upload Bugfix, Dump Extract & Patch Bugfixes
  • 2.4.7 (19/10/23) Added WiFi/BT Patching/Changing Option, Fixed Some Sub-Menu Options (Press Enter To Bail On Patching), Other Small Forgettable Fixes/Changes
  • 2.4.6 (2/10/23) Added Resolution Patch, Added IDATA Patch, Fixed EAP Patcher (Partially Corrupt Bug Fix), Added More Flags, Improved CID & UNK Validation, Updated UART Reader (Space to Clear, Enter to Quit)
  • 2.4.5 (20/9/23) Updated Validations (11.00), Updated Southbridge Patcher, Updated Potential Lowest FW, Added 138 IPL Hashes + 93 KBL Hashes + 53 Torus Hashes, Fixed Bulk Dump Extractor.
  • 2.4.4 (12/9/23) Added Bulk NOR Extractor, Reworked Menu (Moved Dump Tools), Updated Validations
  • 2.4.3 (7/9/23) Added Motherboard Type Detection, Significantly Updated NVS Regenerator, Updated NVS Validation (CID & UNK), More Validations Updated to Suit 10.71, Fixed/Updated HTML Output
  • 2.4.2 (29/8/23) Added NVS Regenerator, Updated Validations and Definitions, Updated EAP Patcher, Updated Corrupt Block Patcher
  • 2.4.1 (23/8/23) Critical Bug Fix (Syscon Patcher) (Thanks to Updated Menu Behaviour...)
  • 2.4.0 (23/8/23) Added Southbridge Patching/Converting, Updated Validations, Code Optimization, Updated Menu Behaviour, Updated HWID Generator
  • 2.3.9 (13/8/23) Updated to Suit 10.71, Updated CID Validation
  • 2.3.8 (9/8/23) Added New Validations & Flags, Bug Fix in Comparison Tool
  • 2.3.7 (2/8/23) Updated Comparison Tool (Better Outputs, More Options), Changed EAP Key Patching Slightly.
  • 2.3.6 (2/8/23) 9th Hour Critical Bug Fix. I Need Beta Testers!
  • 2.3.5 (1/8/23) Major Update to EAP Key Patching, Updated Version Detection, Changed SDK to 'Lowest FW' (Who Cares About SDK), Added 'Potential Previous FW' (Based on EMC - Not Reliable), Added Southbridge Type In Main Menu.
  • 2.3.4 (31/7/23) Updated Validations to Suit 10.70 Firmware, Removed Individual File Entropy, Updated UNK/CID Validations & Flags, Other Validation Improvements!
  • 2.3.3 (23/7/23) Updated Syscon Patching, Updating Southbridge Detection (Chip Type), Re-Arranged Menu, Other Small/Important Changes
  • 2.3.2 (18/7/23) Added Block Validation for EMC_IPL, EAP_KBL and Torus (Detect & Describe Southbridge Version/Type), Improved CID Validation, HTML Output Fixed
  • 2.3.1 (12/7/23) Changes for Chinese Language Users
  • 2.3.0 (11/7/23) Added SDK Versioning (Lowest Downgradeable Firmware), Better FW Detection, Slightly Changed Warning for Memory Overclocking, HWID Generator Update, Better Support for Chinese Systems
  • 2.2.9 (10/7/23) 8th Hour Bug Fixes! (Nothing Major).
  • 2.2.8 (9/7/23) Updated Syscon Patching, Updated Validations, Future Proofing, Bug Fixes.
  • 2.2.7 (27/6/23) Updated UNK Validation, Updated Syscon Patching, Better Suited for Current OFW.
  • 2.2.6 (12/6/23) Wider System Compatibility, Updated & Fixed HWID Processes
  • 2.2.5 (10/6/23) Bug Fixes, New HWID Generation Process
  • 2.2.4 (9/6/23) Updated Syscon Patcher, Bug Fix to Patching & Extracting, Updated Validations & Results, Server Updates (Future Proofing/Downtime Protection)
  • 2.2.3 (27/5/23) Updates to Corrupt/Blank Area Patching, Update to CID Corrupt/Blank Block Detection, Better Auto Deletion of %TMP%, Updated Unlisted/New Results, UART Reader Updated, HWID Generator Updated.
  • 2.2.2 (9/5/23) Greatly Improved Patching & Validation for CID/UNK Areas, Potentially Less Issues With HWID Generator, Better Menu Flow.
  • 2.2.1 (2/5/23) Fixed Compatibility Issue #5 (Maybe), Fixed Accidental Highlighting, Fixed Assignment Operator Error/s, Other Improvements!
  • 2.2.0 (1/5/23) Fixed Versioning, Fixed USB Licensing, Other Small Changes
  • 2.1.9 (30/4/23) Added USB License Support, Bug Fixes, Fixed SB Patch Error, Better UART Log Handling, Added Unlisted/New Validations, Improved UNK Validation (Block Corruption Detection)
  • 2.1.8 (28/3/23) Bug Fixes, Updates to Validation Processes, More Windows 11 Support
  • 2.1.7 (24/3/23) Added the 6 New Patches to Auto Patcher (Total of 14! - I Recommend New Method!), Some Validation Updates, Changes to Internal Messages
  • 2.1.6 (22/3/23) Added New CoreOS Header Patching Methodology & 6 New Patches, Added UART .txt Uploading (Please Use!), Added Unlisted & New Validations, Other Small Fixes.
  • 2.1.5 (9/3/23) Significant Updates and Changes to UNK & CID Validations, Added New Empty 1CA000-1CA5FF / 1CD000-1CDFFF Patch Option, Added Unlisted & New Validations.
  • 2.1.4 (6/3/23) Critical Bug Fix In Downgrade Patches (Whoops)
  • 2.1.3 (5/3/23) Upgraded/Reworked System Patch Handling & Validation (Important Update!), Added New UNK Validation, Won't Ask For UART @ End If Already Enabled!
  • 2.1.2 (5/3/23) Added x2 Additional Downgrade Patches, Fixed SAMU Boot Flag, Increased Memory CLK to 2250mhz (Samsung HC-25 Recommended), Modified Serial Reader (Removed .BIN Output), Renamed to UART Reader
  • 2.1.1 (3/3/23) Critical Bug Fix In Syscon Patcher
  • 2.1.0 (2/3/23) Added SAMU Boot Flag and Memory Clock Speed Editing (Can Potentially Fix LoadBios/Memory Issues), Added x2 Additional Syscon Patches, Removed Southbridge Patch From Main Patch Option (Only Use For SB FW Errors), Patching Bug
  • 2.0.9 (1/3/23) Small Bug Fixes, Trial Removed
  • 2.0.8 (23/2/23) Syscon Patcher Update (Will Also Fix Closing Bug)
  • 2.0.7 (21/2/23) Further Bug Fixes (Bug Testing Sucks), Added Flags to CID, Updated UNK Validation, Updated Unlisted Results, More Unique Values Thanks To Thailand PS4's, Updated 4 Year Old Validations (Wow).
  • 2.0.6 (20/2/23) Bug Fixes For Bug Fixes, Better Handling of Trial Users.
  • 2.0.5 (19/2/23) Bug Fixes to HWID Handling (Also Updated HWID Generator), Bug Fixes to Syscon Patcher, Some Validation Changes/Upgrades
  • 2.0.4 (13/2/23) Improved Validation, Preparing For Auto Corruption Repair (Some Areas), Added Unlisted Results, New Flags CID/UNK, Other Mild Changes.
  • 2.0.3 (7/2/23) Improved Syscon Auto Patching (Less Chance Of Manual Patching) (Still Beta! Report All Syscon Patch Issues!), Fixed Potentially Broken Trial Mode + HWID Stuff, Fixed Other Patching Issues.
  • 2.0.2 (4/2/23) Vital Update to Southbridge & CoreOS Patching (For FAT Models), New Update Handling Process, Other Mild Fixes
  • 2.0.1 (31/1/23) Updated Syscon Patcher (Less Manual Patching (Still Beta)), Significant Updates to UNK, CID, Naming Schemes and Flags, Added MANU (Manufacturer Mode (Service Mode (Old FW Only)) Mode, Safe Mode, Memory Test, RNG/Keystorage Test, X and O Button Swap & Multi Patches, Added EAP Reverse Patch (Use If First Fails), Better File Handling & Messages.
  • 2.0.0 (20/1/23) Added UART Patching To CoreOS/Southbridge Patcher, Added Bulk CoreOS/SB Patching (1-4 or 1-2), Added Per File Entropy Pursuant To Sony's File Structure, Improved Syscon File Handling, Bundled Serial Reader Application (Auto Detects COM Port then Reads & Auto-saves Serial as ASCII (.txt) or Hex (.bin)).
  • 1.9.9 (8/1/23) Added Syscon Firmware Validation, Better EAP Key Validations, Better UNK Validations, Added EAP Key Repair (Panic EAP Key Not Available Error/Corrupt UNK Section), Fixed v1.xx Version Errors.
  • 1.9.8 (5/1/23) Update to CoreOS/SB Patching, Added Unlisted Results, Added New Validations, Updated Internal Comparator
  • 1.9.7 (28/12/22) Serious Bug Fix In Syscon Patching.
  • 1.9.6 (28/12/22) Significant Changes To Syscon Patching (Still Beta - Expect More Updates) - Some Manual Patching Explicitly Required (Soon To Be Auto).
  • 1.9.5 (26/12/22) Reworking of CoreOS/Southbridge Patching (Avoids BlStorageHeader Errors), Improved Auto-Patching Syscon (If You Still Have CheckUpdVersion Errors Let Me Know!)
  • 1.9.4 (24/12/22) Bugfix in Syscon Scanning (<= 0 Length Slot1 Crashing App), Bundled External HWID Generator App (Auto Copies HWID to Clipboard!)
  • 1.9.3 (22/12/22) Updated Syscon Scanning & Patching (Still Considered Beta)
  • 1.9.2 (20/12/22) Added Syscon Auto & Manual Patching (Beta), Added Syscon Service Mode Patch Scanning (No Auto-Patching Yet), Massive Changes to Syscon Scanning, Updated Extractor, Added Unlisted/New Validations (FW 10+), UNK Changes, Added New SKU (OMG! 7218C From THAILAND!), Added Mercy For Trial Users (No Files? Try Again!), New Boot Logo & HTML Graphics, Fixed Failure Message
  • 1.9.1 (24/11/22) Added Syscon Patch Scanning (No Auto-Patching Yet - 1.9.2+) Includes: Syscon Slot Discovery, Syscon Active Slot Discovery, Syscon Patchable Area & Slot Discovery, Syscon Upload. Also: Improved Validations, Improved Code Structure
  • 1.9.0 (16/11/22) Added Licensing (Trial Executions = 1 (Suitable For Non-Business Use), Improved Licensing Handling, New Min Version 1.9,0, Improved Result Handling, Fixed Crashing & Incompatibility, Added CoreOS Swapping + Southbridge Flag Patching (Added Bespoke, Predetermined Patching), Added Secondary Methodology For CoreOS Swap, Added Improved CoreOS Interpretation/Validation, Added UserIDs, Improved File Handling including the /Dumps/ Sub-directory Traversal, Improved Validation of PerConsole Areas, Updated Comparator (Filter by SKU/Version/Both).
  • 1.8.8 (5/6/22) Updated Readme, Fixed Offsets MD5 Comparison, Added Highlighting, Added Unlisted Hashes, Added: Update Mode, Show Mode (TestKit), Registry Recover, Software Version (Old/Useless) and Arcade Mode Flags & Patches (Except Show & Software Version).
  • 1.8.7 (13/4/22) Added Three New v9.50 WiFi/BT FWs, Added Unlisted Results, Added Region Information
  • 1.8.6 (18/3/22) Bug Fix (Crash After Launch If Online), Added New WiFi/BT FW, Added Unlisted Results, Adjusted Some Validation Results
  • 1.8.5 (25/1/22) New Validations, Added Unlisted/New Results, New Statistical Values, Fixed Results HTML File Name Bug, Improved CID & UNK Validation (Removed False Warnings), Cosmetic Fix To 'Validation Complete', Added Block For v1.8.0 & Below.
  • 1.8.3 (26/11/21) Improved File Handling When Patching, Added UART Enabling Question After Validation (Requested Feature), Bug Fix Handling Files NOT In /Dumps/ (Whoops), Bug Fix Handling UART.
  • 1.8.2 (21/11/21) Improved Validation & Classification of WiFi/BT Modules, Improved Validation of All Encrypted Sections, Added New WiFi/BT FW MD5s, Bug Fix Handling Files In /Dumps/.
  • 1.8.0 (15/11/21) Added Unlisted Results, Added New Flags & Patches (Boot Parameter (Dev, Assist, Release), Memory Budget and Slow HDD Mode), Added New WiFi/BT FW MD5s, Changed Patch Offset Interpretation For WiFi/BT, Fixed Patching Showing Dump MD5 Instead of Patch MD5, Changed Interpretation of Dump Files (Save Time With Hardcore Corruption/Wrong Files), Cosmetic Fixes, Connection Fixes (Temporary).
  • 1.7.4 (7/10/21) Fixed Uploading Criteria, Fixed Server Side Uploading Issue (58 Dumps Lost!), Added Unlisted Results
  • 1.7.3 (22/8/21) Fixed IDU Patching, Added Unlisted/New Results (Thank You Uploaders!)
  • 1.7.2 (30/7/21) Fixed Mishandling of Bulk Warning/Danger Results (Significantly), Added Unlisted/New Results.
  • 1.7.1 (25/6/21) Fixed Uploading Questions, Added MB Serial to Outputs, New Spash Screen.
  • 1.7.0 (23/6/21) Added Questions Regarding Dump When Uploading, Added New CID Validation (Weird Key or Flag), Fixed UART Validation, Added Unlisted Results.
  • 1.6.9 (26/5/21) Fixed Internal Code Issues, Added Unlisted Results, New Splash Screen (Potentially last update for a short while).
  • 1.6.8 (16/5/21) Updated Internal Comparison Application, Improved Serial Number Validation (MB Series), Added Unlisted Results.
  • 1.6.7 (25/4/21) Repaired UNK 1200 Series Validation, Added Unlisted Results.
  • 1.6.6 (12/4/21) Added Unlisted Results, Improved Validation, Changed Output Styling.
  • 1.6.5 (31/3/21) Added CoreOS Statistical Analysis, Changed Some Results, Changed Some Output Formatting, Returned to Previous Packer.
  • 1.6.3 (30/3/21) Added CoreOS Patcher (SU-30631-3 Error Specific), Updated Results, Added Unlisted Results, Fixed Readme, Changed Packer.
  • 1.6.2 (18/3/21) Repaired CID Validation, Improved Handling of 72xx, Added Unlisted Results, Improved Dump Uploading Process.
  • 1.6.1 (20/2/21) Repaired CID Validation, Added Unlisted Results (Thanks Uploaders!)
  • 1.6.0 (4/2/21) Added IDU Mode Patcher, Improved Validations, Added Unlisted Results.
  • 1.5.9 (29/1/21) Major Improvement to CID and UNK Validations, Added Unlisted Results, Improved UART Patching, Better Handling of 1200/Pro/Slim Validations, Added v1.5 of Comparator (Comparison Tool, Option 1)
  • 1.5.7 (11/1/21) Fixed Version Check, Improved Statistics, Removed Some Unlisted Results (Improved Validation), Updated Upload Feature, Improved Compiler
  • 1.5.6 (10/1/21) Improved CID and UNK Validations, Updated Unlisted Validations, IDU Flags Added, Some Code Optimization
  • 1.5.5 (8/1/21) Updated Pro/Slim Specific Validations, Updated Unlisted Validations, Updated CID Validations, Updated UNK Validations, Added Dump Upload Feature
  • 1.5.3 (5/12/20) Updated Unlisted Validations, Updated WiFi/BT MD5s & Entropy Validation
  • 1.5.2 (20/11/20) Updated WiFi/BT MD5s, Added 2nd UART Flag, Updated Unlisted Validations
  • 1.5.1 (3/11/20) Updated Unlisted Validations, Added UART Enabler, Removed Unused Validation Option, Added Basic Loader
  • 1.5.0 (30/10/20) Updated Unlisted Validations, Upgraded Existing Validations, Removed Loader (Secret Patcher Coming Soon!)
  • 1.4.9 (3/5/20) Added 21xx Series Specific Validations, Updated Unlisted Validations
  • 1.4.7 (23/3/20) Added Dynamic Comparison, Updated Unlisted Validations
  • 1.4.6 (1/2/20) Just Keeping It Fresh! (May have fixed issues stopping the program running, if not let me know!)
  • 1.4.4 (16/8/19) Added and Improved Validations (CID & UNK) Including New WiFi/BT FW MD5
  • 1.4.2 (7/4/19) Added More Validations (Firmware & Console Specific), Improved Various Sections (CID & UNK Mostly)
  • 1.4.1 (1/3/19) Prettied Up Outputs, Minor Rewording (Sorry!).
  • 1.4.0 (1/3/19) Added Zecoxao Extraction Methodology (Will Add More Zecoxao SELF Stuff Later), Added FW/BIOS Versioning, Added Additional Entropy Validation & Various Improvements Throughout.
  • 1.3.8 (21/2/19) Added Additional Validations (To Suit Slim/Pro), Repaired/Improved CID Validation, More MD5s & Table Based Results.
  • 1.3.5 (30/1/19) Added CoreOS Reference Points (Additional CoreOS Per-Console Validation).
  • 1.3.3 (24/1/19) Reworked And Improved Both CID And UNK Sections Again, Added More MD5's, Added Application Version Checker, Removed Colored Bars, Added Comparator & Other Improvements Throughout.
  • 1.3.1 (19/1/19) Added More Validations & MD5's, Repaired Minor Bug.
  • 1.3.0 (15/1/19) Completely Reworked And Improved The CID Section And Added Additional Validations To The UNK Section & I Also Improved Some Other Validations Throughout.
  • 1.2.6 (18/12/18) Hopefully Fixed 'Black Screen' Issue, Recompiled In 32bit.
  • 1.2.5 (17/12/18) Added 2 New Flags (Possibly Initialization Flag?), Changed Validation Results, Improved Output/Info (HTML) & Added MD5's.
  • 1.2.0 (8/12/18) Improved All Alt Validations, Repaired Vtrm1, Internal Typo & Added Repetition Checks.
  • 1.1.1 (29/11/18) Typo Again, Made The SKU Not Come Up As Unlisted & Added Some MD5's.
  • 1.1.0 (28/11/18) Improved VTRM & CID Validation, Typo Fixes & Better Colours.
  • 1.0.0 (27/11/18) First Release!

Greetz/Credits

  • Thailand (Xohke!)
  • PS3/PS4 Dev Wiki (+ Its Contributors)
  • DarkNESMonk
  • JEFF
  • Wildcard
  • fail0verflow
  • PDJ
  • eussNL (<3)
  • cfwprpht
  • judges
  • 3absiso
  • pearlxcore
  • DEFAULTDNB
  • Stooged
  • GregoryRasputin
  • Elhout
  • ProConsoles NL
  • Centrino
  • Viktor TechStars Romania
  • Nikesh
  • Orbis/Akiong
  • YTAndrewPaul (YouTube)
  • Palestine!
  • luminouslamp367 for Regex: (\S*)\s?(\$\S*)\s*?(\$FOO)\s?(\S*)
  • Hoea
  • DigiMod
  • Indonesia!
  • Egypt!
  • SCE
  • You!

External links

Advertising: