The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "/dev"
(→Files) |
(→Files) |
||
Line 66: | Line 66: | ||
|*[[/dev/vn0|vn0]] |
|*[[/dev/vn0|vn0]] |
||
|- |
|- |
||
− | |*[[/dev/urandom|urandom]] |
+ | |*[[/dev/urandom|urandom]] |
+ | |(Outputs pseudo-random data) |
||
|- |
|- |
||
− | |*[[/dev/uart.umts|uart.utms]] |
+ | |*[[/dev/uart.umts|uart.utms]] |
+ | |( new data line added on the iPhone 4 ) |
||
|- |
|- |
||
|*[[/dev/uart.iap|uart.iap]] |
|*[[/dev/uart.iap|uart.iap]] |
||
Line 80: | Line 82: | ||
|*[[/dev/uart.debug|uart.debug]] |
|*[[/dev/uart.debug|uart.debug]] |
||
|- |
|- |
||
− | |*[[/dev/uart.bluetooth|uart.bluetooth]] |
+ | |*[[/dev/uart.bluetooth|uart.bluetooth]] |
+ | |( Bluetooth Dev Node disabled by the kernel for power saving ) |
||
|- |
|- |
||
|*[[/dev/ttypf|ttypf]] |
|*[[/dev/ttypf|ttypf]] |
||
Line 116: | Line 119: | ||
|*[[/dev/tty.umts|tty.umts]] |
|*[[/dev/tty.umts|tty.umts]] |
||
|- |
|- |
||
− | |*[[/dev/tty.iap|tty.iap]] |
+ | |*[[/dev/tty.iap|tty.iap]] |
+ | |([http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial Dock connector serial interface]) |
||
|- |
|- |
||
|*[[/dev/tty.highland-park|tty.highland-park]] |
|*[[/dev/tty.highland-park|tty.highland-park]] |
||
|- |
|- |
||
− | |*[[/dev/tty.gas-gauge|tty.gas-gauge]] |
+ | |*[[/dev/tty.gas-gauge|tty.gas-gauge]] |
+ | |(Battery meter) |
||
|- |
|- |
||
− | |*[[/dev/tty.debug|tty.debug |
+ | |*[[/dev/tty.debug|tty.debug]] |
+ | |[[Baseband_Commands|(Baseband)]] |
||
|- |
|- |
||
|*[[/dev/tty.bluetooth|tty.bluetooth]] |
|*[[/dev/tty.bluetooth|tty.bluetooth]] |
||
Line 130: | Line 136: | ||
|*[[/dev/sha1_0|sha1_0]] |
|*[[/dev/sha1_0|sha1_0]] |
||
|- |
|- |
||
− | |*[[/dev/rdisk0s2|rdisk0s2s1]] |
+ | |*[[/dev/rdisk0s2|rdisk0s2s1]] |
+ | |(Character device equivalent of disk0s2s1) |
||
|- |
|- |
||
− | |*[[/dev/rdisk0s2|rdisk0s2]] |
+ | |*[[/dev/rdisk0s2|rdisk0s2]] |
+ | |(Character device equivalent of disk0s2) |
||
|- |
|- |
||
− | |*[[/dev/rdisk0s1|rdisk0s1]] |
+ | |*[[/dev/rdisk0s1|rdisk0s1]] |
+ | |(Character device equivalent of disk0s1) |
||
|- |
|- |
||
− | |*[[/dev/rdisk0|rdisk0]] |
+ | |*[[/dev/rdisk0|rdisk0]] |
+ | |(Character device equivalent of disk0) |
||
|- |
|- |
||
− | |*[[/dev/random|random]] |
+ | |*[[/dev/random|random]] |
+ | |(Outputs random data) |
||
|- |
|- |
||
|*[[/dev/ptypf|ptypf]] |
|*[[/dev/ptypf|ptypf]] |
||
Line 172: | Line 183: | ||
|*[[/dev/ptyp0|ptyp0]] |
|*[[/dev/ptyp0|ptyp0]] |
||
|- |
|- |
||
− | |*[[/dev/ptmx|ptmx]] |
+ | |*[[/dev/ptmx|ptmx]] |
+ | |( Posix terminal ) |
||
|- |
|- |
||
− | |*[[/dev/pf|pf]] |
+ | |*[[/dev/pf|pf]] |
+ | |( [[wikipedia:PF (firewall)|firewall]] ) |
||
|- |
|- |
||
− | |*[[/dev/null|null]] |
+ | |*[[/dev/null|null]] |
+ | |(Doesn't output, discards input) |
||
|- |
|- |
||
− | |*[[/dev/mem|mem]] |
+ | |*[[/dev/mem|mem]] |
+ | |( public memory monitored by [[sandbox]] ) |
||
|- |
|- |
||
|*[[/dev/klog|klog]] |
|*[[/dev/klog|klog]] |
||
|- |
|- |
||
− | |*[[/dev/kmem|kmem]] |
+ | |*[[/dev/kmem|kmem]] |
+ | |( private memory used to patch the [[kernel]] memory in [[userland]] jailbreak's ) |
||
|- |
|- |
||
|*[[/dev/io8logmt|io8logmt]] |
|*[[/dev/io8logmt|io8logmt]] |
||
|- |
|- |
||
− | |*[[/dev/io8log|io8log]] |
+ | |*[[/dev/io8log|io8log]] |
+ | |( replied AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 when opened [http://yfrog.com/hta56p] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.sms|dlci.spi-baseband.sms]] |
+ | |*[[/dev/dlci.spi-baseband.sms|dlci.spi-baseband.sms]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.reg|dlci.spi-baseband.reg]] |
+ | |*[[/dev/dlci.spi-baseband.reg|dlci.spi-baseband.reg]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.pdp_ctl|dlci.spi-baseband.pdp_ctl]] |
+ | |*[[/dev/dlci.spi-baseband.pdp_ctl|dlci.spi-baseband.pdp_ctl]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.pdp_3|dlci.spi-baseband.pdp_3]] |
+ | |*[[/dev/dlci.spi-baseband.pdp_3|dlci.spi-baseband.pdp_3]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.pdp_2|dlci.spi-baseband.pdp_2]] |
+ | |*[[/dev/dlci.spi-baseband.pdp_2|dlci.spi-baseband.pdp_2]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.pdp_1|dlci.spi-baseband.pdp_1]] |
+ | |*[[/dev/dlci.spi-baseband.pdp_1|dlci.spi-baseband.pdp_1]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.pdp_0|dlci.spi-baseband.pdp_0]] |
+ | |*[[/dev/dlci.spi-baseband.pdp_0|dlci.spi-baseband.pdp_0]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.low|dlci.spi-baseband.low]] |
+ | |*[[/dev/dlci.spi-baseband.low|dlci.spi-baseband.low]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.iq|dlci.spi-baseband.iq]] |
+ | |*[[/dev/dlci.spi-baseband.iq|dlci.spi-baseband.iq]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.extra_13|dlci.spi-baseband.extra_13]] |
+ | |*[[/dev/dlci.spi-baseband.extra_13|dlci.spi-baseband.extra_13]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.cl1|dlci.spi-bseband.cl1]] |
+ | |*[[/dev/dlci.spi-baseband.cl1|dlci.spi-bseband.cl1]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.chatty|dlci.spi-baseband.chatty]] |
+ | |*[[/dev/dlci.spi-baseband.chatty|dlci.spi-baseband.chatty]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/dlci.spi-baseband.call|dlci.spi-baseband.call]] |
+ | |*[[/dev/dlci.spi-baseband.call|dlci.spi-baseband.call]] |
+ | |( compatibility node made by [[Cydia.app|Cydia]] ) |
||
|- |
|- |
||
− | |*[[/dev/disk1|disk1]] |
+ | |*[[/dev/disk1|disk1]] |
+ | |([[/Developer|Virtual drive for SDK tools image]]) |
||
|- |
|- |
||
− | |*[[/dev/disk0s2s1|disk0s2s1]] |
+ | |*[[/dev/disk0s2s1|disk0s2s1]] |
+ | |(Encrypted user partition on 3GS?) |
||
|- |
|- |
||
− | |*[[/dev/disk0s2|disk0s2]] |
+ | |*[[/dev/disk0s2|disk0s2]] |
+ | |(NAND, [[/private/var|user partition]]) |
||
|- |
|- |
||
− | |*[[/dev/disk0s1|disk0s1]] |
+ | |*[[/dev/disk0s1|disk0s1]] |
+ | |(NAND, [[/|system partition]]) |
||
|- |
|- |
||
− | |*[[/dev/disk0|disk0]] |
+ | |*[[/dev/disk0|disk0]] |
+ | |([[NAND]]) |
||
|- |
|- |
||
|*[[/dev/cu.umts|cu.umts]] |
|*[[/dev/cu.umts|cu.umts]] |
||
Line 228: | Line 263: | ||
|*[[/dev/cu.iap|cu.iap]] |
|*[[/dev/cu.iap|cu.iap]] |
||
|- |
|- |
||
− | |*[[/dev/cu.highland-park|cu.highland-park]] |
+ | |*[[/dev/cu.highland-park|cu.highland-park]] |
+ | |( camera ) |
||
|- |
|- |
||
− | |*[[/dev/cu.gps|cu.gps]] |
+ | |*[[/dev/cu.gps|cu.gps]] |
+ | |(Something with GPS) |
||
|- |
|- |
||
− | |*[[/dev/cu.gas-gauge|cu.gas-gauge]] |
+ | |*[[/dev/cu.gas-gauge|cu.gas-gauge]] |
+ | |(Exclusive access to the battery meter) |
||
|- |
|- |
||
− | |*[[/dev/cu.debug|cu.debug |
+ | |*[[/dev/cu.debug|cu.debug]] |
+ | |[[Baseband_Commands|(Exclusive access to Baseband used, for example, by BBUpdater)]] |
||
|- |
|- |
||
− | |*[[/dev/cu.bluetooth|cu.bluetooth]] |
+ | |*[[/dev/cu.bluetooth|cu.bluetooth]] |
+ | |( primary Dev Node to comunicate with the bluetooth chip ) |
||
|- |
|- |
||
− | |*[[/dev/console|console]] |
+ | |*[[/dev/console|console]] |
+ | |(System console, displayed during a verbose boot) |
||
|- |
|- |
||
− | |*[[/dev/compass2_0|compass2_0]] |
+ | |*[[/dev/compass2_0|compass2_0]] |
+ | |( [[Gyroscope]] ) |
||
|- |
|- |
||
− | |*[[/dev/compass1_0|compass1_0]] |
+ | |*[[/dev/compass1_0|compass1_0]] |
+ | |( This may exist... ) |
||
|- |
|- |
||
− | |*[[/dev/compass_0|compass_0]] |
+ | |*[[/dev/compass_0|compass_0]] |
+ | |([[Magnetometer]]) |
||
|- |
|- |
||
− | |*[[/dev/btwake|btwake]] |
+ | |*[[/dev/btwake|btwake]] |
+ | |( sent to switch the bluetooth chip on from standby ) |
||
|- |
|- |
||
− | |*[[/dev/btreset|btreset]] |
+ | |*[[/dev/btreset|btreset]] |
+ | |( used if the bluetooth chip becomes unresponsive ) |
||
|- |
|- |
||
− | |*[[/dev/bpf3|bpf3]] |
+ | |*[[/dev/bpf3|bpf3]] |
+ | |( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] ) |
||
|- |
|- |
||
− | |*[[/dev/bpf2|bpf2]] |
+ | |*[[/dev/bpf2|bpf2]] |
+ | |( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] ) |
||
|- |
|- |
||
− | |*[[/dev/bpf1|bpf1]] |
+ | |*[[/dev/bpf1|bpf1]] |
+ | |( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] ) |
||
|- |
|- |
||
− | |*[[/dev/bpf0|bpf0]] |
+ | |*[[/dev/bpf0|bpf0]] |
+ | |( [[wikipedia:Berkeley Packet Filter|Berkeley Packet Filter]] ) |
||
|- |
|- |
||
+ | |*[[/dev/aes_0|aes_0]] |
||
− | |*[[/dev/aes_0|aes_0]] ( used with a crypto bundle provided in [[XPwn]] to utilize the [[AES_Keys]] in userland ) |
||
+ | |( used with a crypto bundle provided in [[XPwn]] to utilize the [[AES_Keys]] in userland ) |
||
|- |
|- |
||
Revision as of 20:01, 26 October 2010
Contents
Summary
Device Nodes are here, as with any other standard UNIX system. The folder cannot be written to.
Key
Colors will show which devices the nodes are from. If it comes from two devices, use the 2 appropriate colors
device's | iPhone | iPhone3G | iPhone 3G S | iPhone 4 | iPod touch | iPod touch 2G | iPod touch 3G | iPod touch 4G | iPad | Apple TV |
---|---|---|---|---|---|---|---|---|---|---|
data from | No | No | Yes | Yes | No | Yes | No | No | No | No |
Children
Files
Parents
node | description | iPhone | iPhone3G | iPhone 3G S | iPhone 4 | iPod touch | iPod touch | iPod touch 2G | iPod touch 3G | iPod touch 4G | iPad | Apple TV |
---|---|---|---|---|---|---|---|---|---|---|---|---|
*zero (Outputs 0x0, discards input) | ||||||||||||
*vn1 | ||||||||||||
*vn0 | ||||||||||||
*urandom | (Outputs pseudo-random data) | |||||||||||
*uart.utms | ( new data line added on the iPhone 4 ) | |||||||||||
*uart.iap | ||||||||||||
*uart.highland-park | ||||||||||||
*uart.gps | ||||||||||||
*uart.gas-gauge | ||||||||||||
*uart.debug | ||||||||||||
*uart.bluetooth | ( Bluetooth Dev Node disabled by the kernel for power saving ) | |||||||||||
*ttypf | ||||||||||||
*ttype | ||||||||||||
*ttypd | ||||||||||||
*ttypc | ||||||||||||
*ttypb | ||||||||||||
*ttypa | ||||||||||||
*ttyp9 | ||||||||||||
*ttyp8 | ||||||||||||
*ttyp7 | ||||||||||||
*ttyp6 | ||||||||||||
*ttyp5 | ||||||||||||
*ttyp4 | ||||||||||||
*ttyp3 | ||||||||||||
*ttyp2 | ||||||||||||
*ttyp1 | ||||||||||||
*ttyp0 | ||||||||||||
*tty.umts | ||||||||||||
*tty.iap | (Dock connector serial interface) | |||||||||||
*tty.highland-park | ||||||||||||
*tty.gas-gauge | (Battery meter) | |||||||||||
*tty.debug | (Baseband) | |||||||||||
*tty.bluetooth | ||||||||||||
*tty | ||||||||||||
*sha1_0 | ||||||||||||
*rdisk0s2s1 | (Character device equivalent of disk0s2s1) | |||||||||||
*rdisk0s2 | (Character device equivalent of disk0s2) | |||||||||||
*rdisk0s1 | (Character device equivalent of disk0s1) | |||||||||||
*rdisk0 | (Character device equivalent of disk0) | |||||||||||
*random | (Outputs random data) | |||||||||||
*ptypf | ||||||||||||
*ptype | ||||||||||||
*ptypd | ||||||||||||
*ptypc | ||||||||||||
*ptypb | ||||||||||||
*ptypa | ||||||||||||
*ptyp9 | ||||||||||||
*ptyp8 | ||||||||||||
*ptyp7 | ||||||||||||
*ptyp6 | ||||||||||||
*ptyp5 | ||||||||||||
*ptyp4 | ||||||||||||
*ptyp3 | ||||||||||||
*ptyp2 | ||||||||||||
*ptyp1 | ||||||||||||
*ptyp0 | ||||||||||||
*ptmx | ( Posix terminal ) | |||||||||||
*pf | ( firewall ) | |||||||||||
*null | (Doesn't output, discards input) | |||||||||||
*mem | ( public memory monitored by sandbox ) | |||||||||||
*klog | ||||||||||||
*kmem | ( private memory used to patch the kernel memory in userland jailbreak's ) | |||||||||||
*io8logmt | ||||||||||||
*io8log | ( replied AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 when opened [1] ) | |||||||||||
*dlci.spi-baseband.sms | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.reg | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.pdp_ctl | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.pdp_3 | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.pdp_2 | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.pdp_1 | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.pdp_0 | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.low | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.iq | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.extra_13 | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-bseband.cl1 | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.chatty | ( compatibility node made by Cydia ) | |||||||||||
*dlci.spi-baseband.call | ( compatibility node made by Cydia ) | |||||||||||
*disk1 | (Virtual drive for SDK tools image) | |||||||||||
*disk0s2s1 | (Encrypted user partition on 3GS?) | |||||||||||
*disk0s2 | (NAND, user partition) | |||||||||||
*disk0s1 | (NAND, system partition) | |||||||||||
*disk0 | (NAND) | |||||||||||
*cu.umts | ||||||||||||
*cu.iap | ||||||||||||
*cu.highland-park | ( camera ) | |||||||||||
*cu.gps | (Something with GPS) | |||||||||||
*cu.gas-gauge | (Exclusive access to the battery meter) | |||||||||||
*cu.debug | (Exclusive access to Baseband used, for example, by BBUpdater) | |||||||||||
*cu.bluetooth | ( primary Dev Node to comunicate with the bluetooth chip ) | |||||||||||
*console | (System console, displayed during a verbose boot) | |||||||||||
*compass2_0 | ( Gyroscope ) | |||||||||||
*compass1_0 | ( This may exist... ) | |||||||||||
*compass_0 | (Magnetometer) | |||||||||||
*btwake | ( sent to switch the bluetooth chip on from standby ) | |||||||||||
*btreset | ( used if the bluetooth chip becomes unresponsive ) | |||||||||||
*bpf3 | ( Berkeley Packet Filter ) | |||||||||||
*bpf2 | ( Berkeley Packet Filter ) | |||||||||||
*bpf1 | ( Berkeley Packet Filter ) | |||||||||||
*bpf0 | ( Berkeley Packet Filter ) | |||||||||||
*aes_0 | ( used with a crypto bundle provided in XPwn to utilize the AES_Keys in userland ) |