openorbis / mira-project-archive Goto Github PK
View Code? Open in Web Editor NEWThe Homebrew Platform
License: GNU General Public License v3.0
The Homebrew Platform
License: GNU General Public License v3.0
Add PlayStation Virtual Reality patches/support for all supported firmwares.
title
Firstly thanks for all your work!
Then, I can't update to 5.xx, so I will need a version for 4.7x. How can I find the values for the patches? Do I need an exploit to dump kernel and look at it?
Thanks a lot again
In order to ensure that everything is ready to get mainlined, consult https://ci.appveyor.com/project/kiwidoggie/mira-project/build/1.2.61
for your respective versions and write below
BUILD : 1.2.61
FW: 5.05/5.01/4.55/4.05
DESCRIPTION :
(Mira)
Suspend/resume : Working/Freeze/Panic
Shutdown : Working/Freeze/Panic
(Mira+HEN)
Suspend/resume : Working/Freeze/Panic
Shutdown : Working/Freeze/Panic
@OpenOrbis/testers-405 : https://ci.appveyor.com/project/kiwidoggie/mira-project/build/1.2.61/job/ergnnny9g6x3vgi8/artifacts
@OpenOrbis/testers-455 https://ci.appveyor.com/project/kiwidoggie/mira-project/build/job/lyxm4q6ejbaxyplo/artifacts
@OpenOrbis/testers-505 https://ci.appveyor.com/project/kiwidoggie/mira-project/build/job/spo1o7jkx0bg3x9x/artifacts
Hi, I don't really know if this is the place to mention this, but a while ago I jailbroke a ps4 and found I kept losing game save data. I finally found the reason was that when I select a game to delete, and press the delete "star" buttton, not only the selected game and accompanying data is deleted, but game save data for every game is deleted, without any warning.
To me this is a bug. I restarted a lot of games (such as Shadow of Colussus and No Man's Sky) and replayed the same parts over and over to try to get to the point I had reached before I lost the data until eventually it just became a chore and the games were ruined.
This appears to not allow proper klog reading, verify that 1. klog reading is non-functional and that the patch does not currently work/has been fixed already.
Once 1.2 is rolled out, and being work is being started on 1.3, we need to look at all Mira's features and be able to have an easy way to get global feature sets.
oni-framework.vcxproj and freebsd-headers.vcxproj are missing
appreciate if you add them and little startup installation guide , Thanks
Need an Reloadable / Swappable HEN (Homebrew Enabler)
I'm using the git clone --recurse-submodules https://github.com/OpenOrbis/mira-project.git, I did the make create as the Developer Guide but when I run make I get the following error.
/opt/mira-project/Firmware/Dependencies/oni-framework# make
Compiling src/oni/utils/memory/syscall.s ...
Compiling src/oni/utils/utils.s ...
Compiling src/oni/rpc/rpcserver.c ...
In file included from src/oni/rpc/rpcserver.c:1:0:
include/oni/rpc/rpcserver.h:6:23: fatal error: sys/types.h: No such file or directory
#include <sys/types.h>
^
compilation terminated.
Makefile:72: recipe for target 'build/src/oni/rpc/rpcserver.o' failed
make: *** [build/src/oni/rpc/rpcserver.o] Error 1
At some moment, the VSH freeze (unable to open settings for example or some menu was "dead)
and when you try to shutdown the kernel panic.
Allows users to inject payloads into a new process in userland.
well, atm, i try a lot of things, but the problem still the freebsd headers, he can't find types.h, and i updated all dirs and etc... and still giving it.
Compiling src/example_plugin.c ...
Using built-in specs.
COLLECT_GCC=gcc
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 7.3.0-19' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Debian 7.3.0-19)
COLLECT_GCC_OPTIONS='-I' 'src' '-I' '../../Dependencies/oni-framework/include' '-I' '../../Dependencies/freebsd-headers/include' '-D' '_KERNEL' '-D' '_DEBUG=1' '-std=c11' '-v' '-O2' '-fno-builtin' '-nostartfiles' '-nodefaultlibs' '-nostdlib' '-nostdinc' '-fcheck-new' '-ffreestanding' '-fno-strict-aliasing' '-fno-exceptions' '-fno-asynchronous-unwind-tables' '-Wall' '-m64' '-fPIC' '-Werror=implicit-function-declaration' '-Wno-unknown-pragmas' '-c' '-o' 'build/src/example_plugin.o' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -nostdinc -v -I src -I ../../Dependencies/oni-framework/include -I ../../Dependencies/freebsd-headers/include -imultiarch x86_64-linux-gnu -D _KERNEL -D _DEBUG=1 src/example_plugin.c -quiet -dumpbase example_plugin.c -m64 -mtune=generic -march=x86-64 -auxbase-strip build/src/example_plugin.o -O2 -Wall -Werror=implicit-function-declaration -Wno-unknown-pragmas -std=c11 -version -fno-builtin -fcheck-new -ffreestanding -fno-strict-aliasing -fno-exceptions -fno-asynchronous-unwind-tables -fPIC -o /tmp/ccqXmRLi.s
GNU C11 (Debian 7.3.0-19) version 7.3.0 (x86_64-linux-gnu)
compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
#include "..." search starts here:
#include <...> search starts here:
src
../../Dependencies/oni-framework/include
../../Dependencies/freebsd-headers/include
End of search list.
GNU C11 (Debian 7.3.0-19) version 7.3.0 (x86_64-linux-gnu)
compiled by GNU C version 7.3.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 12baff07501e62a0e90bffe2cbcaf8cf
In file included from ../../Dependencies/oni-framework/include/oni/plugins/plugin.h:2:0,
from src/example_plugin.h:2,
from src/example_plugin.c:1:
../../Dependencies/oni-framework/include/oni/utils/types.h:2:10: fatal error: types.h: No such file or directory
#include <types.h>
Upon restarting from sleep mode, the system will black screen.
Please update HEN to 1.7 version in Mira
Check for button combinations to activate/deactivate trainers/other features.
Mira works, Protobuf Works, Go Time. If you are like me, you absolutely hate the 4 minutes it takes for the console to do it thang. I've invested in a a SSD to make the process slighly less painful, but it's still very painful. No more bloodshed. This is just a mental dump of stuff that I find annoying each time I go to work on something.
Command - Description
version - Gets Mira's version, the target OS version (kernel string for Orbis, build info on FreeBSD, lsb_release on deb)
time - Get's targets run time
attach - Attaches to a (user/kernel) process, or kernel thread
detach - Detaches from process
kill - Kills attached process (sends signal if argument provided)
restart - Restarts process (if launched from dev mode), or console (if debugging kernel)
reboot - Reboots the console
echo - Prints to console
sym - Search for a symbol (exact)
lssym - List symbols near provided address
reload - Reloads entire debugee state (ghetto hack to re-initalize everything)
ldreload - Reloads entire debugee/symbols state from provided ELF (dangerous)
lsmodules - Lists all modules
Features:
Source line debugger
Structure building
COM/UART/NET remote connections (external programs using a wrapper to Read/WriteProcessMemory ie, reclass.net)
Code rewinding and replaying
Hardware breakpoint support
Proper XMM support
Edit and Continue
Crash recovery
Radare2 Support
IDA Support
Binary Ninja Support
If someone could patch the shellcore we could see ps4 game's TTY messages.
No-PSN apps, etc.
A desktop app to interact with Mira.
A plugin for cheat engines to use.
Mira would be a nice middle-man for homebrew apps to use for persistent storage. Each homebrew app could have a unique identifier which Mira would read and provide an API to the app to read/write from/to it's unique persistence directory.
This allows homebrews to use persistent storage without making an absolute mess of the filesystem by keeping it neat and organized via Mira.
mira-project currently needs testers with various PS4 models to run testing builds of Mira and also test new features and also be able to report bugs, and ensure that there is consistency across all of the versions.
We need
When running mira it say's "awaiting payload..." have tried enabling Hen via payload sender also tried to inject the mira bin but no success.
I get the following when trying to compile Mira on an up-to-date Archlinux system. Any ideas?
pepetheprawn% ./init_development_environment.sh
Please choose a firmware:
\t[0] 5.01 Firmware
\t[1] 5.05 Firmware
Option? 1
-----------------------------------------------
Installing Mira with firmware '5.05' selected...
-----------------------------------------------
Creating directories...
Cleaning project...
Compiling src/oni/utils/utils.s ...
Compiling src/oni/utils/memory/syscall.s ...
Compiling src/oni/messaging/messagecategory.c ...
Compiling src/oni/messaging/message.c ...
Compiling src/oni/messaging/messagemanager.c ...
Compiling src/oni/rpc/rpcconnection.c ...
Compiling src/oni/rpc/rpcserver.c ...
Compiling src/oni/utils/dynlib.c ...
Compiling src/oni/utils/kdlsym.c ...
Compiling src/oni/utils/log/logger.c ...
Compiling src/oni/utils/sys_wrappers.c ...
Compiling src/oni/utils/lock.c ...
Compiling src/oni/utils/memory/install.c ...
Compiling src/oni/utils/memory/allocator.c ...
Compiling src/oni/plugins/pluginmanager.c ...
Compiling OniFramework...
Creating directories...
Cleaning project...
Compiling src/crt0.s ...
Compiling src/entrypoint.c ...
Compiling src/mira/boot/patches/patches505.c ...
Compiling src/mira/boot/patches/patches501.c ...
Compiling src/mira/boot/patches.c ...
Compiling src/mira/utils/hook.c ...
Compiling src/mira/utils/hde/hde64.c ...
Compiling src/mira/plugins/filetransfer/filetransfer_plugin.c ...
Compiling src/mira/plugins/logserver/logserver_plugin.c ...
Compiling src/mira/plugins/pluginloader.c ...
Compiling src/mira/plugins/debugger/debugger_plugin.c ...
Compiling MiraFW...
/usr/bin/ld: build/src/entrypoint.o: in function `mira_entry':
entrypoint.c:(.text+0xd8): undefined reference to `__stack_chk_fail'
/usr/bin/ld: build/src/mira/utils/hook.o: in function `hook_create':
hook.c:(.text+0x102): undefined reference to `__stack_chk_fail'
/usr/bin/ld: build/src/mira/utils/hook.o: in function `hook_enable':
hook.c:(.text+0x1b8): undefined reference to `__stack_chk_fail'
/usr/bin/ld: build/src/mira/plugins/filetransfer/filetransfer_plugin.o: in function `filetransfer_stat_callback':
filetransfer_plugin.c:(.text+0x2d9): undefined reference to `__stack_chk_fail'
/usr/bin/ld: build/src/mira/plugins/filetransfer/filetransfer_plugin.o: in function `filetransfer_read_callback':
filetransfer_plugin.c:(.text+0x6d3): undefined reference to `__stack_chk_fail'
/usr/bin/ld: build/src/mira/plugins/filetransfer/filetransfer_plugin.o:filetransfer_plugin.c:(.text+0x9c2): more undefined references to `__stack_chk_fail' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:82: MiraFW_Orbis.elf] Error 1
-----------------------------------------------
Done!
Allows user to load linux via remote command (USB must be plugged in that contains a bootable Linux image).
Can this be ported to 5.53?
We also need dedicated people to help with the localization process of Mira + Toolkit
This is happening due to the major refactor.
When execute /init_development_environment.sh return?:
cc1: error: command line option ‘-fcheck-new’ is valid for C++/ObjC++ but not for C [-Werror]
cc1: all warnings being treated as errors
Makefile:72: recipe for target 'build/src/oni/utils/sys_wrappers.o' failed
make: *** [build/src/oni/utils/sys_wrappers.o] Error 1
Creating directories...
Cleaning project...
Compiling src/crt0.s ...
Compiling src/mira/utils/hook.c ...
cc1: error: command line option ‘-fcheck-new’ is valid for C++/ObjC++ but not for C [-Werror]
cc1: all warnings being treated as errors
Makefile:87: recipe for target 'build/src/mira/utils/hook.o' failed
make: *** [build/src/mira/utils/hook.o] Error 1
Currently there is a prototype Trainer SDK that will need to be more fleshed out at a later date
After I use the patch,I go inside the debug menu.I wanna try out all of the function.
But when I enters to the package installer,the screen goes black.and I realize my console has power off.
I didn't plug in a extrnal drive ofcourse,because i was trying the functions.Is thats where the problem happens?If so I suggest to add a drive detection so this won't happen again.
Every-time i turn off the console and leave it for a bit then come back it deletes my saves. I was thinking it's the REST mode bug, but it's happening outright when turning off console then coming back.
anything i can do to give more info, just let me know
I would like to request a feature to lift screenshot restrictions in applications. Many games forbid you from taking screenshots during movies and cutscenes, Persona 5 specifically doesn't let you screenshot anywhere at all. I love taking screenshots and its sad that I'm unable to without capture card.
Just a question, whats features work now and what is uploaded in this repository ?
Hi !
I have worked on OverlayFS, that work with app0 (1.00) only (i use 1.00 even if a update exist for now).
The PoC work without problem, but when you try to implement patch0 in the app0 folder the kernel panic.
Stange things append:
union of app0 => patch0 (Work)
union of app0 => mod0 (Work)
union of app0 => mod0 => patch0 (Work)
union of app0 => patch0 => mod0 (Panic)
(last folder is the "main" folder, all file in this have the highest priority)
At request of kiwi, we need to add mprotect patches to all firmwares in oni boot/patches
An API via DLL to interface with Mira and manage memory.
i'm getting the following error while trying to build MiraFileTransferPlugin project
2> C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Application Type\Linux\1.0\Linux.Makefile.Targets(143,5): error : cd ~/mira/Firmware/Plugins/MiraFileTransferPlugin;make create;make exited with code 2
debugger_plugin.c and debugger_plugin.h is missing from the project.
In the lld linker
WHEN NEW DIR, PERMISSION NO
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.