Advertising (This ad goes away for registered users. You can Login or Register)

Research on "_sceAppMgrGetPfsDrive" - Error code 0x80800009

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Post Reply
OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

Research on "_sceAppMgrGetPfsDrive" - Error code 0x80800009

Post by OperationNT » Thu Aug 25, 2016 8:28 pm

Hello everybody,

I am trying to find how the undocumented function "_sceAppMgrGetPfsDrive" works (NID: 0x8AF17416, address: 0x46B208D4) because I suspect it to allow reading PFS protected directories.
My first test consists into finding out how many arguments the function requires. So I wrote the following code:

Code: Select all

    int test = _sceAppMgrGetPfsDrive();
    printf("Call with 0 argument: 0x%X\n", test);
    
    test = _sceAppMgrGetPfsDrive(0);
    printf("Call with 1 argument: 0x%X\n", test);
    
    test = _sceAppMgrGetPfsDrive(0, 0);
    printf("Call with 2 arguments: 0x%X\n", test);

    test = _sceAppMgrGetPfsDrive(0, 0, 0);
    printf("Call with 3 arguments: 0x%X\n", test);
    
    test = _sceAppMgrGetPfsDrive(0, 0, 0, 0);
    printf("Call with 4 arguments: 0x%X\n", test);
I get the following result from this program:
2016-08-25-211937.jpg
2016-08-25-211937.jpg (43.79 KiB) Viewed 1638 times
I found the first error code signification in VitaSDK:

Code: Select all

SCE_KERNEL_ERROR_INVALID_MEMORY_ACCESS	= 0x80022005
So I assume that the method requires at least 2 arguments. However, I cannot found anywhere the signification of he other code "0x80800009".

Is there a place where I can dind this code signification?

Thank you for your help!
Advertising

asuka
Posts: 3
Joined: Mon Feb 01, 2016 7:10 am

Re: Research on "_sceAppMgrGetPfsDrive" - Error code 0x80800

Post by asuka » Sun Aug 28, 2016 10:54 am

Want to know which module does this api locate?
Advertising

OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

Re: Research on "_sceAppMgrGetPfsDrive" - Error code 0x80800

Post by OperationNT » Sun Aug 28, 2016 8:15 pm

I assume, due to the function name, that it should be located in "SceAppMgr". This is why I choose NID 0x8AF17416.

I already arguments other than 0 and I always end up with 0x80022005 error :(

Post Reply

Return to “Programming and Security”