20.1.0: Difference between revisions

 
(6 intermediate revisions by the same user not shown)
Line 21: Line 21:


Sysmodules were rebuilt with latest SDK, unless noted otherwise the only .text changes are from sdkver-update / logging-constants-update. The sysmodules with actual changes are (besides ones with IPC changes):
Sysmodules were rebuilt with latest SDK, unless noted otherwise the only .text changes are from sdkver-update / logging-constants-update. The sysmodules with actual changes are (besides ones with IPC changes):
* bcat, nifm, audio, ldn, account, psc, am, vi, ro, ...
* bcat, nifm, audio, ldn, account, psc, am, vi, pctl, es, ro, migration, ...


The sysmodules which only have changes from updated SDK / logging-constants-update, are:
The sysmodules which only have changes from updated SDK / logging-constants-update, are:
* bluetooth, bsdsocket, capmtp, nfc, btm, jit, ...
* bluetooth, bsdsocket, capmtp, nfc, btm, glue, grc, creport, sdb, jit, safemode, ...


RomFs changes:
RomFs changes:
Line 139: Line 139:
* Unknown Interface prev-version: 0x71000055E0
* Unknown Interface prev-version: 0x71000055E0
* Unknown Interface cur-version: 0x71000055E0
* Unknown Interface cur-version: 0x71000055E0
* Unknown Interface prev-version: 0x7100086504 [ID = 0x0919ff75]
* Unknown Interface prev-version: 0x7100085DD4 [ID = 0x38f0bb3d]
* Unknown Interface prev-version: 0x71000846F0 [ID = 0x107aa108]
* Unknown Interface prev-version: 0x7100085B3C [ID = 0x3af03446]
* Unknown Interface prev-version: 0x7100086228 [ID = 0x36f3a242]
* Unknown Interface cur-version: 0x7100086504 [ID = 0x0919ff75]
* Unknown Interface cur-version: 0x7100085DD4 [ID = 0x38f0bb3d]
* Unknown Interface cur-version: 0x71000846F0 [ID = 0x107aa108]
* Unknown Interface cur-version: 0x7100085B3C [ID = 0x3af03446]
* Unknown Interface cur-version: 0x7100086228 [ID = 0x36f3a242]
* Unknown Interface prev-version: 0x71001A4F60 [ID = 0x4e930893]
* Unknown Interface prev-version: 0x7100264B34 [ID = 0x3af03446]
* Unknown Interface prev-version: 0x7100264DCC [ID = 0x38f0bb3d]
* Unknown Interface prev-version: 0x7100265220 [ID = 0x36f3a242]
* Unknown Interface prev-version: 0x71002654FC [ID = 0x0919ff75]
* Unknown Interface prev-version: 0x71001A495C [ID = 0x04dea048]
* Unknown Interface prev-version: 0x71002636E8 [ID = 0x107aa108]
* Unknown Interface cur-version: 0x7100266784 [ID = 0x3af03446]
* Unknown Interface cur-version: 0x7100265338 [ID = 0x107aa108]
* Unknown Interface cur-version: 0x71001A5D44 [ID = 0x04dea048]
* Unknown Interface cur-version: 0x7100266A1C [ID = 0x38f0bb3d]
* Unknown Interface cur-version: 0x710026714C [ID = 0x0919ff75]
* Unknown Interface cur-version: 0x71001A6348 [ID = 0x4e930893]
* Unknown Interface cur-version: 0x7100266E70 [ID = 0x36f3a242]
* Interface Changed: nn::account::IAccountServiceForAdministrator
** Changed:  292 - outinterfaces: ['0x7100264B34 [ID = 0x3af03446]'] -> ['0x7100266784 [ID = 0x3af03446]'] (final state: inbytes: 0x10, outbytes: 0x0, outinterfaces: ['0x7100266784 [ID = 0x3af03446]'])
** Changed:  293 - outinterfaces: ['0x7100264DCC [ID = 0x38f0bb3d]'] -> ['0x7100266A1C [ID = 0x38f0bb3d]'] (final state: inbytes: 0x10, outbytes: 0x0, outinterfaces: ['0x7100266A1C [ID = 0x38f0bb3d]'])
** Changed:  350 - outinterfaces: ['0x7100265220 [ID = 0x36f3a242]'] -> ['0x7100266E70 [ID = 0x36f3a242]'] (final state: inbytes: 0x1, outbytes: 0x0, outinterfaces: ['0x7100266E70 [ID = 0x36f3a242]'])
** Changed:  352 - outinterfaces: ['0x71002654FC [ID = 0x0919ff75]'] -> ['0x710026714C [ID = 0x0919ff75]'] (final state: inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x710026714C [ID = 0x0919ff75]'])
* Interface Changed: nn::account::baas::IAdministrator
** Changed:  181 - outinterfaces: ['0x71002636E8 [ID = 0x107aa108]'] -> ['0x7100265338 [ID = 0x107aa108]'] (final state: inbytes: 0x0, outbytes: 0x0, outinterfaces: ['0x7100265338 [ID = 0x107aa108]'])
** Changed:  182 - outinterfaces: ['0x71002636E8 [ID = 0x107aa108]'] -> ['0x7100265338 [ID = 0x107aa108]'] (final state: inbytes: 0x10, outbytes: 0x0, outinterfaces: ['0x7100265338 [ID = 0x107aa108]'])
* Interface Changed: nn::account::baas::IManagerForSystemService
** Changed:  181 - outinterfaces: ['0x71002636E8 [ID = 0x107aa108]'] -> ['0x7100265338 [ID = 0x107aa108]'] (final state: inbytes: 0x0, outbytes: 0x0, outinterfaces: ['0x7100265338 [ID = 0x107aa108]'])
** Changed:  182 - outinterfaces: ['0x71002636E8 [ID = 0x107aa108]'] -> ['0x7100265338 [ID = 0x107aa108]'] (final state: inbytes: 0x10, outbytes: 0x0, outinterfaces: ['0x7100265338 [ID = 0x107aa108]'])
* Interface Changed: nn::ns::detail::IApplicationManagerInterface
* Interface Changed: nn::ns::detail::IApplicationManagerInterface
** Added:    933 - buffers: [0x6], inbytes: 0x90, outbytes: 0x4
** Added:    933 - buffers: [0x6], inbytes: 0x90, outbytes: 0x4
** Added:    2183 - inbytes: 0x8, outbytes: 0x0
** Added:    2183 - inbytes: 0x8, outbytes: 0x0
** Changed:  4026 - outinterfaces: ['0x71001A495C [ID = 0x04dea048]'] -> ['0x71001A5D44 [ID = 0x04dea048]'] (final state: inbytes: 0x8, outbytes: 0x0, outinterfaces: ['0x71001A5D44 [ID = 0x04dea048]'])
** Changed:  4027 - outinterfaces: ['0x71001A4F60 [ID = 0x4e930893]'] -> ['0x71001A6348 [ID = 0x4e930893]'] (final state: inbytes: 0x8, outbytes: 0x0, outinterfaces: ['0x71001A6348 [ID = 0x4e930893]'])
* Interface Changed: nn::ns::detail::IContentManagementInterface
* Interface Changed: nn::ns::detail::IContentManagementInterface
** Added:      58 - inbytes: 0x0, outbytes: 0x0
** Added:      58 - inbytes: 0x0, outbytes: 0x0
Line 184: Line 147:
* Interface Changed: nn::ns::detail::IReadOnlyApplicationControlDataInterface
* Interface Changed: nn::ns::detail::IReadOnlyApplicationControlDataInterface
** Added:      17 - buffers: [0x6], inbytes: 0x90, outbytes: 0x4
** Added:      17 - buffers: [0x6], inbytes: 0x90, outbytes: 0x4
* Unknown Interface prev-version: 0x71000CE314 [ID = 0x359536d2]
* Unknown Interface cur-version: 0x71000CE4B4 [ID = 0x359536d2]
* Interface Changed: nn::am::service::IAllSystemAppletProxiesService
** Changed:  460 - outinterfaces: ['0x71000CE314 [ID = 0x359536d2]'] -> ['0x71000CE4B4 [ID = 0x359536d2]'] (final state: inbytes: 0x0, outbytes: 0x0, outinterfaces: ['0x71000CE4B4 [ID = 0x359536d2]'])
* Interface Changed: nn::nim::detail::INetworkInstallManager
* Interface Changed: nn::nim::detail::INetworkInstallManager
** Added:    173 - buffer_entry_sizes: [0x10], buffers: [0x5], inbytes: 0x0, outbytes: 0x0
** Added:    173 - buffer_entry_sizes: [0x10], buffers: [0x5], inbytes: 0x0, outbytes: 0x0
* Unknown Interface prev-version: 0x7100097948 [ID = 0xfe214da9]
* Unknown Interface prev-version: 0x7100097948 [ID = 0xfe214da9]
* Unknown Interface prev-version: 0x7100096B3C [ID = 0xdf171f31]
* Unknown Interface cur-version: 0x7100097948 [ID = 0xfe214da9]
* Unknown Interface cur-version: 0x7100097948 [ID = 0xfe214da9]
* Unknown Interface cur-version: 0x7100096B3C [ID = 0xdf171f31]
* Unknown Interface prev-version: 0x710005ECA0 [ID = 0xef2a5618]
* Unknown Interface prev-version: 0x710005ECA0 [ID = 0xef2a5618]
* Unknown Interface cur-version: 0x710005ECA0 [ID = 0xef2a5618]
* Unknown Interface cur-version: 0x710005ECA0 [ID = 0xef2a5618]
* Unknown Interface prev-version: 0x710014064C [ID = 0x29d8801c]
* Unknown Interface prev-version: 0x710014064C [ID = 0x29d8801c]
* Unknown Interface prev-version: 0x7100140AD0 [ID = 0xeb5e4ee2]
* Unknown Interface prev-version: 0x710013C47C [ID = 0x6e021695]
* Unknown Interface prev-version: 0x7100141A58 [ID = 0x3c7c9db7]
* Unknown Interface prev-version: 0x710013E13C [ID = 0x8cf617a1]
* Unknown Interface cur-version: 0x710013C728 [ID = 0x6e021695]
* Unknown Interface cur-version: 0x71001408F8 [ID = 0x29d8801c]
* Unknown Interface cur-version: 0x71001408F8 [ID = 0x29d8801c]
* Unknown Interface cur-version: 0x7100141D04 [ID = 0x3c7c9db7]
* Unknown Interface cur-version: 0x7100140D7C [ID = 0xeb5e4ee2]
* Unknown Interface cur-version: 0x710013E3E8 [ID = 0x8cf617a1]
* Interface Changed: nn::migration::user::IService
* Interface Changed: nn::migration::user::IService
** Changed:  2100 - outinterfaces: ['0x710013C47C [ID = 0x6e021695]'] -> ['0x710013C728 [ID = 0x6e021695]'] (final state: buffer_entry_sizes: [0x100], buffers: [0x19], inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x710013C728 [ID = 0x6e021695]'])
** Changed:  2110 - outinterfaces: ['0x710013C47C [ID = 0x6e021695]'] -> ['0x710013C728 [ID = 0x6e021695]'] (final state: inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x710013C728 [ID = 0x6e021695]'])
** Changed:  2200 - outinterfaces: ['0x710013E13C [ID = 0x8cf617a1]'] -> ['0x710013E3E8 [ID = 0x8cf617a1]'] (final state: buffer_entry_sizes: [0x100], buffers: [0x19], inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x710013E3E8 [ID = 0x8cf617a1]'])
** Changed:  2210 - outinterfaces: ['0x710013E13C [ID = 0x8cf617a1]'] -> ['0x710013E3E8 [ID = 0x8cf617a1]'] (final state: inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x710013E3E8 [ID = 0x8cf617a1]'])
** Changed:  2250 - outinterfaces: ['0x710014064C [ID = 0x29d8801c]'] -> ['0x71001408F8 [ID = 0x29d8801c]'] (final state: inbytes: 0x18, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x71001408F8 [ID = 0x29d8801c]'])
** Changed:  2250 - outinterfaces: ['0x710014064C [ID = 0x29d8801c]'] -> ['0x71001408F8 [ID = 0x29d8801c]'] (final state: inbytes: 0x18, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x71001408F8 [ID = 0x29d8801c]'])
** Changed:  2260 - outinterfaces: ['0x710014064C [ID = 0x29d8801c]'] -> ['0x71001408F8 [ID = 0x29d8801c]'] (final state: inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x71001408F8 [ID = 0x29d8801c]'])
** Changed:  2260 - outinterfaces: ['0x710014064C [ID = 0x29d8801c]'] -> ['0x71001408F8 [ID = 0x29d8801c]'] (final state: inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x71001408F8 [ID = 0x29d8801c]'])
** Changed:  2300 - outinterfaces: ['0x7100140AD0 [ID = 0xeb5e4ee2]'] -> ['0x7100140D7C [ID = 0xeb5e4ee2]'] (final state: inbytes: 0x18, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x7100140D7C [ID = 0xeb5e4ee2]'])
** Changed:  2310 - outinterfaces: ['0x7100140AD0 [ID = 0xeb5e4ee2]'] -> ['0x7100140D7C [ID = 0xeb5e4ee2]'] (final state: inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x7100140D7C [ID = 0xeb5e4ee2]'])
** Changed:  2400 - outinterfaces: ['0x7100141A58 [ID = 0x3c7c9db7]'] -> ['0x7100141D04 [ID = 0x3c7c9db7]'] (final state: inbytes: 0x10, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x7100141D04 [ID = 0x3c7c9db7]'])
** Changed:  2420 - outinterfaces: ['0x7100141A58 [ID = 0x3c7c9db7]'] -> ['0x7100141D04 [ID = 0x3c7c9db7]'] (final state: inbytes: 0x4, inhandles: [1], outbytes: 0x0, outinterfaces: ['0x7100141D04 [ID = 0x3c7c9db7]'])
* Unknown Interface prev-version: 0x7100133FE0 [ID = 0x17291af3]
* Unknown Interface prev-version: 0x71001357F4 [ID = 0xa036ce80]
* Unknown Interface cur-version: 0x710013A720 [ID = 0xa036ce80]
* Unknown Interface cur-version: 0x7100138F0C [ID = 0x17291af3]
* Interface Changed: nn::olsc::srv::IDaemonController
** Changed:    13 - outinterfaces: ['0x71001357F4 [ID = 0xa036ce80]', None] -> ['0x710013A720 [ID = 0xa036ce80]', None] (final state: inbytes: 0x0, outbytes: 0x0, outinterfaces: ['0x710013A720 [ID = 0xa036ce80]', None])
* Interface Changed: nn::olsc::srv::IOlscServiceForSystemService
** Changed:  1000 - outinterfaces: ['0x7100133FE0 [ID = 0x17291af3]'] -> ['0x7100138F0C [ID = 0x17291af3]'] (final state: buffer_entry_sizes: [0x10], buffers: [0x5], inbytes: 0x0, outbytes: 0x0, outinterfaces: ['0x7100138F0C [ID = 0x17291af3]'])
* Interface Changed: nn::olsc::srv::IRemoteStorageController
** Changed:  800 - outinterfaces: ['0x7100133FE0 [ID = 0x17291af3]'] -> ['0x7100138F0C [ID = 0x17291af3]'] (final state: buffer_entry_sizes: [0x8], buffers: [0x5], inbytes: 0x0, outbytes: 0x0, outinterfaces: ['0x7100138F0C [ID = 0x17291af3]'])
* Interface Changed: nn::olsc::srv::ITransferTaskListController
* Interface Changed: nn::olsc::srv::ITransferTaskListController
** Added:      26 - inbytes: 0x0, outbytes: 0x0, outinterfaces: ['nn::olsc::srv::IRemoteStorageController']
** Added:      26 - inbytes: 0x0, outbytes: 0x0, outinterfaces: ['nn::olsc::srv::IRemoteStorageController']
Line 301: Line 232:
* Updated L_57000, prev ver @ L_56ffc.
* Updated L_57000, prev ver @ L_56ffc.
* Updated L_767f0, prev ver @ L_76690.
* Updated L_767f0, prev ver @ L_76690.
** The code "if ({any byte at inx1+0x8 size 0x6-bytes} != 0xFF) return L_76fe0(...);" from prev ver was removed.
* Updated L_7e880, prev ver @ L_7e770.
* Updated L_7e880, prev ver @ L_7e770.
** The call to nn::os::WaitSystemEvent was replaced with a call to nn::os::TimedWaitSystemEvent, with L_7ec60 being called if that returns false.
** The call to nn::os::WaitSystemEvent was replaced with a call to nn::os::TimedWaitSystemEvent, with L_7ec60 being called if that returns false.
Line 312: Line 244:
=== [[PSC_services|psc]] ===
=== [[PSC_services|psc]] ===
The only change was [[PSC_services|updating]] the cmd impl for srepo NotifyApplicationRightsInfo, with additional bits handled for the input u32.
The only change was [[PSC_services|updating]] the cmd impl for srepo NotifyApplicationRightsInfo, with additional bits handled for the input u32.
=== [[Display_services|vi]] ===
All updated functionality is related to updating [[Display_services|caps:sc RequestTakingScreenShotEx1]].


=== [[RO_services|ro]] ===
=== [[RO_services|ro]] ===
Line 317: Line 252:
** These are initialized for both JitPlugin and User servers to point to an array of size 1, containing only Platform 0 (NX).
** These are initialized for both JitPlugin and User servers to point to an array of size 1, containing only Platform 0 (NX).
* During NRR validation, the NRR platform byte (NRR + 0x6) is now checked to be contained within the server's supported platforms array before header is copied onto stack, if it is not then error 0xC16 is returned.
* During NRR validation, the NRR platform byte (NRR + 0x6) is now checked to be contained within the server's supported platforms array before header is copied onto stack, if it is not then error 0xC16 is returned.
=== [[Migration_services|migration]] ===
Besides SDK related changes:
* Updated L_130a9c, prev ver @ L_13085c.
** This is the async task func started by IDownloader cmd500.
** Added code at 0x130b28 for calling L_1a6bf0. On fail, calls L_2e4 and L_30e24, then returns ret.
* Updated L_131bf8, prev ver @ L_131984.
** This is the actual task impl func, for the async task started by IDownloader cmd900.
** Added code at 0x131c64 for calling L_1a6bf0. On fail, calls L_2e4 and L_30e24, then returns ret.
* Updated L_146590, prev ver @ L_1462f0.
** The code at 0x1465f4 now checks for inw0>0x1400ff, instead of inw0>0x100000.
* New func L_1a6bf0, only called by the above.


=== [[JIT_services|jit]] ===
=== [[JIT_services|jit]] ===