Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Feb 19, 2018 at 11:06 PM       17      
Status
Not open for further replies.
Following PS4 Debugger 4.05, today Kiwidog made available an open source Oni Framework PlayStation 4 debugger for developers working on PS4 homebrew development. :geek:

For those curious he notes on Twitter, to quote: "Oni framework isn't specific to anything, It's just basic c code that can be ported to anything (I use it on my headless Pi's)."

Download: oni-framework-master.zip / GIT

Here's more from @KIWIDOGGIE in the README.md, to quote: Oni-Framework

Oni framework is a platform for embedded device software development. It is used in order to remotely debug/add functionality to an embedded device. As of right now, the main concepts are a fully modular plugin system, with local and remote rpc. This was designed to run at ring-0 privilege level, but with some tweaks can also be used in ring-3 levels. Be warned, this is NOT for production use, only for developers who want an easy building platform for research.
  • Currently this project is in development, and may not be fully tested
  • Will need decent knowledge of C/C#
  • Magic
New Features!

Currently supported features

  • Fully robust local and remote RPC system
  • All used functions are stubbed out in order to ease porting to different platforms
  • File transfer utility
  • Color logging system (works over UART with PUTTY)
Features that are planned:
  • Debugging framework
  • Remote package management and install
  • Communication between devices
  • Hot-swappable loading and unloading of plugin modules
  • Self-escalating from ring-3 to ring-0 (BYO-EntryPoint)
Building and Installation

Oni-Framework just requires that you check out this directory and implement the oni/utils/kdlsym/default.h file with all of the implementations that are required. After this, it should compile just fine with gcc or clang and produce an executable file. You will need to BYO-execution method, but for most embedded devices this can be accomplished via a ssh shell, or a shell over telnet, or any shell for that matter. Other devices may have to load into running memory context, then jump to main which should take care of all of the initialization issues.
  1. Clone the repository git clone https://github.com/kiwidoggie/oni-framework.git a. Optional: Set FreeBSD headers location export BSD_INC="/path/to/freebsd/headers/include"
  2. If you are building for the first time you must run make create which will create the folder structure
  3. Build using make a. If you have not set the environment variable you can build with make BSD_INC=/path/to/freebsd/headers/include
Porting to different platforms

Oni-Framework does not rely on a fully functional libc, and is built to build, and run completely standalone (provided all pre-requisites are met). Instead needed functionality is pieced together from the bare minimum of existing functions either in an running process's context, or kernel context (the latter is the only one tested).
  1. Create a new kdlsym (kernel dynamic symbol resolution) target by creating a new header in include/oni/utils/kdlsym/my_platform.h
  2. Copy and paste the contents of include/oni/utils/kdlsym/default.h to your newly created header file
  3. Add your new target to include/oni/utils/kdlsym.h
Code:
#if ONI_PLATFORM==ONI_UNKNOWN_PLATFORM
#include "kdlsym/default.h"
#elif ...
#elif ONI_PLATFORM==ONI_MY_PLATFORM
#include "kdlsym/my_platform.h"
#endif
  1. Add your target to the configuration file which is located at include/oni/config.h
Code:
// Unknown device
#define ONI_UNKNOWN_PLATFORM        -1
#define ONI_MY_PLATFORM        5
  1. Change the current build target by changing #define ONI_PLATFORM ONI_UNKNOWN_PLATFORM to #define ONI_PLATFORM ONI_MY_PLATFORM
Developers

If you want to contribute, just submit a pull request. Otherwise, there is no real support for this at this point. This may change in the future.

Twitter: @diwidog
Cheers to @SSShowmik for the heads-up in the PSXHAX Shoutbox earlier today! :beer:
PlayStation 4 Debugger Oni Framework by Kiwidog Now Available.jpg
 

Comments

If I could, I would time him out or ban him. ;)
EVERY single news have people like this that beg for an 5.xx Exploit.
 
I agree--people that have nothing better to do than either comment saying something is useless or whining because there is no exploit on higher fw's should be at the very least censored from posting. The scene is red hot right now with no in-fighting like we've seen in the past and everyone just freely sharing what they are working on.

These people that continue to post moaning and whining and being completely rude and inconsiderate seriously put this very young community in jeopardy and should be kicked immediately, without question.

This site needs a "suggestion" section. I realize why the rules are so strict here and am very grateful for them but when I can't pm a mod or make a thread asking why this behavior is being tolerated and nothing is being done about it, that is a problem.

@PSXHAX @Donely @jwooh @mschumacher69

I realize I don't know any of you, I simply picked out the most active mods on the site. Please do something about this issue!!
 
It's no different than any blog or social media outlet really, people comment to share their thoughts, opinions, etc and of course not everyone will feel the same way.

One thing we do offer here is an Ignore List that you can add people's UserNames to so that you won't see their comments on the forums or Shoutbox. ;)
 
Ooo I didn't know that. While yes these ppl are bummed not to be able to get these goodies. Complaining about it in every thread won't get the exploit any closer. I wish they would understand. However these are the type of ppl who don't read first and ask the same questions all the time. But indeed, how many will you ignore on the list? You put one there and 10 more gonna pop up saying 5.XX xploit blabla. Best thing to do, ignore them completely.
 
It's not so much me. I do find it very annoying and it does irk me, however I've been around long enough to see the impact these very few can have and it is devastating.

Someone releases something and gets 1 thanks and 10 posts basically saying FU and ur work and eventually they either just stop working or stop sharing.

These very vocal people that constantly do this can absolutely destroy what is very well becoming a great young scene and community basically overnight.

I understand not wanting to censor/ban them but at least please post a notice that asking for 5.xx firmwares or commenting in 4.05 release threads about 5.xx firmwares will not be tolerated. Many forums have done this in the past with past scenes and it works very well when it is monitored and enforced.

It's only a manner of respect to the very hard working people releasing and sharing their findings freely. Without them, there would be no discussion period. If they disappear so does the scene in it's entirety.
 
Someone releases something and gets 1 thanks and 10 posts basically saying FU and ur work and eventually they either just stop working or stop sharing.

These very vocal people that constantly do this can absolutely destroy what is very well becoming a great young scene and community basically overnight.

I think this whining people are undercover sony employees, hahaha... you know, trying to piss off anyone who shares anything, so they don't do it again. :p
 
Status
Not open for further replies.
Back
Top