Category PS4 CFW and Hacks       Thread starter LightningMods       Start date Feb 3, 2017 at 5:13 AM       4,351       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

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
Contributor
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
Metal Gear Solid HD Remake in Dreams on PS4 by Bearly Regal
Similar to what's been done with LittleBigPlanet customizing and recreations, recently Bearly Regal on Twitter shared a Metal Gear Solid HD Remake now playable in Dreams by Media Molecule on PS4...
Vacation Simulator Floats on PSVR Tomorrow, Launch Trailer Video
Those who'd love to take a vacation if they could only get away from work may want to check out Vacation Simulator releasing tomorrow for PS VR on PlayStation 4. ☀ ⛱ 🥥🌴🌊 Owlchemy Labs Tech...
Some of the PlayStation 4 E3 2019 PS4 Trailer Videos!
We've seen a Watch Dogs: Legion PS4, Marvel Avengers: A-Day PS4 and some Final Fantasy VIII Remastered & Final Fantasy VII Remake PS4 videos from E3 2019, and below are several more PlayStation 4...
Crash Team Racing: Nitro-Fueled Races to PS4 Next Week
CTR racers on your mark, get set, go... as Crash Team Racing: Nitro-Fueled speeds onto PlayStation 4 next week. 🏎 🏁 Get ready to go fur-throttle in the fully-remastered and revved up to the max...
Top