Application Manager Services PXI

Revision as of 20:10, 26 December 2021 by TimmSkiller (talk | contribs) (Added ExportLicenseTicket)

Application Manager Services PXI "pxi:am9"

Command Header Available since system version Description
0x00010040 1.0.0-0 GetTitleCount
0x00020082 1.0.0-0 GetTitleList
0x00030084 1.0.0-0 GetTitleInfo
0x000400C0 1.0.0-0 DeleteTitle
0x000500C0 1.0.0-0 GetTitleProductCode
0x000600C0 1.0.0-0 GetTitleExtDataId
0x00070080 1.0.0-0 DeletePendingTitles
0x00080080 1.0.0-0 InstallFIRM
0x00090000 1.0.0-0 InstallTikBegin
0x000A0042 1.0.0-0 InstallTikWrite
0x000B0000 1.0.0-0 InstallTikAbort
0x000C0000 1.0.0-0 InstallTikFinish
0x000D0080 1.0.0-0 DeleteTicket
0x000E0000 1.0.0-0 GetTicketCount
0x000F0082 1.0.0-0 GetTicketList
0x00100100 1.0.0-0 InstallTitleBegin
0x00110000 1.0.0-0 InstallTitleAbort
0x001200C0 1.0.0-0 InstallTitleResume
0x00130000 1.0.0-0 InstallTmdBegin
0x00140042 1.0.0-0 InstallTmdWrite
0x00150000 1.0.0-0 InstallTmdAbort
0x00160040 1.0.0-0 InstallTmdFinish
0x00170040 1.0.0-0 InstallContentBegin
0x00180042 1.0.0-0 InstallContentWrite
0x00190000 1.0.0-0 InstallContentAbort
0x001A0000 1.0.0-0 InstallContentAbortDSi (?)
0x001B0040 1.0.0-0 InstallContentResume
0x001C0000 1.0.0-0 InstallContentFinish
0x001D0080 1.0.0-0 GetPendingTitleCount
0x001E00C2 1.0.0-0 GetPendingTitleList
0x001F0084 1.0.0-0 GetPendingTitleInfo
0x002000C0 1.0.0-0 DeletePendingTitle
0x002100C0 1.0.0-0 (unknown_u8, unknown_u64)
0x00220102 1.0.0-0 (count, unknown_u8, unknown_u64, ptrsize_count_mul_2, ptr)
0x00230104 1.0.0-0 (count, unknown_u8, unknown_u64, ptr1size_count_mul_2, ptr1, ptr2size_count_mul_24, ptr2)
0x00240102 1.0.0-0 (count, unknown_u8, unknown_u64, ptrsize_count_mul2, ptr)
0x00250000 1.0.0-0 GetContentCount (?)
0x00260042 1.0.0-0 GetContentIds (?)
0x00270044 1.0.0-0 GetCurrentImportContentContexts
0x00280000 1.0.0-0 InstallTitleAbortDSi (?)
0x00290000 1.0.0-0 InstallTitleFinish
0x002A00C2 1.0.0-0 InstallTitlesFinish
0x002B.... 1.0.0-0 Stubbed.
0x002C.... 1.0.0-0 Stubbed.
0x002D.... 1.0.0-0 Stubbed.
0x002E.... 1.0.0-0 Stubbed.
0x002F.... 1.0.0-0 Stubbed.
0x0030.... 1.0.0-0 Stubbed.
0x0031.... 1.0.0-0 Stubbed.
0x0032.... 1.0.0-0 Stubbed.
0x0033.... 1.0.0-0 Stubbed.
0x0034.... 1.0.0-0 Stubbed.
0x0035.... 1.0.0-0 Stubbed.
0x0036.... 1.0.0-0 Stubbed.
0x0037.... 1.0.0-0 Stubbed.
0x0038.... 1.0.0-0 Stubbed.
0x00390146 1.0.0-0 (size2, size3, unknown_u64, size1, ptr1size_size1, ptr1, ptr2size_size2, ptr2, ptr3size_size3, ptr3)
0x003A0146 1.0.0-0 Stubbed.
0x003B0042 1.0.0-0 GetCTCert
0x003C0000 1.0.0-0 GetDeviceID
0x003D0108 1.0.0-0 SetCertificates
0x003E0042 1.0.0-0 SetCertificate
0x003F0040 1.0.0-0 IsImportDatabaseInitialized
0x00400040 1.0.0-0 DoCleanup
0x00410000 1.0.0-0 ?
0x00420142 1.0.0-0 InstallTitlesFinishFIRM
0x004301C8 2.0.0-2 VerifyDSiWareFooter
0x004400C4 2.0.0-2 This does basically nothing: after checking the two buffers' mem-ranges successfully(on failure it executes svcBreak like all other Process9 code for that), this just returns 0x0.
0x00450108 2.0.0-2 (size1, size3, size2, unknown_u8, ptr1size, ptr1, ptr2size, ptr2, ptr3size, ptr3, ptr4size_size2, ptr4) (DecryptDSiWareData)
0x00460182 2.0.0-2 WriteTWLSavedata
0x00470080 2.0.0-2 InitializeTitleDatabase
0x00480040 2.0.0-2 ReloadDBS
0x00490080 2.0.0-2 GetNumTicketIds
0x004A0102 2.0.0-2 GetTicketIdList
0x004B0100 2.0.0-2 DeleteTicketId
0x004C0042 2.0.0-2 (count, ptrsize_count_mul_24, ptr)
0x004D0144 2.0.0-2 ExportDSiWare
0x004E00C0 2.0.0-2 InstallTitleBeginDSi (?) (unknown_u64, u8_optype) The optype must be 5 or 11, but it's not used after validating it. Disabling using this in AM-sysmodule breaks DSiWare-importing. This is used right before InstallTmdBegin in AM-sysmodule.
0x004F00C0 2.0.0-2 GetDSiWareExportSize
0x00500044 2.0.0-2 (count, ptr1size_count_mul_8, ptr1, ptr2size_count_mul_4, ptr2)
0x00510000 2.0.0-2 ?
0x00520040 2.0.0-2 (unknown_u8)
0x00530084 2.0.0-2 ValidateDSiWareMovableSedHash
0x00540000 2.0.0-2 GetTWLPartitionInfo
0x005500C4 2.0.0-2 ValidateDSiWareSectionMAC
0x005600C0 2.0.0-2 CheckContentRights
0x00570042 4.0.0-7 InstallTitleSetContentIndices
0x005800C0 4.0.0-7 GetNumContentInfos
0x00590104 4.0.0-7 FindContentInfos
0x005A0142 4.0.0-7 ListContentInfos
0x005B0000 4.0.0-7 ?
0x005C0044 4.0.0-7 ?
0x005D0082 4.0.0-7 ?
0x005E0102 4.0.0-7 DeleteContents
0x005F0080 4.0.0-7 ?
0x00600102 4.0.0-7 ListDataTitleTicketInfos
0x00610142 4.0.0-7 ExportLicenseTicket
0x00620044 4.0.0-7 GetTicketLimitInfos
0x00630042 4.0.0-7 ?
0x006400C0 4.0.0-7 ?
0x006500C0 4.0.0-7 MigrateAGBtoSAV
0x0066.... 4.0.0-7 Stubbed starting with 4.0.0-7.
0x00670082 4.0.0-7 ?
0x006801C2 4.0.0-7 GetItemRights
0x006900C0 4.0.0-7 IsDataTitleInUse
0x006A00C0 4.0.0-7 GetNumExistingContentInfos
0x006B0142 4.0.0-7 ?
0x006C00C0 5.0.0-11 (u8 Mediatype, u64 programID)
0x006D0184 11.8.0-41 ExportTicketWrapped

Errors

Error-code Description
0xC8A0802B This indicates the the dbs image(.db) does not exist, or opening the .db file failed.
0xC8E083FC This error indicates that the title is already installed, with the same title-version as the title being installed?
0xD8E08027 Invalid title-version, or the title-version of the title being installed is older than the currently installed title-version.
0xD8A08004 Wrong installation state.
0xD8E08020 CIA file is empty.
0xD8E08025 Invalid NCCH. returned from InstallContentFinish
0xD8A08029 Error-type 1
0xD8E08065 Error-type -1
0xD8E08065+1 / 0xD8E08066 Error-type -2
0xD8E08065+2 / 0xD8E08067 Error-type -3. Returned when a CIA header is invalid.
0xD8E08065+3 / 0xD8E08068 Error-type -4
0xD8E08065+4 / 0xD8E08069 Error-type -5
0xD8E08065+5 / 0xD8E0806A Error-type -6. Returned when a function returns error -2011: signature or hash check for cert(TMD/TIK/cert-chain, ...) failed.
0xD8E08065+6 / 0xD8E0806B Error-type -7
0xD8E08065+7 / 0xD8E0806C Error-type -8
0xD8E08065+8 / 0xD8E0806D Error-type -9
0xD8E08065+9 / 0xD8E0806E Error-type -10
0xD8E08065+10 / 0xD8E0806F Error-type -11
0xD8E08065+11 / 0xD8E08070 Error-type -12
0xD8E08065+12 / 0xD8E08071 Error-type -13
0xD8E08065+13 / 0xD8E08072 Error-type -14
0xD8A083FA Invalid titleID(?) / the specified title(s) don't exist.
0xE0E0802C AM module returns this error when the system-title bit is set for the input CTR/TWL titleID-high, for AM:DeleteApplicationTitle.