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.

Kernel boot command-line parameters

From The XDAndroid Project
Revision as of 00:41, 15 February 2011 by Arrrghhh (talk | contribs)
Jump to navigation Jump to search

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

acpuclock.force_turbo
arch/arm/mach-msm/acpuclock.c
?
acpuclock.oc_freq_khz
arch/arm/mach-msm/acpuclock.c
change this for overclocking
540672: 528 MHz (stock speed for Rhodium)
716800: 700 MHz
786432: 768 MHz
board-htcraphael-navi.wake
arch/arm/mach-msm/board-htcraphael-navi.c
Controls which buttons wake the device from sleep.
0: ?
board-htcrhodium-proximity.on
arch/arm/mach-msm/board-htcrhodium-proximity.c
1: enable proximity sensor
board-htcrhodium-proximity.wake
arch/arm/mach-msm/board-htcrhodium-proximity.c
1: enable wake on proximity sensor
board-htcvogue.panel_type
arch/arm/mach-msm/board-htcvogue.c
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
arch/arm/mach-msm/clock-7x00.c
ARM11 clock speed in MHz.
clock-7x00.ahb_div
arch/arm/mach-msm/clock-7x00.c
Advanced Host Bus (AHB) divider.
clock-7x00.mddi
arch/arm/mach-msm/clock-7x00.c
Mobile Display Digital Interface (MDDI) clock address/offset/? (e.g. 0xa51 or 0xe2c)
external.rhod_speaker
arch/arm/mach-msm/qdsp5/external.c
1: enable external speaker
gsensor_axis
Maps the hardware accelerometer axes to software.
htcblackstone-panel.no_bkl_off
arch/arm/mach-msm/board-htcblackstone-panel.c
1: don't turn off the backlight
htc_battery_smem.fake
arch/arm/mach-msm/htc_battery_smem.c
1: turn off low-battery warning
htc_hw.call_vol
arch/arm/mach-msm/htc_hw.c
in-call speaker volume level (non-speakerphone speaker)
0: lowest volume
...
5: highest volume
force_cdma
arch/arm/mach-msm/htc_hw.c
1: tells the phone to use CDMA. This is useful for the Touch Pro2, which can contain both GSM and CDMA hardware.
htc_hw.handsfree
arch/arm/mach-msm/htc_hw.c
?
hw3d.force
arch/arm/mach-msm/hw3d.c
1: enable hardware 3D
lcd.density
?
mddi.width
MDDI - ?
mddi.height
MDDI - ?
msm_blackstone_pad.vibrate
1 - ?
msmsdcc_1bit
drivers/mmc/host/msm_sdcc.c
Eschews 4-bit-data mode for 1-bit-data mode in the MSM SD Card Controller.
msmsdcc_fmax
drivers/mmc/host/msm_sdcc.c
The maximum frequency (in Hz) used by the MSM SD Card Controller.
msmsdcc_nopwrsave
drivers/mmc/host/msm_sdcc.c
Disables power saving in the MSM SD Card Controller.
msmts_calib
?
msmvkeyb_toggle
off: MSM virtual keyboard - ?
north_am_dialing
htcgeneric-ril/htcgeneric-ril.c
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
arch/arm/mach-msm/pm.c
power management - debug options
2: vibrates phone lightly after it exits deep sleep
pm.sleep_mode
arch/arm/mach-msm/pm.c
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: ?
snd.force_headset
arch/arm/mach-msm/qdsp5/snd.c
add headset half autodetection, when you plug in/out the headset, to apply the output update, make a call (or find any other way to call snd_set_device's ioctl)
1: extUSB audio I/O
2: 3.5-mm jack

External links

References