Giter Club home page Giter Club logo

henkaku's Introduction

Build

Only Linux is supported. You will need:

  • Python 3
  • Vita SDK
  • Uglify JS (Ubuntu 16.04 package node-uglify) tested version 2.4.15
  • Other standard tools that you should already have installed, such as openssl, dd, cat, touch

All tools should be in your PATH.

Run ./build.sh to build everything. This script first cleans up all build directories and then builds the exploit.

Develop

It's useful to have everything be automatically rebuilt when a source file changes. To achieve that, install entr and execute in a separate termina:

while sleep 1; do find build.sh krop/ payload/ urop/ webkit/ | entr -d ./build.sh ; done

Then when you change a source file (or add a new one), everything will be automatically rebuilt. Note that if you add a new directory, you will need to update the script.

Distrib

Distribute only the files from the output directory, don't distribute any other files.

There are two versions of the exploit, located in the output directory. Either can be served using any regular web server (e.g. python3 -m http.server).

The offline payload is for running with the Email client. The web payload is for running on the Browser app.

Exploit

To run the exploit, first cold boot your Vita, then navigate to exploit.html. The following situations are possible:

  • browser doesn't display any alert()s and displays a gray "Please wait..." screen after a few seconds: this is normal, allow up to 10 reloads before the exploit actually triggers
  • you get a "trigger" alert(), then nothing happens: the exploit succeeded
  • you get a "trigger" alert(), then the browser crashes: the exploit failed, retry it a few times, then reboot the Vita and try again
  • you get a "trigger" alert(), then the system crashes: that shouldn't happen, try the exploit again

henkaku's People

Contributors

2dook avatar codestation avatar coestergaard avatar d3m3vilurr avatar daveeftw avatar devnoname120 avatar proximav avatar theofficialflow avatar wandermax avatar wassburgare avatar xyzz avatar yifanlu 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  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

henkaku's Issues

Add config.bin sync

Currently the config is only loaded at start of taihen, thus changing the options in molecularShell requires a cold reset to have an effect. This is time consuming.
Suggestion: Expose a sync function

Uploading plugins without memory in psvita?

I get my sd2vita adapter but I do not have a memory to use the vitashell. Is it possible to load a plugin (in specific games.sprx) to psvita without having a memory in the console?

Failed to build

Sorry if this is a known issue or due to incomplete work. I can not build henkaku with latest 'buildscripts':

-- Build files have been written to: /root/work/henkaku/build/plugin
+ make
Scanning dependencies of target kernel.elf
[ 25%] Building C object CMakeFiles/kernel.elf.dir/kernel.c.obj
[ 50%] Linking C executable kernel.elf
CMakeFiles/kernel.elf.dir/kernel.c.obj: In function `henkaku_reload_config':
kernel.c:(.text+0x218): undefined reference to `sceKernelCreateThreadForKernel'
kernel.c:(.text+0x222): undefined reference to `sceKernelStartThreadForKernel'
kernel.c:(.text+0x230): undefined reference to `sceKernelWaitThreadEndForKernel'
kernel.c:(.text+0x236): undefined reference to `sceKernelDeleteThreadForKernel'
collect2: error: ld returned 1 exit status
make[2]: *** [kernel.elf] Error 1
make[1]: *** [CMakeFiles/kernel.elf.dir/all] Error 2
make: *** [all] Error 2

Henkaku does not support more than 2 plugins enabled at the same time.

Already confirmed here: https://www.reddit.com/r/vitahacks/comments/68rjom/trying_to_find_out_why_enabling_multiple_plugins/ , on twitter and by myself that games (no matter whether it is mai/vitamin/legit game) won't go past splash screen (in case of 3 plugins enabled) or will crash(in case of 4 or more plugins enabled - I haven't check this part myself since 3 plugins at once are already not working).
To be sure I checked if games work with only 2 plugins enabled (in any pairing) and they do, so It certainly is an issue with 3 or more plugins enabled at once.

Also it seems this issue is even worse in case of adrenaline v4, it gives black screen if (in my case) any additional plugin (tried trackplug and then vitabattery) is added. I thought it might be adrenaline's compatibility with tai plugins issue, but after all it might be related to this one.
This part has been already answered to by TheFlow

It is easy to reproduce this issue - just add 3 or 4 plugins under *ALL (probably 3/4 plugins under certain ID will give the same result) and run the game with all 3/4 plugins enabled.
If that matters in my case the plugins are: vitabattery, oclock and trackplug.

taiHEN won't update to BETA-8 stays on Beta-7

I have deleted molecularshell and started from scratch several times. Also I don't have access to most ux0:\ folders like the one to grab the screen shot i took to show. I have unsafe homebrew enabled and molecularshell 1.43 and vitashell .43 both show the exact same folders. I have deleted the bubble, rebuilt database then a fresh install but still the same

Save issue after a day in standby

Experienced the save issue (which was fixed earlier if i can remember) with the latest taiHENkaku version.

  • TaiHENkaku beta 8 loaded from email (installed with beta offline installer).
  • Run game Steins;Gate 0 (PCSB01012 with english patch).
  • Put Vita to standby for a day. Tried with less intervals (like half day) but it seems 24h required for the bug.
  • Initiated saving game and got C2-2004-6 "Could not save the file." error message. After dismissal (hit ok) got the same message again and again.

Had save issue (without error message, simply missing progress at next launch) with MotorStorm RC too.

vita-error

PSN functions

Some PSN features, like purchasing free games, activating the device, and syncing trophy, doesn't work under henkaku's spoofing. Is this the intended behavior? Is it possible to make these work?

Just an idea to improve the recent PSV BRICK incident

1st, sorry to bring out this issue twice and in the sense of pirating the game, but what i'm thinking is actually even homebrew also will cause this issue, right? Correctly me if i'm wrong, but don't piss off and conclude this in the wrong way, since my intention is to provide an idea on HOW the idiot user able to see what is going-on when launching eboot/plugin if it's having abnormal behavior at the back-end.

Games that need 3.61 and up need to be spoofed

Yeah its a firmware restrictions I tried to run gun gun pixies but it gives me a error code c1-6703-6 I tried it on my playstation tv running henkaku but on my playstation vita running the latest firmware it does work but not on my playstation tv running henkaku

Release 7 ??

Hello,
Will there a henkaku tainhenkaku release 7 for offline hosting ? Its still release 6 but release 7 is online. Or is the offline hosting dead ?

restart browser?

Alright, this may sound bizarre but when attempting to install tai-henkaku the browser error of "restart the browser" occurs. But when I do it repeats the error message even after restart and even rebuilding my database.

0x80010016 when downloading files

Sometimes, even when installer launches successfully, it won't be able to create files. Right now the only solution is to launch the exploit again.

MolecularShell outdated / Henkaku downgrades 1.61 Molecularshell to 1.43

First, Id like to say I know Molecularshell have auto updates disabled so it isn't the same as vitashell (at least that is what /henkaku/vitashell description says).

Right now Molecularshell(v1.43) is pretty outdated in comparison to Vitashell(1.61) and that version lacks many new features(like USB support) or newer bugfixes.
Of course, it is possible to replace Molecular eboot with vitashell eboot to "update" it and everything will work as it should, BUT everytime henkaku is enabled/executed (via online method) CRC check fails and it redownloads 1.43 eboot.
I simply do not want to have installed both molecular shell and vitashell because they both have pretty much same functionality(excluding henkaku-related options in molecular) and keep only one of these updated.

My suggestions are:
-Update Molecular shell to 1.61 and keep an eye for future vitashell's updates to keep it updated
or
-Give TheFlow some ability to keep molecularShell updated on henkaku server (inc. ability to update CRC sum)
or
-Rework how CRC check does it job to exclude force downgrading newer eboots.

Cheers!

Progress bar problem

After updating to HEN-9 last progress bar in any app never filled up.
For example, Offline Installer: 2017-05-21-001508

Support HENkaku installs on internal memory

The obvious benefit is cost.

It's not uncommon to find a new/used PSTV equal to (or cheaper) than a memory card. I found mine for the same price as a 4GB memory card. In this context supporting internal memory installs would lower the barrier of entry for new developers.

It also helps with riskier experimentation as it's much cheaper to replace a bricked PSTV than a Vita.

If there's nothing specific about the exploit that makes it impossible please consider adding this feature.

and thank you for HENkaku!

Games that need 3.61 and up need to be spoffed

I just recently tried to run gun gun pixies but gives me a error code c1-6703-6 I purchased it but it does work on my psvita running latest firmware my playstation tv running henkaku has the issue only I think it's a firmware restriction I think it was dumped using firmware 3.63

Getting error 80871007 installing any vpk with Beta 5

I just come back to vita, I'll explain what I did in order of events that may or may not have caused this:

-Opened molecular shell, was on version 0.91?- asked to update, it updated to 1.41. Flow's VitaShell app also updated to 1.41 too.
-Reset vita
-Installed latest stable henkaku.
-Saw adrenaline online.
-Installed latest beta.henkaku (b5) vita crashed before finishing.
-Tried again, installed fine. MolecularShell is now at 1.42, VitaShell is still 1.41
-Tried to install vpks and error 80871007 comes up just after 100% with all vpks (safe homebrew enabled) either on or off.

Add syscall checks

Right now we hard code syscalls 0xff0-0xff3 but those slots might be taken. We should instead dynamically find 4 empty slots and write to them.

Add a SELF downloader in settings

This will help those who don't have a memory card: they can download and launch molecularShell/VitaShell directly from Settings.

We need translations (only) for the following languages:

  • Japanese
  • French
  • Spanish
  • German
  • Italian
  • Dutch
  • Portuguese PT
  • Portuguese BR
  • Russian
  • Korean
  • Chinese traditional
  • Chinese simplified
  • Finnish
  • Swedish
  • Danish
  • Norwegian
  • Polish
  • Turkish

For the following strings:

Description String to Translate
Button to download SELF Launch SELF from URL
Download error Error downloading from URL.
Launch error Error launching SELF.
Success Launching SELF...

If a language is already taken by another commenter, please give it a thumbs up if you think it is good. If you think it can be improved, give it a thumbs down and add your own translation in a new comment.

Did this guy solve more of the challenge?

At http://yifan.lu/2016/08/05/henkaku-koth-challenge/ linked via henkaku.xyz, the following is stated:

The idea is as follows: we (molecule) are currently the kings of the hill. You (challenger) can claim the throne by reversing our hack (HENkaku) and explaining it. Once we have been knocked off, we will post all our source code, build scripts, and a special bonus… We won’t say what it is yet, but it can be claimed by anyone who beats the challenge (not just the first) and is only valuable to people who have an interest in the Vita and Vita hacking. Since all the “prizes” are available to everyone and not just the first, we strongly encourage collaboration.

Yesterday, these pages by someone calling themselves hexkyz were posted to Reddit:

Do these cover anything as-of-yet-unreleased?

Danish translation not correct

Sorry. Just saw your request on twitter now. Hope you can use this. You have locked the thread, so I hope it s okay to open it as an issue?

"Content Downloader"
"Indholdshenter"

"Unlink Memory Card"
"Fjern link til hukommelseskort"

"ux0:id.dat has been deleted. This memory card can now be used on any Vita."
"ux0:id.dat er blevet slettet. Dette hukommelseskort kan nu bruges på en vilkårlig Vita"

"Failed to mount ux0. Is a memory card inserted?"
"Kunne ikke montere ux0. Er der indsat et hukommelseskort?"

What is this ?

Hi i have Big problems with the Self Hosting. With Update 3 everything works great but now with the Update 4 i cant install it on my Synology. Here is the Error. Please help me someone because i dont know any further.

/volume1/web$ ./build.sh http://192.168.178.98/host/stage2.php http://192.168.178.98:8888/pkg
Traceback (most recent call last):
File "write_pkg_url.py", line 20, in
exit(main())
File "write_pkg_url.py", line 15, in main
file.seek(pos, 0)
OSError: [Errno 22] Invalid argument
Traceback (most recent call last):
File "write_pkg_url.py", line 20, in
exit(main())
File "write_pkg_url.py", line 15, in main
file.seek(pos, 0)
OSError: [Errno 22] Invalid argument
done.

Fix the spanish translation

People that don't know how write correctly spanish wrote the spanish translation.

I want change the translation, I did the translation of Vitashell, https://github.com/xy2iii/vitashell-themes/commits/master/translations?author=Keizel

xy2i/vitashell-themes@334203f
xy2i/vitashell-themes@91979e0
xy2i/vitashell-themes@4ace2ea

and I too could do the correctly translation to spanish of HENkaku.

For example, this line https://github.com/henkaku/henkaku/blob/master/plugin/language.h#L63

"Homebrews inseguros pueden dañar tu dispositivo permanentemente si son maliciosos, erróneamente usados o configurados incorrectamente. Por favor, tenga precaución al instalarlos."

When this should be the next:

"Homebrews inseguros pueden dañar tu dispositivo permanentemente si se usan inadecuadamente, si se encuentran mal configurados, o si son maliciosos. Por favor, procede con cuidado al instalarlos."

Is the same translation that I used in Vitashell: https://github.com/xy2iii/vitashell-themes/blob/master/translations/spanish.txt#L120

Non-standard char '変革' in user agent let some web server not work

After install the HENkaku.
In vita browser, I got the useragent , and it contains Non-standard char '変革'.
It let some web site returned HTTP error 502.
Suggest change to Latin alphabet `HENkaku' to fix it.

This is my user agent in vita web browser
Mozilla/5.0 (PlayStation Vita 3.60)(変革-6) AppleWebkit/537.73 (KHTML, like Gecko) Silk/3.2

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.