====== Модификация homebrew ====== Модификации применяются прямо перед выполнением команды компиляции. ===== Atmosphere ===== # dev apps on retail units # stratosphere/loader/source/ldr_meta.cpp <= R_UNLESS(( -> //R_UNLESS(( # stratosphere/loader/source/ldr_meta.cpp <= if (hos::GetVersion() < hos::Version_10_0_0) -> '' # kiosk unit as retail one # libraries/libexosphere/source/fuse/fuse_api.cpp <= QuestState GetQuestState() { -> return QuestState_Disabled; # use shared prodinfo (NX1122334455667788-0 = 0x0022334455667788) # libraries/libexosphere/source/fuse/fuse_api.cpp <= u64 GetDeviceId() { -> return 0x00??????????????; https://4pda.to/forum/index.php?s=&showtopic=900987&view=findpost&p=116397677 ===== hekate ===== Версия: * Versions.inc * bootloader/main.c Патчи: * bootloader/hos/pkg2_patches.inl Ключи: * kekseed: https://github.com/CTCaer/hekate/blob/master/bootloader/hos/hos.c#L132 * mkeyVer: https://github.com/CTCaer/hekate/blob/master/bootloader/hos/hos.h#L30 * pkg1ids: https://github.com/CTCaer/hekate/blob/master/bootloader/hos/pkg1.c#L154 ===== Lockpick_RCM ===== * ''Versions.inc'' * ''source'' * ''hos'' * ''hos.h'' <- [[https://github.com/CTCaer/hekate/blob/master/bootloader/hos/hos.h|bootloader/hos/hos.h]] | [[https://github.com/CTCaer/hekate/blob/master/nyx/nyx_gui/hos/hos.h|nyx/nyx_gui/hos/hos.h]] * ''keys'' * ''crypto.h'' <- [[https://github.com/CTCaer/hekate/blob/master/nyx/nyx_gui/hos/hos.c|nyx/nyx_gui/hos/hos.c]] * ''device_master_kek_sources'' <- ''new_console_kekseed'' * ''device_master_kek_sources_dev'' <- ??? * ''device_master_key_source_sources'' <- ''new_console_keyseed'' * ''key_sources.inl'' <- [[https://github.com/CTCaer/hekate/blob/master/nyx/nyx_gui/hos/hos.c|nyx/nyx_gui/hos/hos.c]] * ''master_kek_sources'' <- ''master_kekseed_t210_max'' * ''master_key_vectors'' <- ''console_keyseed'' * ''master_key_vectors_dev'' <- ??? * ''mariko_master_kek_sources'' <- ''master_kekseed_t210b01'' * ''mariko_master_kek_sources_dev'' <- ??? ===== sys-clk (старый) ===== Отключение ограничения на разгон GPU в портативном режиме: sed -i 's/460800000/921600000/g' ./common/include/sysclk/clocks.h sed -i 's/768000000/921600000/g' ./common/include/sysclk/clocks.h ===== sys-clk (новый) ===== Отключение ограничения на разгон GPU в портативном режиме: ''\sysmodule\src\clock_manager.cpp'' -> ''std::uint32_t ClockManager::GetMaxAllowedHz(SysClkModule module, SysClkProfile profile)''