The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Boot-args (iBoot variable)"
(Reformatted into a table) |
m (rd/rootdev confusion; I don't backlight-level is a boot-arg, only an env variable) |
||
Line 8: | Line 8: | ||
! Description |
! Description |
||
! Notes |
! Notes |
||
− | |- |
||
− | | backlight-level=# |
||
− | | <code>1</code>-<code>128</code> |
||
− | | Set LCD backlight level |
||
− | | |
||
|- |
|- |
||
| debug=# |
| debug=# |
||
Line 36: | Line 31: | ||
| rd=? |
| rd=? |
||
| <code>'md#'</code> |
| <code>'md#'</code> |
||
− | | Specify |
+ | | Specify the root device to boot from |
− | | Used when [[Restore Process|restoring]] |
+ | | Used when [[Restore Process|restoring]]; same as <code>rootdev</code> |
+ | |- |
||
+ | | rootdev=? |
||
+ | | <code>'md#'</code> |
||
+ | | Specify the root device to boot from |
||
+ | | Same as <code>rd</code> |
||
|- |
|- |
||
| serial=# |
| serial=# |
Latest revision as of 21:15, 9 June 2020
These are boot arguments that the iOS kernel accepts. These can be booted with a patched iBoot; untethered BootROM jailbreaks such as redsn0w and checkra1n do this when you set custom boot-args.
Known Boot Arguments
boot-arg | Values | Description | Notes |
---|---|---|---|
debug=# | 0x09 : Kernel debugging
|
Set kernel debug options | |
nand-enable-reformat=# | 0 , 1
|
Set whether or not to reformat NAND when restoring | Used when restoring |
pmd=#.# | Start/end address of ramdisk | Specify a ramdisk in memory to boot from | Used in the Ramdisk Hack |
-progress | N/A | Enable progress bar when restoring | Used when restoring |
rd=? | 'md#'
|
Specify the root device to boot from | Used when restoring; same as rootdev
|
rootdev=? | 'md#'
|
Specify the root device to boot from | Same as rd
|
serial=# | 3 : Debug output over serial
|
Set serial debug options | Same as debug-uarts
|
-v | N/A | Enable verbose booting |