Giter VIP home page Giter VIP logo

finalhe's Introduction

Final h-encore

Push the h-encore exploit for PS VITA and PS TV through a Windows, macOS or Linux GUI.

Credits

see CREDITS.md

Common usage

  1. Download a pre-built executable binary below.
  2. If you want to update PS Vita to firmware 3.60, 3.65 or 3.68 through USB connection, download related Update Packages here and extract the PSP2UPDAT.PUP to the same folder as this tool
  3. If you want to install VitaShell or enso by transferring in Content Manager, download prebuilt zip from releases tab and put in the same folder of this tool
  4. Connect your PS Vita to your computer via USB
  5. Run the executable and follow the on-screen directions

Prebuilt binaries

Download a pre-built executable binary below and follow instructions. Supported firmwares: 3.60, 3.61, 3.65-3.72

  • For Windows get the latest release
    • if you have not installed USB driver for PS Vita: install QcmaDriver_winusb.exe (also on the releases page)
  • For macOS, the last pre-built release is v1.5
  • For linux openSUSE
    1. add a home repository to your local software repositories:
      • sudo addrepo -f http://download.opensuse.org/repositories/home:/seilerphilipp/openSUSE_Leap_15.0/
      • note: if using Leap 42.3, replace the version in the url with 42.3
    2. install package
      • sudo zypper install finalhe
    3. Run "FinalHE"
      • in your terminal type FinalHE
  • For Arch Linux
    1. Install the finalhe-git package from AUR:
      • yay -S finalhe-git
    2. Run finalhe in your terminal

Build from source

Prerequisites

  1. macOS: install brew, build tools (xcode-select --install) then install dyld, libusb, pkg-config & qt5 through brew (brew install dyld-headers libusb pkg-config qt5)
  2. Linux:
    • Debian/Ubuntu: install build-essential, libxml2-dev, libusb-dev, libusb-1.0-0-dev, zlib-dev or zlib1g-dev, qtbase5-dev, qttools5, cmake(if use cmake to build)
    • Fedora/CentOS: group install "Development Tools", install libxml2-devel, libusb-devel, zlib-devel, qt5-qtbase-devel, qt5-qtbase, qt5-linguist, cmake3(if use cmake to build)
    • openSUSE: install cmake >= 11.0, gcc-c++, zlib-devel, libxml2-devel, libQt5Widgets-devel, libQt5Network-devel, libqt5-linguist-devel, libusb-compat-devel
    • Arch: install base-devel, libxml2, libusb, zlib, qt5, cmake (if using cmake to build)

Build from source

You can choose either qmake or cmake to build

  • cmake: run cmake to generate Makefile for compiling
    • macOS: it cannot produce app bundle, and you need to specify CMAKE_PREFIX_PATH if Qt is not installed in default location: cmake -DCMAKE_PREFIX_PATH=<Path of Qt Root> <Path of Project Root>. If you have installed qt5 with brew, and are on project root directory, you can run with cmake -DCMAKE_PREFIX_PATH=/usr/local/opt/qt@5 .. Then run make and you can open it by double clicking at src/FinalHE.
  • qmake: run qmake to generate Makefile for compiling, run make lcopy in src folder to compile translations and copy them to binary folder

Contribute translations

  • For coders using Qt:
    1. If using qmake, add your language to this line in src/src.pro: TRANSLATIONS += ..., and re-generate Makefile from qmake, then run make lupdate in src folder, you will get new generated .ts files in src/languages
    2. If using cmake, add your language to this line in src/CMakeLists.txt: set(TRANSLATION_FILES ..., and re-generate Makefile/project from cmake, compile it, you will get new generated .ts files in src/languages
    3. Open .ts files with Qt Linquist tool and translate strings into native language
    4. If using qmake, run make lcopy in src folder and you will get compiled .qm files in languages folder
    5. If using cmake, compile the project and you will get compiled .qm files in language folder
  • For non-coders:
    1. Copy translations/en_US.ts to a new file with filename in IETF language tag form (but replace "-" with "_")
    2. Open the .ts file, it is just in xml format, go through all elements of <translation type="unfinished"> to translate, and remove the property type="unfinished" from translated items

finalhe's People

Contributors

1jtp8sobiu avatar arviantodwi avatar bandithedoge avatar breucode avatar catkasha avatar coliff avatar crpo4 avatar detchenkov avatar evanjuv avatar felleg avatar hack-usagi avatar huntergdavis avatar khawkins98 avatar lienby avatar m2l2kopower avatar nighto avatar pseiler avatar ry0m43ch1z3n avatar soarqin avatar spenaat avatar theherogac avatar vinnyvynce avatar wababc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

finalhe's Issues

Can't Extract FINALHE_v1.92_win32.7z

If I try to open or extract this file it says I don't have an app associated with performing that action. Do anyone know what app I need to install and where to install it?

No longer working in macOS Mojave

It appears that the software no longer works with macOS Mojave. While attempting to use the application, it will frequently crash or lose connection. It does this on two macOS Mojave machines on 10.14.1.

cannot connect to PC

installed qcmadriver_winusb.exe, win10, reboot, never got connected once to PSV ever, what went wrong?
PSV1000.

Crashes when downloading h-encore.zip

Every attempt to download h-encore.zip fails on Windows 10 Pro x64.
https://puu.sh/B3h7i/71369b3ebc.png

Visual Studio gives the following information:

Unhandled exception at 0x01198A54 in FinalHE.exe: 0xC0000094: Integer division by zero. occurred.

Edit: The program seems to successfully download and extract h-encore the first time (but still crashes afterwards). I think it might have to do with the progress bar having its max value set to 0, or something like that.

H-encore2 crashes after trophy message

Every time that I try to launch H-encore2, it pops up a message asking if I'm fine launching it even though I won't receive trophies from it and when I select yes, it reboots the console and asks me if I wanna report a problem! I'm using a PSTV 3.73 and I don't have any applications installed yet aside from H-encore2 so I can't use Vitashell or anything else like that to be clear!

FinalHE v1.8 doesn't work properly on PSTV.

I just tested FinalHE v1.8 on PSTV(3.60/3.65/3.68)
It keeps giving me error code "C2-12828-1" and the exploit is hardly successful.
I am thinking this problem occurs because "Featured" app is always running on PSTV

For example, this problem also occurs on Vita1000(3.60/3.65/3.68) when I launch the h-encore app with opening any other bubble at livearea.

So I tested several times with the following file/directory structure and the success rate improved significantly.

/resource/image/sys/ (for some reason, this directory improves the success rate)
/resource/image/sysc/sysc_button_number.png ( this file improves the success rate significantly)
/resource/image/sysc/sysc_panel_button_base.png
/resource/image/sysc/sysc_panel_button_mark.png

Could you please check this thing?

P.S.
These files also can be removed to reduce file size.

/configuration.psp2path
/sce_pfs/pflist
/sce_sys/package/body.bin
/sce_sys/package/stat.bin
/sce_sys/package/tail.bin
/resource/image/sysc/sysc_load_base.jpg

finalhe-1.92 macOS / compilation fails

Yo! Thanks a lot for this awesome project. I really appreciate the work you've put into this. This is super valuable since DRM free demo file is no longer available. I cannot follow the manual from h-encore².

I'm trying to compile finalhe-1.92 following the manual. I encountered a few roadblocks, some of which I managed to resolve but I'm still at a dead end. Please note I have some experience with programming but I wouldn't call myself a programmer.

I installed libusb & qt through brew. I had to change some paths to get qt to work. I'm stuck at libusb. When I make the file, it ends with

Project ERROR: libusb-1.0 development package not found

I have no idea what I'm doing wrong. I got libusb installed as per manual. I can also see it in /deps/ .There's a good chance it's something silly.

Any advice is greatly appreciated.
Cheers!

h-encore can be trimmed to 7232KB.

Only files acturally required for hencore to work:

|   eboot.bin
|   
+---sce_module
|       libc.suprx
|       libfios2.suprx
|       
+---resource
|   \---image
|       \---sysc
|               sysc_panel_button_base.png
|               sysc_panel_button_mark.png
|               
+---sce_pfs
|       files.db
|       pflist
|       unicv.db
|       
\---sce_sys
	|   clearsign
	|   keystone
	|   param.sfo
	|   
	\---package
			body.bin
			head.bin
			stat.bin
			tail.bin
			temp.bin

removing all other files results in 7232KB h-encore bubble. lol

Change firmware requirements.

The most useful reason for memecore to exist is to have it on 3.61, that way you can skip hassle updating to 3.65 and then downgrading to 3.60. Same goes for 3.63/3.67 as it's supported by h-encore. Though it should be mentioned that downgrade is recommended(if not necessary) when installing.

How to use this on PSVTV ?

I try to jailbreak my PSVTV but get stuck at the very begging... I connected my PSVTV to computer by qcma, but when I open the FinalHE.exe it tells me to quit qcma, then the connection in content manager is terminated and the program keeps showing "waiting for connection to PS Vita". I searched on google but didn't find any useful information, does anyone know the correct way to use this on PSVTV?

GNU/Linux Debian 9 - Compilation failed - sha256.h

I'm trying to compile the sources but i'm getting the error:

finalhe-1.92/src/package.cc:23:20: fatal error: sha256.h: No such file or directory
 #include <sha256.h>
                    ^
compilation terminated.

Am i right to suppose that i have a missing package here?

Can't access to PSN with FinalHE v1.8(memecore)

v1.8
Support for memecore(h-encore 2.0 for VITA 3.60 support with PSN access)

In my case, I still can not access PSN on Vita1000(3.60)/PSTV(3.60).
The spoof version is set to FW 3.70. Can you confirm this?

Unable to update firmware to 3.65

I have added the correct firmware .PUP file to the same dir. And restarted the PC, Vita, and FinalHE but "Let's GO!" is disabled. Tried with 1.92, 1.81, and 1.8. Did I miss a step? See screenshot:

screen

Thanks!

how to install VitaShell or enso?

If you want to install VitaShell or enso by transferring in Content Manager, just download prebuilt zip from releases tab and put in the same folder of this tool

i found this but put which folder?

.deb

I have been trying every way i can to get this to work, am now struggling to compile the source in there a ubuntu version i can just run please

Can't get FinalHE to launch

FinaHE starts on my Win 10 PC. Sony Content Manager is installed. Vita is connected via USB cable. I'm able to transfer data back and forth PC to Vita.

When launching FinalHE I check the Trim checkbox, but I can never click let's go. FinalHE is always waiting for the Vita to be connected.

I've tried connection via USB and Wifi with similar results. Vita is on 3.68

Everytime I reboot and reopen H-encore I have to use Finalhe to make it work again.

"Everytime I reboot and reopen H-encore I have to use Finalhe to make it work again."

  • Example; when I reboot the only way I can use Henkaku/Hencore again is if I go onto my laptop run Finalhe(Latest version) and reinstall H-encore. If I reboot and attempt to re-open H-encore I get error message with some numbers(I cannot show/tell the numbers of the error since I already reinstalled H-encore just now & don't wanna redo everything..) saying that I have to reopen playstation store and redownload it.

I'm not sure if it's just me or.. If you need anymore information please feel free to ask me and I'll happily reboot just to show the error message I get.

PS Vita Doesn't Connect to FinalHE

I've tried installing the driver but FinalHE does not find my PS Vita despite it being connected to my PC.

I also tried to uninstall qcma but my PC is still showing it in my programs list.

Not sure how to proceed here.

Compiling finalhe on Linux openSUSE Leap 15.0

Awesome work. Will try it as soon as I get finalhe compiled.
But I have one issue. Iconv isn't found on openSUSE, but there are headers from glibc-devel which should provide the file. Is this a cmake error (haven't encountered it in years) or is it from finalhe?
Every other dependency works fine (temporary commented this line
# find_package(Iconv REQUIRED)

I think the following file from the package glibc-devel is relevant which isn't found by cmake.

rpm -ql glibc-devel | grep -i iconv
/usr/include/iconv.h

Do you have any hints how to fix the error?
I have

Does not allow for updating from 3.67 to 3.68

My PSVita connected to the PC happily enough and transferred the h-encore package. It runs successfully on the device.
However, I am trying to update from v3.67 to v3.68. Any time I go to system update > Update from PC it says it is on latest firmware (this happens when I am not running h-encore app, as obviously the update option vanishes once you run it).
Please let me know if I am doing something wrong.
Sorry if this is a false problem, or if I have misread an instruction.

Gives me error code (C3-12049-6)

Can't select any languages on Windows8.1 64bit

There was a comment saying "I can not select languages other than English" on my blog.
His operating system is Windows 8.1 64 bit.
I will post a screenshot
1536843063
I am poor at English, so I use some Google translations.

Where is Linux?

The new release says that linux and mac os are now available.
But only mac was added

Win32 version crashes immediately on startup if a USB HDD is connected

On a Windows 7 system finalhe.exe would crash every time on startup, even after reinstalling the qcma drivers, rebooting etc. until I started plugging out my USB devices one by one and found out the culprit was my Seagate external HDD.

Solved my own issue so if you don't feel like looking into why this is happening that's fine (Windows USB drivers are a pain in the ass more often than not, plus I'm used outdated Windows anyway). I just felt like sharing the issue since if someone else runs into the same problem without realizing what's causing it they might look here.

V1.91 Compiles on Mac But with Errors

So I managed to compile V1.91 on a Mac, but I get some very weird results...
FYI: I used cmake for this

  1. The outputted file in not a .APP like the v1.5 version (but I think you say that in the instructions).
  2. libpng warning: iCCP: known incorrect sRGB profile
  3. You have to MOGRIFY the PNGs in the resources folder, or...
  4. ...you get libpng errors when running the Unix executable that is output by the make process
  5. The outputted file is a fifth of the size of its predecessor (3.9mb).
  6. Warnings are produced that OPERATOR and CREATED are deprecated
  7. For qmake, make lcopy doesn't work make: *** No rule to make target 'lcopy'. Stop.
  8. You seem to have to qmake in the SRC folder then make lcopy works, but i still have to run make to get an output
  9. During the qmake process datautils.c:26:10: fatal error: 'libxml/xmlmemory.h' file not found
  10. During the qmake process clang: error: linker command failed with exit code 1 (use -v to see invocation)

3.61 didnt work

I have the 3.61 Firmware, i instal h-encore, but we i try to run it apear a for a second the screen in white an then the sistem reboot, and apear a messege informing that i dont shutdown the console correctly. Big Thanks in advance.

Mac app

I am running mac 10.13.6 the app closes as soon as it shows on the doc.

Provide up-to-date build instructions for Debian

Build instructions for Debian provided in the README.md don't work on Debian 10 (current stable version) and 9 (oldstable version) - see #69 as an example. It would be nice to have up-to-date build instructions.

I cant compile on Manjaro Linux

[ 86%] Building CXX object src/CMakeFiles/FinalHE.dir/finalhe.cc.o
/home/pollito/Desktop/finalhe-1.2/src/finalhe.cc: In constructor ‘FinalHE::FinalHE(QWidget*)’:
/home/pollito/Desktop/finalhe-1.2/src/finalhe.cc:15:37: error: expected ‘)’ before ‘FINALHE_VERSION_STR’
setWindowTitle("Final h-encore " FINALHE_VERSION_STR);
~ ^~~~~~~~~~~~~~~~~~~~
)
make[2]: *** [src/CMakeFiles/FinalHE.dir/build.make:125: src/CMakeFiles/FinalHE.dir/finalhe.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:367: src/CMakeFiles/FinalHE.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

i couldnt make it recognize usb on linux

PTP: Opening session
VitaMTP: PTP_ERROR_IO: failed to open session
VitaMTP: Cannot configure USB device.

all i get is like above, also i had to patch like this to get it to compile:

diff --git a/deps/vitamtp/vitamtp.c b/deps/vitamtp/vitamtp.c
index 7fa1cbc..f3b2ab9 100644
--- a/deps/vitamtp/vitamtp.c
+++ b/deps/vitamtp/vitamtp.c
@@ -24,6 +24,7 @@
 #include "ptp.h"
 #include "vitamtp.h"
 #include "ptp_defines.h"
+#include "endian.h"
 
 int g_VitaMTP_logmask = VitaMTP_ERROR;
 
@@ -602,10 +603,10 @@ uint16_t VitaMTP_SendCopyConfirmationInfoInit(vita_device_t *device, uint32_t ev
 {
     unsigned char *data = NULL;
     uint16_t ret = VitaMTP_GetData(device, event_id, PTP_OC_VITA_SendCopyConfirmationInfoInit, (unsigned char **)p_info, NULL);
-    LE32TOH((*p_info)->count);
+    le32toh((*p_info)->count);
     uint32_t i;
     for (i=0; i<(*p_info)->count; i++)
-        LE32TOH((*p_info)->ohfi[i]);
+        le32toh((*p_info)->ohfi[i]);
     return ret;
 }

The program only worked once, but never again..

First of all, thanks for this program. It's fantastic. I used 1.4 last night, and it worked without any problem, and is much faster and cleaner than auto-hencore.

Today, I don't know what changed. I tried to use it for another vita, and it no longer works correctly. It can detect and fetch my AID fine. It proceeds to download and unpack all necessary files just fine.

The problem starts happening when it says "Createing psvimg's" (Typo btw, the correct spelling is creating).. It goes from 0 to 90%, then quickly finishes.

Upon checking \DATA\h-encore\PCSG90096\app, I see that app.psvimg is only 32 bytes.
Then checking \DATA\h-encore\PCSG90096\license, I once again see License.psvimg only being 32 bytes.

1.5 changed nothing. Same behavior. But interestingly enough, I redownloaded 1.4, and now the folder layout is different. With 1.5, the hencore folder only has PCSG90096 inside of it, with the other 5 folders inside it. But with 1.4, it has PCSG90096 + 4 of the 5 folders there (sce_sys) is not there. Upon checking these folders, it seem like they are unpacked PCSG90096 game that was is not getting cleaned properly. Also, the creating psvimg's screen finishes instanly.

I went back and tried auto-hencore, that worked fine, so it doesnt seem like a driver issue or anything on my side. Also, since it worked yesterday, I dont think I have anything wrong on my PC.

For reference, I am using a windows 7 64bit PC

Where to place language files when installed in system via package

I installed the "FinalHE" binary to /usr/bin/FinalHE but I don't know where to place the language files in a typical linux QT environment.
I haven't found out the place with strace, because it only access/stat the *.qm files, when they are present.

When placing the *.qm language files in /usr/bin/language/*.qm it works.
But /usr/bin is not a place where to place non-binary files.
Is there place in /usr/share or something where these files are gonna read by FinalHE.

I only found files like these on my filesystem

/usr/share/qt5/translations/$PROGRAMNAME_$LANG_CODE.qm

This is my build instruction for rpm:
https://build.opensuse.org/package/view_file/home:seilerphilipp/finalhe/finalhe.spec?expand=1

3.72 ran h-encore2 but download vitashell fails

As above, h-encore2 booting up and installing the patch is fine but it wont download vitashell. I have the files seperate on my laptop so could i copy these over at all to get it to work that way?

Issue with Mac OS version launch of FinalHE

There seem to be an issue with the Mac OS version of the FinalHE, upon running this application if the PSVita isn't connected to the MacBook, it displays a window (with trim down check box option and waiting for vita connection prompt). Upon connecting a PSVita via a usb cable, the program stops unexpectedly and quits. Have tried this multiple times, but still see this issue.
The MacBook is running a 10.13.1 high sierra.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.