Page 1 of 11

[UPDATED 6.12.2015] VitaShell 0.3

Posted: Sun Nov 08, 2015 9:36 am
by TheFloW
Features:
- Launch homebrews (however, most of the homebrews cannot exit to VitaShell. The vitasdk doesn't allow homebrews to exit correctly yet. It forgets to sceKernelFreeMemBlock for example).
- Read and write to pspemu (the folder starting with ms) and cache0.
- Read vs0:data/external (the folder starting with sd), vs0:sys/external (the folder starting with sd), app0, music0, photo0 and sa0.
- File browser with copy-paste, delete, rename, new folder. Press square to mark an entry
- RAR/7ZIP/ZIP support
- Text viewer
- Hex viewer (press square when you are in text viewer, press square again to switch back to text viewer)
- Photo viewer (beta state)
- Built-in FTP supporting all directories (press SELECT)

Tested on:
3.18 VitaTV with 1.05 Unity
3.50 PS Vita with 1.06 Unity

Credits:
- xerpi for vita2dlib and FTPVita
- gblaarg for fex
- yifanlu for Rejuvenate
- All who contributed to the vitasdk

Image
Image
Image
Image
Changelog 0.3:
- Added translation support. See translation_readme.txt for more details.
- Added move ability (only possible within same partition).
- Added tabulator support in text viewer.
- Removed 'Paste', 'Delete', 'Rename' and 'New folder' in read-only partitions.
- Fixed size string of files over 1GB.
- Fixed alphabetical sorting.
- Fixed battery percent bug being -1% on PSM Dev Assistant.

Changelog 0.2:
- Added ability to sign PSP homebrews.
- Added sleep prevention when using FTP, deleting and copying files.
- Added a scrollbar.
- Added date and time to info bar.
- Added correct enter and cancel buttons assignment.
- Added some cosmetic changes.
- Fixed crash when deleting marked entries.
- Copied entries now still rest in clipboard after pasting them.
- The application now cleans itself before launching homebrews.
Download 0.3

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 4:44 pm
by wth
Nice ! Congrats on getting access to pspemu, I didn't know we could.
So you just write to ms0: or is there a trick ? ^^

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 6:11 pm
by szczuru
wth wrote:Nice ! Congrats on getting access to pspemu, I didn't know we could.
So you just write to ms0: or is there a trick ? ^^
That's wonders me to - what about writing to ms0:/PSP/GAME on 3.5x?

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 6:32 pm
by TheFloW
When I saw sceAppUtilPspSaveDataGetDirNameList in the vitasdk, I wondered how much access I've got with it. So I reversed this function in the apputil module and I found a syscall that mounts the pspemu directory. There are NO LIMITATIONS TO PSPEMU DIRECTORY! Read and write to any file and folder :)

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 7:06 pm
by Typhoon_Neon
TheFloW wrote:When I saw sceAppUtilPspSaveDataGetDirNameList in the vitasdk, I wondered how much access I've got with it. So I reversed this function in the apputil module and I found a syscall that mounts the pspemu directory. There are NO LIMITATIONS TO PSPEMU DIRECTORY! Read and write to any file and folder :)
Dude, that makes it the best thing ever!

(ignore the PM I sent, that was the forum bugging out)

edit: I had an undeletable folder under PSPEMU:/ISO that wouldn't go away with either FTP or PSPFiler, your shell allowed me to delete it :D

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 7:57 pm
by luck
this is the best hb for rejuvenate!

you gave me a reason to setup rejuvenate on my ps vita.
Thanks

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 7:58 pm
by wth
TheFloW wrote:When I saw sceAppUtilPspSaveDataGetDirNameList in the vitasdk, I wondered how much access I've got with it. So I reversed this function in the apputil module and I found a syscall that mounts the pspemu directory. There are NO LIMITATIONS TO PSPEMU DIRECTORY! Read and write to any file and folder :)
Ok very nice job indeed !
Never knew there was something like sceAppUtilPspSaveDataGetDirNameList at all ^^
This competition is getting interesting xD

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 8:09 pm
by Typhoon_Neon
wth wrote:
TheFloW wrote:This competition is getting interesting xD
Finally, wouldn't you say? :P

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 8:10 pm
by szczuru
TheFloW wrote:When I saw sceAppUtilPspSaveDataGetDirNameList in the vitasdk, I wondered how much access I've got with it. So I reversed this function in the apputil module and I found a syscall that mounts the pspemu directory. There are NO LIMITATIONS TO PSPEMU DIRECTORY! Read and write to any file and folder :)
What about accessing to other (non)system partitions?

Re: VitaShell 0.1

Posted: Sun Nov 08, 2015 8:13 pm
by TheFloW
Thank you guys for the positive feedback :)

@szczuru
the sdXXXXXXX directories, sa0, app0, music0 and photo0 are read-only :/

EDIT:
Also, guys, if you're interested in working with me on this project, write me a PM. If you even know some reverse engineering, it would be great.