Category PS4 CFW and Hacks       Thread starter LightningMods       Start date Feb 3, 2017 at 5:13 AM       5,069       1            
Status
Not open for further replies.
Following his previous releases, today PlayStation 4 developer m0rph3us1987 let us know on Twitter that he's abandoning the PS4Ninja project so he's decided to share the PS4Ninja file browser homebrew application's source code with PS4 community developers! :ninja:

Download: ps4ninja-master.zip / GIT / ps4ninja_672.7z (18 KB)

From the Readme.txt, to quote: How to build

1) Go into ps4ninja_win\Browser\PS4NINJA and type
Code:
make
This will build minlib, ps4ninja (PS4 part) and create payload_176.bin.

2) To build the windows application, open the VS Solution and build it.

3) You can manually build any of the components by entering into the directory and type "make".

From Ybin.me:
Code:
// Decrypted EAP partition key and print it into klog
// key for /eap_user, /User, /Update
void getEAPPartitionKey(){
   void(*bzero)(void *buf, size_t len) = (void *)0xFFFFFFFF82613B00;
   void(*icc_nvs_read)(size_t id, size_t no, size_t offset, size_t len, unsigned char *buff) = (void *)0xFFFFFFFF82639CD0;
   void(*sceSblGetEAPInternalPartitionKey)(unsigned char *encBuffer, unsigned char *decBzffer) = (void*)0xFFFFFFFF827B1B00;

   // Allocate needed space
   struct malloc_type *mt = ps4KernelDlSym("M_TEMP");
   unsigned char *encNVSKeyBuffer = (unsigned char*)malloc(0x70, mt, M_ZERO | M_WAITOK);
   unsigned char *decryptedKey = malloc(0x20, mt, M_ZERO | M_WAITOK);
   bzero(encNVSKeyBuffer, 0x70);
   bzero(decryptedKey, 0x20);

   // Read encrypted key from NVS
   icc_nvs_read(0, 4, 0x200, 0x60, encNVSKeyBuffer);
   
   // Let SAMU decrypt the key for us
   sceSblGetEAPInternalPartitionKey(encNVSKeyBuffer, decryptedKey);

   printf("\nsEAP partition key: ");
   for (int i = 0; i < 0x20; i++)
   {
       if (decryptedKey[i] < 0x10)
           printf("0x0%x ", decryptedKey[i]);
       else
           printf("0x%x ", decryptedKey[i]);
   }

   printf("\n");
   return;
}
Cheers to @mota for sharing the news in the PSXHAX Shoutbox! :beer:
PS4Ninja PlayStation 4 File Browser Source Code by M0rph3us1987.png
 

Comments

Status
Not open for further replies.

PSXHAX

Staff Member
Moderator
Verified
Another GREAT release... and a BIG thanks to m0rph3us1987 for deciding to make it open source to give another PS4 dev the opportunity to learn from it and possibly take over the project someday. :cool:
 
Status
Not open for further replies.
Recent Articles
Black PS5 DualSense Wireless Controller Images Surface, Prototype Leak?
Proceeding the leaked images of PS5 Swappable White Console Plates, Sony's confirmation that PS4 Peripherals & Accessories Are Not Compatible with PS5 Games and the PS5 News of Updatable DualSense...
New PSN Titles Join PlayStation Store's Summer Sale Promotion
Headlining Sony's latest PlayStation Store Summer Sale promotion are more sizzling hot PSN titles including Final Fantasy VII Remake, Doom Eternal and World War Z. :fire: Here's more from...
PS5 DualSense Wireless Controller to Have Updatable Software
When you thought updating PlayStation 5's Firmware just to play a video game is enough hassle, Sony kicked things up a notch with confirmation on the DualSense Wireless Controller official page...
Latest PS4 Games Joining PlayStation Now in August 2020
Today Sony revealed the latest PS4 additions to their PlayStation Now digital video game streaming service this August for PS Now members will be Hitman 2, Greedfall and Dead Cells. šŸ˜€ Here's more...
Top