Category PS4 CFW and Hacks       Thread starter BwE       Start date Nov 27, 2018 at 1:44 AM       24,835       81            
Status
Not open for further replies.
Hello! Since my BwE PS4 NOR Statistics v1.00 release followed by v1.1, v1.1.1, v1.2, v1.3, v1.3.1, v1.3.3, v1.3.5, v1.3.8, v1.4 / v1.4.1, v1.4.2, v1.4.4, v1.4.5, v1.4.6 / v1.4.7 and v1.4.9 this program is the full version of my PS4 NOR Validator... it is designed solely to validate the NOR flash of your PS4 console from Better Way Electronics!

Download: BwE_PS4_NOR_Validator.rar (Latest Version - UnRAR Password: BwE) / BwE PS4 NOR Extractor / GIT

Why would you need to do this? Well if your console has suddenly died and has what is called the 'BLOD', the NOR can be the reason why.

Using my program will allow you to validate literally every single byte of the NOR (or 1782 specific areas) - allowing you to see where or if it is corrupted.

The most common area of corruption that causes the BLOD is the CID. This is mostly full of perconsole data and thus cannot be repaired.

BUT! My program will show you areas that are fillers and areas that are static (which are unchanging across consoles). You may get lucky!

Other areas can be inter-changed between different consoles and are more suited for repair, the WiFi/BT module is a good example of this.

So fundamentally, this program is for console repairers like myself. If you are indeed a repairer and run a business I can make a custom 'bulk' version for you!

This is the internal revision number 84 (and the first public version, obviously), so hopefully there shouldn't be any major bugs!

If you encounter any errors or weird results - or better yet if your NOR is labeled danger in any areas, but still runs fine - let me know!

This program is NOT perfect, but it is much better than just using a hex editor or never truly knowing if your BLOD is caused by the NOR!

This also goes above and beyond that of the psdevwiki page regarding the main flash of the PS4. When I have time, I will update it!

Have fun and good luck!

Fun numbers:
  • 84 revisions
  • 11210 lines of code
  • 585 possible OK results
  • 389 possible WARNING results
  • 227 possible DANGER results
  • 1782 offsets read
  • 1423 if statements
  • 289 regular expressions
  • 2023 print F's
And from the README.md: BwE PS4 NOR Extractor

Hello, this is the the NOR extracting code straight out of my PS4 NOR Validator. Albeit solely in Zecoxao style. My personal methodology splits the files themselves from the empty space. Given if you were going to modify the files, its best to put them back in with the idea that it will FIT.

I also noticed people were converting Zecoxao's extraction code into Python etc, so hey! What about PERL?!

Either way mine is still done somewhat differently, I imagine.

This language is super easy, yet I still manage to write it like I have never programmed anything in my life. Don't worry I am now doing OOP in my post-grad degree!

I hope you can understand my spaghetti code and enjoy it and perhaps even learn from it!

Version History:
  • 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. Versions From Here On Will Be Released Slower Due To University Commitments!
  • 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 (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 (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 (28/11/18) Improved VTRM & CID Validation, Typo Fixes & Better Colours.
  • 1.0 (27/11/18) First Release!
If you like what I do, or just like me for me, buy me a coffeeeee!
BwE PS4 NOR Validator by BetterWayElectronics.png

BwE PS4 NOR Validator by BetterWayElectronics.png

BwE PS4 NOR Validator by BetterWayElectronics.jpg
 

Comments

Status
Not open for further replies.

derox

Member
Contributor
Verified
Hi BwE, thanks for your awesome work. One unrelated question though, have you tried replacing a faulty PS4 APU? for example, take from a donor board and implanted it to another PS4.
 

BwE

Developer
Senior Member
Contributor
Verified
@derox this does not work - but i have not personally tried it. apparently it is linked to the console much in the way the NOR and syscon are.

Now its 1.3.3. Seeing as updating my program is kinda important I made my program check if it's the latest all by itself! How exciting. The other parts of this update is described below.

Version History:
  • 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 (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 (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 (28/11/18) Improved VTRM & CID Validation, Typo Fixes & Better Colours.
  • 1.0 (27/11/18) First Release!
More Information:
  • File MD5: 7433C294F6C8F506995AA8F42485607F
  • Chiptune: Norman Bates - Maktone
  • Illustration: Unknown Artist (Modified by BwE)
  • System Requirements:
  • Windows XP, 7, 8 or 10 (32/64bit)
  • 8mb+ Storage Space
Archive Password:
BwE
 

BwE

Developer
Senior Member
Contributor
Verified
What up gangsters, now its v1.3.5 :) But you should know this given my AUTOMATIC VERSION CHECKER! @pearlxcore will be jealous - now I have some better CoreOS validation :)

Version: 1.3.5 (30/1/19) Added CoreOS Reference Points (Additional CoreOS Per-Console Validation).
File MD5: EFFC0962BDC304ABF059380B362CBD30
Code:
0x3C0000 -> 0x1FFFFFF:
CoreOS Entropy: 8.00 ✔
CoreOS Alternative Validation: ✔
CoreOS Final Filler: ✔
CoreOS Static Area 1: F18D7A20ACFEB4E4A8D9CCC5103182 ✔
CoreOS PerFirmware Area 1:4104E1C81272E5A3C9A7D5C771D3CC0BDF28A1E03769FC875C05E3E335EC3740✔
CoreOS Static Area 2:D2F84331DADB8508B9029373BC3AC0F77957DF348BEE0D83EFEFF395A9FE8C84✔
CoreOS PerFirmware Area 2: 9118A6A60259E720DA08C23958273B47 ✔
CoreOS Static Area 3:8F702A04E7B5F579177A25EB213405CA1E78881EAF85CFB4F7B7132EB8E7E70F ✔
CoreOS PerFirmware Area 3: 946107880E3A3D1006921066476BA31E ✔
CoreOS Static Area 4:B749A754283A0424BD4826C8D233F3B3B3F8BC60BB057C0BA3546130819F54EB ✔
CoreOS PerFirmware Area 4: F29C70E8A6979A003D1792CA7B437652 ✔
CoreOS Static Area 5:5AD19DF2B45F949F1D702A793C40E498E23E8C387F852898ACFDD47E3935F9BC✔
CoreOS PerFirmware Area 5: BDB64C945DC4BE8498DF4D9B43247143 ✔
CoreOS Static Area 6:EB492703FE108132523855FDB27A18735E33F428D867623CF0F5FC68F1EC9372 ✔
CoreOS PerFirmware Area 6: 4DA11581E2E9318A9D83EBC65F2E8660 ✔
CoreOS Static Area 7:28465263108CC0421E849667AE387E3A3B8DE89AD88F6D398C394DBDDFDFD0FA✔
CoreOS PerFirmware Area 7: 7E869D30E3867F3654F0F06C62DE2B8D ✔
CoreOS Static Area 8:8FFD6345456F1686B3C8E15D3FF5684749877C930C7F8279EA85CEB7CB755D20D1E898D7B846DE52FC4FB058F990C98541970AF8BA0186FD8066B2F24A39E8D826B87F34615244257843A6820FCE376E931163354F36B8406D0AD7853353EB924EED75C92D6FBA22C280CAB4EDA543B74256A41F9ADD4F6C2D2AE370A300C8C9379F2C28562028BDAD4E41921E7C6494EA04962DB82B272A464F845204AC1CB662F3DD1FF802FC19D8FB94A4F38DFE2A18E5D5DBBF8BAF933FD366488A5833E7 ✔
CoreOS PerFirmware Area 8: 23E1C3539679C12F7128AF88A1E71ECA ✔
CoreOS Static Area 9:E14879F7F10906B8833A5BE0E9399B73A97C53A7F5C2F48B9492A9D9682886F169A88D4F45702E49A1FC5609310BEBC7 ✔
CoreOS PerFirmware Area 9: EC630DD9E52FFDA43B37DFAF0A7D5860 ✔
CoreOS Static Area 10:9E30FB9D8D80731B73E5F1B4DD034D578582B20007063267CF9E30663C902A5F ✔
CoreOS PerFirmware Area 10: 78608BD035E3BB2FB6E30B365D35B33E ✔
CoreOS Static Area 11: 47956448C59A54C55C1B7FCD4CBDB3A4 ✔
CoreOS PerFirmware Area 11:7CF10BEFDB56E662E3DA0E7E87BB2D99FA0C7A3747BBA54AF5BFC254CEEAFF2C16019D3284E3F579BCCE3B1F5D07CA89BCA0EC41B86CC529DBCFA572535FFC3AC48A4D3C259B4AE1497B371029E5D2904B7059914B5BA37C9FC13C989393B33229FC8FD91196A551E92BED5DC1B578E915C4062F689E7A2DC6342E3B0BD0A51B3B29FA9A8A16EE5D135571F2B62EE5BE0CB62BA785C99FE1076121DF580B6B1B4852D83895DDA32D0AF58ADA0D407C9C532A92DDF84CCA51EC31B9CA01CE0EFC8E39E9D499A91769C7A92A9467D21751FB9219F9B76442A45B4DCF9F7370A7990B7EAA4572C5A97831B72FCD2E36F5C4A04757B877B4F29ED4CE18227C38AC225309A4E83B6D67B4446F79FDE27EC7A63DA365C7B43A2D01EE93A9325E893ED79549955701BB40AB724DDEEB71064322E3D55244897F0956ECB4AA8A46EA0125130D3408B51A1B5B28AEFFB97715D1480DAD96416A99C05B83108D23C6ADEF2BBDB66BD6934C6DD840FDAB9E5026CB9AE0C965DE7C6D65593CD849516F1550259FD13A0CADB78CF3E6EFC28F967EBE3E8A362A78DF0C69E6DB634A1729DA6C1F38F6B0CDFE80E341B0BC0C4C4E76193340B67F4DAC282A9EACAD9993224BE6374D9A914698873794D14EF8BFDAA1644E80E7BBBA7CA5614B996B3B63D9CAF6A603CE1A4C186D4176AF3586AF7252562F92DCB3F1674637E699824FEA40B23D152574270866221F0DDC586134F6EF366712A16DE11642F1591C4C0AA78409599088FB68B695F8254D05452D8842CC7B4C9C3FCB39FA8FD9B0B18AD234B32E7BC7337255F31DC7E3D0370443A0BDCE5A0C9B79FA571F16B6335F93B2A48E271C55392D18621E71A1AFB2615369F4DE175B5A1D18BC16A11DF2E6E5BE584ABC18779B439FACA093DC79E8EBF831D78373EF ✔
CoreOS Static Area 12 : ✔
CoreOS PerFirmware Area 12:8D3B1324A3832295110D8978C69BE9383091D19C6B6CFAF3C2FC4E82E52690AB07D43624165FDA5D89786A9564BA6F53A6D090430AC2AF34AB371D046A27C13B17FBC073E3EE0EA20080C1BB50E726E25AD82DB0E9F851742896170F6EB2BC4B45FC31795B6AF688B0F2FF6E6F74CAC950C9C1B20CE327A507D243BC1DB724A7CC659C0B6941525049CCEF2F0EF0759D351B6A17F03ED9B8289F386B3E9F792C4BD2820066313F8A7486ED294CEE5E14AB30D3FB40FC664D4984B0C31B4FFE2BFF4807B815231215AA23B5661A7A824057E8B92F20A69CB65838126F8747FA845A0D720858B9E5A96014205A8B50285EF5A4F89060066D8D87A3991DBCA0BEE20D474EAC2A070CB343ED84599C5F6284CFE36C9D4F673A73F4D2A80E2CBB50165E82C32EDC7B7813C0FD6B766BB9E35E7C858F5E5091B30A275B100B4A8A143A768FF1AFD5CDE8FFD69F7D920A01BC93A3DBE727425E1B4EA9DC46E8410486E90768E82E4ADECCFB66EBBB762F2C6EA4471A01AB175D714593618C957A59F2C43E59B211F0479DE51BDCEA752E59D3062CE57F1F0FFA2EE950C30AE44A4D3CFF1957C6755B88F78557E933AD28BBA36EFF01BEA300E2A8634FE5910852D750F6EE51862F498967715A9037E16A0485CC66CA70EFB3A5787E6CCF3B23A914B6022A62153D300D5B6125AC2AFE5D34BE1EBE8351D5E3F5935D2D3519B3F3EAD1867392885FE806E7D8DE55911264C7CEB820808626DE925873615B2EB82D1091901A5582031F8DE5C116095666A47880AC4E955F06D791F81CB573F63EBAF7718B919325C64B3EC377B3BB8BAC7E22A5AD682A6069A4DB20E84218E39156CCBE1B44770F8A4794B6BA382C30B0D93B1A5FF10DC3E827F7431B90196249CEC5A796F4EFC20B5D82588C68DC83AA0C94FE52 ✔
CoreOS MD5: 3C4A4CE7A46E109E9E9A4D3FD4FAC2CE
So it turns out there are actual static/dynamic fixed areas within the CoreOS - after which is becomes truly random. I am sure there is more I can find in the NOR.

I think the next update will have better validation within the repetition spectrum.
 

pearlxcore

Developer
Senior Member
Contributor
Verified
That is nice finding and update. Never knows there is static section within CoreOS. Those static value is same within a console? Is it differs in each firmware?

@BwE I haven’t touch the tool since it released. Kinda busy now ;)
 

BwE

Developer
Senior Member
Contributor
Verified
It will remain the same for the same console, unless its been updated, then the dynamic section will be different ;)

So this may be a way to determine the version - I just need to get another low firmware PS4 and update it, dump it, update it, dump it, update it, dump it etc. But I can not be bothered to do this. So I won't ;)


What's up gangsters. Im now on version 1.3.8!

Same url. Both for my program AND FOR DONATIONS!

PEACE!
 

BwE

Developer
Senior Member
Contributor
Verified
Now version 1.4!

Stats:
  • 13,652 Lines of Code
  • 2110 Offsets Read
Version History:
  • 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. Versions From Here On Will Be Released Slower Due To University Commitments!
  • 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 (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 (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 (28/11/18) Improved VTRM & CID Validation, Typo Fixes & Better Colours.
  • 1.0 (27/11/18) First Release!
More Information:
  • File MD5: 93AB3E1D6554C9B1EDA34DE77FC82861
  • Chiptune: Jesper K (Paradox)
  • Illustration: James Zapata - The Nothing King (Modified by BwE)
System Requirements:
  • Windows XP, 7, 8 or 10 (32/64bit)
  • 8mb+ Storage Space
Archive Password: BwE

Download: BwE_PS4_NOR_Validator.rar (8.2 MB)

@zecoxao I added your offsets to make an extractor. I will maybe do more with the SELF info later ♥

Late edit: Upped to 1.4.1, no need to update, mostly cosmetic/typo fixes! Same url etc
 

mawhatt

Member
Contributor
Verified
Hi @BwE I have a 1202B series PS4 that failed on an update and now does not turn on. The console beeps 3 times when first plugged in but there is no response from the power or eject buttons.

I have dumped the NOR and ran it through your program. It gives 6 Unlisted, 5 Warnings and 3 Dangers. Could any of these be the cause of the fault? Any help is much appreciated.
Code:
SLB2 Dynamic Section 2 (File Size): 4CC70 [UNLISTED] 
C0000001_stage1.bin MD5: 1379607C88C88731581F84C83334564D [UNLISTED] 
SLB2_2 Dynamic Section 2 (File Size): 4CC70 [UNLISTED] 
C0000001_stage2.bin MD5: 1379607C88C88731581F84C83334564D [UNLISTED] 
C0010001.bin MD5: B329B717EFE2A50451B0B88AFA9AE6B0 [UNLISTED] 
SLB2_4 Dynamic Section 2 (File Size): 6A01B [WARNING] 
C0020001.bin MD5 (WiFi/BT): 869188408528D852D7564BC17A1BB41E [UNLISTED]
C0020001.bin (WiFi/BT) Entropy: Unable to Calculate [DANGER] 
CID Hard Drive Flag 1: 05A4 [DANGER]
CID Filler 1: 9F6F0100000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [DANGER] 
CID Dynamic Section 7: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [WARNING]
UNK 1200 Special: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [WARNING]
UNK Flag Filler 5: '20' found at offset: 0x1CD601 [WARNING]
UNK Dynamic Section 25: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [WARNING]
 

BwE

Developer
Senior Member
Contributor
Verified
You'd have to send me the whole dump buddy

Hey gangsters, latest version 1.4.4 had been released! I was thinking of not having a loader, seeing as it annoys some people. But I thought about it and nope it stays 😂 suffer!

Anyways I also added a new WiFi/BT firmware to my programs. Exciting!

Uhhmmm yeah! Enjoy
 
Status
Not open for further replies.
Recent Articles
XNA RPKGMAN: XNA Remote Package Manager by Cypheron
Hey everyone, following PS4 PKG Sender v1.03 I have created XNA RPKGMAN: XNA Remote Package Manager which is a fully dynamic, lightweight package manager that only requires NodeJS/NPM and runs on...
Bad_Hoist PS4 Toolchain Porting Guide for Unsupported Firmware by Sleirsgoevy
Proceeding his PS4 ROP 8CC Port, Bad_Hoist 6.72 PS4 Webkit Exploit Port and preliminary Checklist to Port the Toolchain, today PlayStation 4 developer sleirsgoevy updated his Github repository...
PS4GDB Ring 0: GDB Stub to Debug PS4 Kernel by M0rph3us1987
Last month he shared a GDB Stub PS4 Port to Debug Userland Apps, and today PlayStation 4 developer m0rph3us1987 returns with a gdbstub_ring0.bin payload which is a PS4GDB Ring 0 GDB Stub for PS4...
Sony Announces DualShock 4 (DS4) Controller Colors Are Returning
We've seen Translucent Crystal, Midnight Blue & Steel Black, Berry Blue, Sunset Orange, Blue Camo & Copper, Alpine Green and Electric Purple, Red Camouflage, Titanium Blue & Rose Gold DualShock 4...
Top