mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-26 01:44:20 +02:00
new GodMode9 release
This commit is contained in:
19
gm9_scripts/revert_sb9si.gm9
Normal file
19
gm9_scripts/revert_sb9si.gm9
Normal file
@@ -0,0 +1,19 @@
|
||||
# SafeB9SInstaller reverter script (restores the backed up data)
|
||||
# Not recommended on custom NCSDs(!)
|
||||
# last changed: 20170706
|
||||
# author: d0k3
|
||||
|
||||
set SUCCESSMSG "SB9SI reverted succesfully"
|
||||
|
||||
# check for boot9strap firm backup
|
||||
set ERRORMSG "SB9SI FIRM backup not found"
|
||||
find 0:/boot9strap/firm0_enc.bak NULL
|
||||
find 0:/boot9strap/firm1_enc.bak NULL
|
||||
|
||||
# inject the backups @ the correct locations
|
||||
set ERRORMSG "SB9SI not reverted.\nNo changes written to the system."
|
||||
ask "!!WARNING!!\nThis will restore the backups\nfound in 0:/boot9strap.\n \nProceed?"
|
||||
allow S:/nand.bin
|
||||
inject -n -s -o 0:/boot9strap/sector0x96_enc.bak S:/nand.bin@12C00
|
||||
inject -n 0:/boot9strap/firm0_enc.bak S:/nand.bin@B130000
|
||||
inject -n 0:/boot9strap/firm1_enc.bak S:/nand.bin@B530000
|
17
gm9_scripts/revert_sb9si_pre0.0.7.gm9
Normal file
17
gm9_scripts/revert_sb9si_pre0.0.7.gm9
Normal file
@@ -0,0 +1,17 @@
|
||||
# SafeB9SInstaller reverter script (restores the backed up data)
|
||||
# Not recommended on custom NCSDs(!)
|
||||
# last changed: 20170706
|
||||
# author: d0k3
|
||||
|
||||
set SUCCESSMSG "SB9SI reverted succesfully"
|
||||
|
||||
# check for boot9strap firm backup
|
||||
set ERRORMSG "SB9SI (pre0.0.7) FIRM backup not found"
|
||||
find 0:/boot9strap/firm0firm1.bak NULL
|
||||
|
||||
# inject the backups @ the correct locations
|
||||
set ERRORMSG "SB9SI not reverted.\nNo changes written to the system."
|
||||
ask "!!WARNING!!\nThis will restore the backups\nfound in 0:/boot9strap/.\n \nProceed?"
|
||||
allow S:/nand.bin
|
||||
inject -n -s -o 0:/boot9strap/sector0x96.bak S:/nand.bin@12C00
|
||||
inject -n 0:/boot9strap/firm0firm1.bak S:/nand.bin@B130000
|
27
gm9_scripts/uninstall_hax_retail_NEW.gm9
Normal file
27
gm9_scripts/uninstall_hax_retail_NEW.gm9
Normal file
@@ -0,0 +1,27 @@
|
||||
# SigHax Uninstaller script (reverts from SigHax to stock)
|
||||
# This is for retail N3DS units only
|
||||
# Not recommended on custom NCSDs(!)
|
||||
# last changed: 20170706
|
||||
# author: d0k3
|
||||
|
||||
set SUCCESSMSG "SigHax uninstalled succesfully"
|
||||
|
||||
# check sector 0x96
|
||||
set ERRORMSG "Sector 0x96 is not genuine.\nCan't continue."
|
||||
sha S:/sector0x96.bin 82F2730D2C2DA3F30165F987FDCCAC5CBAB24B4E5F65C981CD7BE6F438E6D9D3
|
||||
|
||||
# grab NATIVE_FIRM out of the NCCH
|
||||
set ERRORMSG "NATIVE_FIRM not found.\nIs this a N3DS?"
|
||||
find 1:/title/00040138/20000002/content/????????.app NATIVE_NCCH
|
||||
imgmount $[NATIVE_NCCH]
|
||||
verify G:/exefs/.firm
|
||||
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
|
||||
cp G:/exefs/.firm $[NATIVE_FIRM]
|
||||
imgumount
|
||||
|
||||
# Write NATIVE_FIRM to the FIRM partitions
|
||||
set ERRORMSG "Sighax not uninstalled.\nNo changes written to the system."
|
||||
ask "!!WARNING!!\nThis will remove sighax and\nrevert your system to stock.\n \nProceed?"
|
||||
allow S:/firm0.bin # same permission level for all firms
|
||||
cp -n $[NATIVE_FIRM] S:/firm0.bin
|
||||
cp -n $[NATIVE_FIRM] S:/firm1.bin
|
23
gm9_scripts/uninstall_hax_retail_OLD.gm9
Normal file
23
gm9_scripts/uninstall_hax_retail_OLD.gm9
Normal file
@@ -0,0 +1,23 @@
|
||||
# SigHax Uninstaller script (reverts from SigHax to stock)
|
||||
# This is for retail O3DS units only
|
||||
# Not recommended on custom NCSDs(!)
|
||||
# last changed: 20170706
|
||||
# author: d0k3
|
||||
|
||||
set SUCCESSMSG "SigHax uninstalled succesfully"
|
||||
|
||||
# grab NATIVE_FIRM out of the NCCH
|
||||
set ERRORMSG "NATIVE_FIRM not found.\nIs this a O3DS?"
|
||||
find 1:/title/00040138/00000002/content/????????.app NATIVE_NCCH
|
||||
imgmount $[NATIVE_NCCH]
|
||||
verify G:/exefs/.firm
|
||||
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
|
||||
cp G:/exefs/.firm $[NATIVE_FIRM]
|
||||
imgumount
|
||||
|
||||
# Write NATIVE_FIRM to the FIRM partitions
|
||||
set ERRORMSG "Sighax not uninstalled.\nNo changes written to the system."
|
||||
ask "!!WARNING!!\nThis will remove sighax and\nrevert your system to stock.\n \nProceed?"
|
||||
allow S:/nand.bin # same permission level for all firms
|
||||
cp -n $[NATIVE_FIRM] S:/firm0.bin
|
||||
cp -n $[NATIVE_FIRM] S:/firm1.bin
|
Reference in New Issue
Block a user