The XDAndroid Project is no longer active.
This site provides archived information from while the project was under development. Some links may no longer function.

Difference between revisions of "Kernel boot command-line parameters"

From The XDAndroid Project
Jump to navigation Jump to search
[checked revision][checked revision]
(more)
(more)
Line 1: Line 1:
 
This page documents some of the '''kernel boot command-line parameters''' that are useful for XDAndroid users.
 
This page documents some of the '''kernel boot command-line parameters''' that are useful for XDAndroid users.
  
;htcblackstone-panel.no_bkl_off
+
;acpuclock.oc_freq_khz
:''1'': don't turn off the backlight
+
:change this for overclocking
 +
:''540672'': 528 MHz (stock speed for Rhodium)
 +
:''716800'': 700 MHz
 +
:''786432'': 768 MHz
 
;board-htcraphael-navi.wake
 
;board-htcraphael-navi.wake
 
:Controls which buttons wake the device from sleep. (board-htcraphael-navi.c)
 
:Controls which buttons wake the device from sleep. (board-htcraphael-navi.c)
 
:''0'': ?
 
:''0'': ?
 +
;board-htcrhodium-proximity.on
 +
:''1'': enable proximity sensor
 +
;board-htcrhodium-proximity.wake
 +
:''1'': enable wake on proximity sensor
 
;board-htcvogue.panel_type
 
;board-htcvogue.panel_type
 
:Panel type used to power the panel off and on.
 
:Panel type used to power the panel off and on.
Line 18: Line 25:
 
;clock-7x00.mddi
 
;clock-7x00.mddi
 
:[[Wikipedia:Mobile Display Digital Interface|Mobile Display Digital Interface]] (MDDI) clock address/offset/? (e.g. 0xa51 or 0xe2c) (clock-7x00.c)
 
:[[Wikipedia:Mobile Display Digital Interface|Mobile Display Digital Interface]] (MDDI) clock address/offset/? (e.g. 0xa51 or 0xe2c) (clock-7x00.c)
 +
;external.rhod_speaker
 +
:''1'': enable external speaker
 
;gsensor_axis
 
;gsensor_axis
 
:Maps the hardware accelerometer axes to software.
 
:Maps the hardware accelerometer axes to software.
 +
;htcblackstone-panel.no_bkl_off
 +
:''1'': don't turn off the backlight
 +
;htc_battery_smem.fake
 +
:''1'': turn off low-battery warning
 +
;htc_hw.call_vol
 +
:in-call speaker volume level (non-speakerphone speaker)
 +
:''0'': lowest volume
 +
:...
 +
:''5'': highest volume
 
;htc_hw.force_cdma
 
;htc_hw.force_cdma
 
:''1'': tells the phone to use CDMA.  This is useful for the Touch Pro2, which can contain both GSM and CDMA hardware.
 
:''1'': tells the phone to use CDMA.  This is useful for the Touch Pro2, which can contain both GSM and CDMA hardware.
 +
;hw3d.force
 +
:''1'': enable hardware 3D
 
;lcd.density
 
;lcd.density
 
:?
 
:?
Line 28: Line 48:
 
;mddi.height
 
;mddi.height
 
:[[Wikipedia:Mobile Display Digital Interface|MDDI]] - ?
 
:[[Wikipedia:Mobile Display Digital Interface|MDDI]] - ?
 +
;msm_blackstone_pad.vibrate
 +
:''1'' - ?
 
;msmsdcc_1bit
 
;msmsdcc_1bit
 
:Eschews 4-bit-data mode for 1-bit-data mode in the MSM SD Card Controller. (msm_sdcc.c)
 
:Eschews 4-bit-data mode for 1-bit-data mode in the MSM SD Card Controller. (msm_sdcc.c)
Line 52: Line 74:
 
:''rhod100_uk''
 
:''rhod100_uk''
 
:''rhod210''
 
:''rhod210''
:''rhod400''
+
:''rhod400'' (Sprint keyboard)
:''rhod500''
+
:''rhod500'' (Verizon keyboard)
 
:''tilt2''
 
:''tilt2''
 
;pm.debug_mask
 
;pm.debug_mask
:power management - ?
+
:power management - debug options
:''2'': ?
+
:''2'': vibrates phone lightly after it exits deep sleep
 
;pm.sleep_mode
 
;pm.sleep_mode
:power management: set the mode used when the phone is off
+
:power management: set the mode used when the phone is "off"
:''0'': Power Collapse Suspend
+
:''0'': Power Collapse Suspend - totally power off the [[Wikipedia:ARM11|ARM11]] ([[Wikipedia:processor register|register]]s must be restored)<ref name="androidport faq">http://sites.google.com/site/androidport/faq</ref>
:''1'': Power Collapse
+
:''1'': Power Collapse - totally power off the ARM11 (registers must be restored)<ref name="androidport faq"/>
:''2'': Apps Sleep
+
:''2'': Apps Sleep - ARM11 is still on, but put into low-power mode (registers are still saved)<ref name="androidport faq"/>
:''3'': Slow Clock and Wait for Interrupt
+
:''3'': the ARM11's clock is lowered to 20&nbsp;MHz instead of 300&ndash;500, and voltage is lowered too; wait for interrupt<ref name="androidport faq"/>
:''4'': Wait for Interrupt
+
:''4'': Wait for Interrupt - no change in ARM11's clock or voltage<ref name="androidport faq"/>
 
;pmem.extra
 
;pmem.extra
 
:''1'': ?
 
:''1'': ?
Line 82: Line 104:
 
==External links==
 
==External links==
 
* http://www.androidonhtc.com/wiki/Boot_Options - similar information
 
* http://www.androidonhtc.com/wiki/Boot_Options - similar information
 +
* http://sites.google.com/site/androidport/faq - look for "What are the different cmdline switches I can pass in the Startup.txt?"
 +
 +
==References==
 +
<references/>

Revision as of 23:39, 19 November 2010

This page documents some of the kernel boot command-line parameters that are useful for XDAndroid users.

acpuclock.oc_freq_khz
change this for overclocking
540672: 528 MHz (stock speed for Rhodium)
716800: 700 MHz
786432: 768 MHz
board-htcraphael-navi.wake
Controls which buttons wake the device from sleep. (board-htcraphael-navi.c)
0: ?
board-htcrhodium-proximity.on
1: enable proximity sensor
board-htcrhodium-proximity.wake
1: enable wake on proximity sensor
board-htcvogue.panel_type
Panel type used to power the panel off and on.
0: don't power off the panel (default)
1: Hitachi
2: Topoly
3: Samsung
clock-7x00.a11
ARM11 clock speed in MHz. (clock-7x00.c)
clock-7x00.ahb_div
Advanced Host Bus (AHB) divider. (clock-7x00.c)
clock-7x00.mddi
Mobile Display Digital Interface (MDDI) clock address/offset/? (e.g. 0xa51 or 0xe2c) (clock-7x00.c)
external.rhod_speaker
1: enable external speaker
gsensor_axis
Maps the hardware accelerometer axes to software.
htcblackstone-panel.no_bkl_off
1: don't turn off the backlight
htc_battery_smem.fake
1: turn off low-battery warning
htc_hw.call_vol
in-call speaker volume level (non-speakerphone speaker)
0: lowest volume
...
5: highest volume
htc_hw.force_cdma
1: tells the phone to use CDMA. This is useful for the Touch Pro2, which can contain both GSM and CDMA hardware.
hw3d.force
1: enable hardware 3D
lcd.density
?
mddi.width
MDDI - ?
mddi.height
MDDI - ?
msm_blackstone_pad.vibrate
1 - ?
msmsdcc_1bit
Eschews 4-bit-data mode for 1-bit-data mode in the MSM SD Card Controller. (msm_sdcc.c)
msmsdcc_fmax
The maximum frequency (in Hz) used by the MSM SD Card Controller. (msm_sdcc.c)
msmsdcc_nopwrsave
Disables power saving in the MSM SD Card Controller. (msm_sdcc.c)
msmts_calib
?
msmvkeyb_toggle
off: MSM virtual keyboard - ?
north_am_dialing
1: tells the RIL to strip "+" characters from phone numbers before dialing them. This is useful with some North American carriers (e.g. Sprint) that do not handle phone numbers containing "+". See also http://wiki.cdg.org/wiki/Plus_Code_Dialing.
physkeyboard
fuze
raph
german_raph
nordic_raph
swiss_raph
rhod100_de
rhod100_fr
rhod100_it
rhod100_nordic
rhod100_uk
rhod210
rhod400 (Sprint keyboard)
rhod500 (Verizon keyboard)
tilt2
pm.debug_mask
power management - debug options
2: vibrates phone lightly after it exits deep sleep
pm.sleep_mode
power management: set the mode used when the phone is "off"
0: Power Collapse Suspend - totally power off the ARM11 (registers must be restored)[1]
1: Power Collapse - totally power off the ARM11 (registers must be restored)[1]
2: Apps Sleep - ARM11 is still on, but put into low-power mode (registers are still saved)[1]
3: the ARM11's clock is lowered to 20 MHz instead of 300–500, and voltage is lowered too; wait for interrupt[1]
4: Wait for Interrupt - no change in ARM11's clock or voltage[1]
pmem.extra
1: ?
ppp.apn
PPP Access Point Name, e.g. "internet"
ppp.nostart
1: disable starting the PPP connection on boot
ppp.password
The password used to connect to the network when dialing #777.
ppp.username
The username used to connect to the network when dialing #777.
rel_path
The path where the kernel should look for other XDAndroid files.
sensor
topaz: ?

External links

References