Giter VIP home page Giter VIP logo

h-encore's Introduction

h-encore

h-encore, where h stands for hacks and homebrews, is the second public jailbreak for the PS Vita™ which supports the newest firmwares 3.65, 3.67 and 3.68. It allows you to make kernel- and user-modifications, change the clock speed, install plugins, run homebrews and much more.

Write-up

A technical explanation of the h-encore exploit chain is available here.

Changelog

Changelog h-encore 2.0:

  • Added ability to auto-exit and bypass the bootstrap menu. You can force launching the bootstrap menu by holding R while launching h-encore).
  • Added ability to personalize the savedata in order to get rid of the trophy warning.
  • Added confirmation dialog for Reset taiHEN config.txt option.
  • Updated default spoof version to 3.70.
  • Updated kernel ROP chain to use fewer and better gadgets.

Requirements

  • Your device must be on firmware 3.65, 3.67 or 3.68. Firmware 3.69 and higher are not supported. If you're on a lower firmware, please decide carefully to what firmware you want to update, then search for a trustable guide on /r/vitahacks.
  • If your device is a phat OLED model, you need a Memory Card in order to install. There's no need for a Memory Card on Slim/PS TV models, since they already provide an Internal Storage. Make sure you have got at least 270 MB of free space.
  • Your device must be linked to any PSN account (it doesn't need to be activated though). If it is not, then you must restore default settings in order to sign in.

Installation

Note that the following guide is for advanced users and a bit more complicated than the previous hack that only required you to visit a website. If you don't understand the guide below or how to use these tools, you should not file an issue here, but rather seek help on /r/vitahacks (check for duplicated questions first!) or use the easy installer (which isn't maintained by me).

  1. Download h-encore and extract it on your computer.

  2. Download and install qcma, psvimgtools and pkg2zip (check the releases section for the binaries).
    If you don't know where to put psvimgtools and pkg2zip binaries, just put them in the h-encore folder.

  3. Download the vulnerable DRM-free demo of bitter smile (yes, that's the user entry point).

  4. Extract the demo using this command in terminal/cmd:

    pkg2zip -x PATH_OF_PKG
    

    This will output the files to app/PCSG90096.

  5. Copy the contents of the output app/PCSG90096 to the folder h-encore/app/ux0_temp_game_PCSG90096_app_PCSG90096 (such that the files eboot.bin and VITA_PATH.TXT are within the same folder).

  6. Copy the license file app/PCSG90096/sce_sys/package/temp.bin to the folder
    h-encore/license/ux0_temp_game_PCSG90096_license_app_PCSG90096 and rename the just pasted file temp.bin to 6488b73b912a753a492e2714e9b38bc7.rif. Be careful with the file extension, it should not be .rif.bin. Again, this file should be in the same folder as VITA_PATH.TXT.

  7. Start qcma and within the qcma settings set the option Use this version for updates to FW 0.00 (Always up-to-date) to spoof the System Software check.

  8. Launch Content Manager on your PS Vita and connect it to your computer, where you then need to select PC -> PS Vita System, and after that you select Applications. If you see an error message about System Software, you should simply reboot your device to solve it (if this doesn't solve, then put your device into airplane mode and reboot). If this does still not work, then alternatively set DNS to 212.47.229.76 to block updates. This should create a folder at PS Vita/APP/xxxxxxxxxxxxxxxx on your computer (see qcma settings where this folder is), where the folder xxxxxxxxxxxxxxxx represents the AID (account ID that is 16 characters long) that you need to insert here. If the AID is valid, it will yield a key that you can now use to encrypt the demo.

  9. Change directory to the h-encore folder in terminal/cmd and use the key to encrypt all folders using (make sure you don't confuse the key with the AID, the key is 64 characters long!):

    psvimg-create -n app -K YOUR_KEY app PCSG90096/app
    psvimg-create -n appmeta -K YOUR_KEY appmeta PCSG90096/appmeta
    psvimg-create -n license -K YOUR_KEY license PCSG90096/license
    psvimg-create -n savedata -K YOUR_KEY savedata PCSG90096/savedata
    

    The folder h-encore/PCSG90096 should then contain sce_sys and all 4 folders from above, and within these folders you should find files called X.psvimg and X.psvmd, where X has the same name as the folder. Backup this folder, since if everything has been done correctly, you don't need to redo all the steps to install it onto another device with the same PSN account.

  10. Copy the folder h-encore/PCSG90096 to PS Vita/APP/xxxxxxxxxxxxxxxx/PCSG90096 and then select Refresh database in qcma.

  11. The h-encore bubble with a size of around 243 MB should now appear in the Content Manager and that's what you finally need to transfer to your PS Vita. If the size does not match or you get the error C2-12858-4, then it's because you did not do it correctly! Please re-read the instructions more carefully then. If you get the error You can only copy applications that your account is the owner of, then it's because you have used an AID that is not of your account, go back to step 8.

  12. Launch h-encore to exploit your device (if a message about trophies appears, simply click yes). The screen should first flash white, then purple, and finally open a menu called h-encore bootstrap menu where you can download VitaShell and install HENkaku. If it prompts the error Cannot start this application. C0-11136-2, then it's because you did not do step 6. correctly.

  13. Enjoy. Note that you have to relaunch the exploit everytime you reboot or shutdown your device. Of course if you only put your device into standby mode, you don't need to relaunch.

Updating to h-encore 2.0

You can update h-encore by following the installation guide above, or following these steps (h-encore must already be installed).

  1. Download h-encore's system.dat.
  2. Enable Unsafe Homebrews under HENkaku Settings in the Settings application to grant VitaShell full permission.
  3. Launch VitaShell and navigate to ux0:user/00/savedata/.
  4. Press triangle on the folder PCSG90096 and select Open decrypted (you should NOT see the folder sce_pfs within this folder when opened decrypted).
  5. Copy the downloaded system.dat to ux0:user/00/savedata/PCSG90096/system.dat.
  6. Launch h-encore while holding R and select Install HENkaku in the bootstrap menu.
  7. Done.

FAQ

Exploit

  • "When I launch h-encore, it stays at a white screen." - Due to the nature of the kernel exploit, this can sometimes happen. If it stays white for more than 5 seconds, you can simply close the application which will result in a crash and your device will be rebooted or shutdown after 10 seconds. If it doesn't, hold the power button down for over 30 seconds to force a shutdown. Then try the exploit again. The success rate of the kernel exploit should be at 80%. If I find time I will eventually try to improve the success rate.
  • "When I launch h-encore, it flashes white quickly and then crashes." - Again, this is due to how the kernel exploit works.
  • "I get a C2-12828-1 error when launching h-encore" - This does sometimes (but very rarely) happen. Just retry the exploit.
  • "When I launch h-encore, it launches the bitter smile demo instead." - Your savedata is either corrupted or not installed correctly, please follow the installation guide above to reinstall it.
  • "I have installed a bad plugin and launching h-encore doesn't work anymore, what should I do?" - You can either reset taiHEN config.txt or skip plugins loading by holding the L trigger while exiting the h-encore bootstrap menu.

HENkaku Settings

  • "I don't see all folders in VitaShell." - Launch the Settings application and select HENkaku Settings, then select Enable unsafe homebrews. This will grant you full permission in VitaShell.
  • "I can't find the HENkaku Settings." - Launch the exploit and reset taiHEN config.txt and reinstall HENkaku.

enso/permanent hack

  • "Can I install enso on 3.67 or 3.68?" - Not on these firmwares, but you can downgrade to firmware 3.65 using modoru and then install enso.
  • "Can I install enso on 3.65?" - Yes, you can use h-encore to hack your device and then install the permanent hack using this.

Compatibility

  • "Are Adrenaline/NoNpDrm/Download Enabler supported on 3.65/3.67/3.68?" - Yes, check them in my repositories.
  • "Can I use SD2VITA using this hack?" - Yes, I have made a pull request on gamecard-microsd that fixed the freeze when using it without enso. If you're using an other plugin and it freezes on exitting h-encore bootstrap menu, then there's the trick where you can simply press the PS Button and return back to finish the boot process.
  • "Can I use psvsd using this hack?" - Yes, people confirmed that it is working finely.
  • "Does this work, does that work? Is this compatible, is that compatible?" - I don't know, and it is not my task to update these tools for you, so don't dare and file an issue here.

General

  • "Can I switch the PSN account after having h-encore installed?" - Yes, since the demo is DRM-free it does not depend on your account.
  • "Are there any risks involved in using h-encore?" - No, since it does not modify the OS, but only insert temporary patches into the system.
  • "Can I install it without USB connection?" - You can also connect your PS Vita with your computer using Wi-Fi (there's an option in the Content Manager).
  • "How do I get into bootstrap menu?" - launch h-encore while holding the R trigger.

Donation

If you like my work and want to support future projects, you can make a donation:

  • via bitcoin 361jRJtjppd2iyaAhBGjf9GUCWnunxtZ49
  • via paypal
  • via patreon

Thank you!

Credits

  • Thanks to Freakler for finding the crash in the demo and designing the h-encore icon.
  • Thanks to molecule for their initial work on the PS Vita.
  • Thanks to xyz for giving me some tips on choosing an exploit target.
  • Thanks to Davee and Proxima for http://cma.henkaku.xyz/.
  • Thanks to yifanlu for psvimgtools.
  • Thanks to codestation for qcma.
  • Thanks to mmozeiko for pkg2vita.
  • Thanks to the PS Vita hacking community.
  • Thanks to Sony for this awesome device.

h-encore's People

Contributors

juniorpassos avatar koz39 avatar theofficialflow 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

h-encore's Issues

Cursor always goes up

After I install vitashell and adrenaline, my cursor always goes up, ingame, i reinstall again even i restore the system and it didn't worked. can you help me please?

Step 9 issue

i did everything from start to step 8 but didn't get this step , i got key and installed psvimgtool.
i am using Windows 7

Change directory to the h-encore folder in terminal and use the key to encrypt all folders using:

psvimg-create -n app -K YOUR_KEY app PCSG90096/app
psvimg-create -n appmeta -K YOUR_KEY appmeta PCSG90096/appmeta
psvimg-create -n license -K YOUR_KEY license PCSG90096/license
psvimg-create -n savedata -K YOUR_KEY savedata PCSG90096/savedata

ISSUE C1-2738-0

The file is corrupt. I already do it 3 times same as your tutorial but nothing happens it only shows that.
I am on 3.68

ERROR C2-12828-4

I have succesfully downloaded hencore and have have the henkaku settings but when i downloaded vitashell and try to open it the error C2-12828-4 appears. It would not even let me open vitashell.

C0-11136-2 when Launching

I've followed the instructions from top to bottom twice and on both attempts received the following error after answering 'Yes' to the trophy message:

Cannot start this application. You must download the application again from [Download List] in [PS Store]. (C0-11136-2)

Original PSVita with 3.65 firmware.

Rare crash problem h-encore

Its rare but sometimes when open h-encore app the screen goes black and restart device.
maybe it should increase the success rate to exploit

GPU crashes all the time

Just installed the h-encore for 3.68 on a psvita fat and I keep getting gpu crashes all the time, it's happening randomly even when Im on the shell. Any idea on how to solve?

C0-9250-6

Hello, i did everything like the tutorial said, and i am getting the error code C0-9250-6, i did the whole process 3 times checking every bit carefully, but it still fails with the same error, telling me to reinstall the app from the Playstation Store. I am running OFW 3.68 without prior mods.

//Edit: Also, if its important, i am using the Wifi Only OLED Vita (PCH-1004)

Step 6 confusion

Should I choose "PS Vita -> PC" instead because AID hasn't been created. Since there's no AID on PC, there's nothing happening. Did I do anything wrong?

Update: I actually created the folder before and forgot about it

Can not reinstall h-encore

PSV2000
Use PSV MemoryCard to Install h-encore , it is ok.
Remove PSV MemoryCard , Resstart PSV, Now it is use Inside Stroage.
I want ReInstall again, but ,can not transfer to PSV.
It get the error You can only copy applications that your account is the owner of.
I think , When installed HENkaku, this issue will show.

please make a key for Hacked.
a key for No Hacked.

C1-2758-2 when transferring

I've been trying to transfer h-encore over to my vita for two days now.
I did everything by tutorial several times, no luck.
Same with auto h-encore, the same error when i try to transfer.
Every step before that was fine, but no matter what it doesn't want to transfer.
Neither wi-fi nor usb transfers work.
My official firmware version is 6.68, and Vita itself is an old fat 3G+Wi-fi version.
I also tried rebuilding the database and formatting several times, still no luck.

Vita turns off in sleep mode after running exploit.

System turns off after entering sleep mode following rapidly flashing blue PS button AFTER running h-encore and installing HENkaku. This happens even if the system is plugged into power source. Tapping the power button does not wake the system and I must boot the device back up by holding down the power button as normal.

If I do not run h-encore and install HENkaku after reboot, the system does not turn off during sleep mode.

I never experienced this issue until using this exploit. I am on FW version 3.67.

Henkaku Settings not available in Settings app after install

I was on 3.65 enso.
I decided to update to 3.68 and I used the FWUpdater app. I ran into this issue and after following the instructions I was able to update to 3.68.

So far so good...
After launching h-encore and installing henkaku my settings app does not list "Henkaku Settings" where the "System Update" option is. It also lists my FW as 3.67 after h-encore is enabled. Before it's enabled my vita reports that it's on 3.68.

This isn't affecting the hack; homebrew continues to work as it should, but it is strange behavior that I haven't seen mentioned anywhere yet.

What will happen if I install enso on the incorrect version.

I have done something weird, and for whatever reason, my vita displays as 3.65, but says it's on the latest version and can even connect online without henkaku. According to vitaident, my vita has a firm ver of 3.65, but a sys ver of 3.68. If the enso installer is incompatible, will it just give an error, or cause irreversible damage?

Help with changing memory card

I know this sounds off-topic, but my i ask how I'm i able to swap my 4gb(sony mmc) to 32gb(sony mmc) on Ps Vita slim 3.65 enso..Please forgive me for my ignorance I'm just newbie to this..

Couple of issues while running games after H-encore

Hi,

First, big big thanks to TheFlow for the hard work and release - it's a lot of work and appreciation definitely needs to be given.

Second, just thought of sharing a couple of issues I encountered post H-encore installation, related to games I installed. Probably something to do with the backups themselves or the way I installed them, but thought I would share anyway to contribute to the knowledge in this community.

Am running Vita on 3.65 with no Enso.

  1. Installed a game using Maidump, was straightforward install without additional patches etc, game itself works perfectly fine. However, if I leave the console in sleep mode midway while playing the game, and when I come back to it - I also switch windows in order to connect my bluetooth headset before returning to the game - then the game suddenly cannot detect my vita memory card - none of the saved games are visible and if I try to save a new slot it says "memory card cannot be found". Restarting the console, running Henkaku again and then starting the game up fixes this issue (unless I do above steps again!).

  2. Separately, another 2 games I installed (one using Maidump with patches and another using NoNpDrm) - they were initially working when i first installed, a few days later suddenly both are unable to start and both showed the same error message:

Cannot start this application. You must download the application again from [Download List] in [PS Store]. (C0-11136-2)

Incidentally (don't know if related) this issue happened after issue (1) above occurred.

  1. For some reason I can't install Enso, I forget what the error message was. Didn't take note of issue since at the time I decided not to bother. Sorry know this description doesn't help, I mainly wanted to post the first 2 and thought I would mention this anyway.

Thanks! I am more curious on what the issues could be and to understand more rather than desperately wanting to solve it :)

Didn't install HENkaku

The h-encore bootstrap works fine. I can install the Vitashell but wen i install HENkaku they say success then i go to the settings and the HENkaku menu dind't exist so i go back to h-encore and reset the taiHEN config.txt and try to reinstall the HENkaku but it's always the same. How i can fix that? By the way i had install HENkaku befor at the firmware 3.60

Vita shuts down on sleep when henkaku is installed

So i did my initial test restarted my vita and put it into sleep mode without installing henkaku for 30min. And went back to it and it was still in sleep state no problem. Now i did my second test installed henkaku and put my ps vita to sleep and only just after 5 mins the vita shutdown and i have to do cold boot again.

Music no longer working after H-Encore install

So basically this is happening. Music is not working every time H-Encore is installed, if I reboot the Vita without installing H-Encore it playbacks normally, however, the moment I reinstall H-Encore, it wouldn't simply play.
Haven't tested with Videos tho, although music is more important, we can use it while playing, so I hope this gets fixed with some sort of app or plugin.

Thanks!

Can't download vitashell

Hi Mr flow
Thanks for your work
I can install h-encore app in my vita
But I can't download vita shell and show error

readme have a little mistake

in Getting rid of the trophy warning 2
“Launch VitaShell and navigate to ux0:user/savedata/00” ==>>
“Launch VitaShell and navigate to ux0:user/00/savedata”
Think you very much!

Size of H-encore bubble

Hey.. Please give me advice...

I have already run command psvimg-create and get file X.psvimg and X.psvmd, but the size of file X.psvimg is around 243 Mb..

So size of H-encore bubble when I want copy to my PS Vita is about 900 Mb..

Please give me advice what should I do.. Thanks

Plz answer to me.

Can I install h-encore if there is no account in vita? I think vita creates some kind of temp. account. And just in case I changed guest name from user969 to fkusony

VitaShell download fails with vague error message if airplane mode enabled.

Unsure if this is the intended functionality. If you try to download Vitashell with flight mode enabled, it throws error 0x80412112. If only Wifi is disabled, it asks to enable wifi.

If this is intended functionality, or cannot be worked around, a possible enhancement could be to substitute the vague error message with a request to disable airplane mode and retry.

ERROR COPY APPLICATION PS VITA C0-11274-5

Hello dear, through this channel, I would like to report that I have practically tried everything to be able to copy the h-encore application in my PSVITA console, for which, after 11 seconds of finishing the copy, it generates the error C0-11274 -5.

I have even turned off and on, and I have also applied clean contacts to the memory card.

I did all the steps to the letter. I have firmware version 3.68, the same one that appears in the youtube video.

Link: https://www.youtube.com/watch?v=0Uv2Xhel3CU

Which may be?

Choosing Exit installs HENkaku

When the app is started and Exit is chosen, the expoit is installed regardless. As an end-user, _ expected the application to close without doing anything. There is an Install HENkaku option there too, you know.

No h-encore bubble after power off

After a full powercycle vita runs a database check and removes h-encore bubble.

This makes it a tethered back as you have to connect to qcma and install the game/bullbe again.

Happy 1 month anniversary h-encore

It's been over 1 month since h-encore descended from the heavens to grant us the miracle of Vita hacking. The best part is that so far (knock on wood), SONY has yet to release another firmware to break this. Considering that last time, they released 3.61 10 days after Henkaku came out, that's pretty good. Then again, that was 2016 where the Vita still had some life in it, now it's almost all but dead, even in Japan.

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.