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"
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. | ||
+ | ;acpuclock.force_turbo | ||
+ | :arch/arm/mach-msm/acpuclock.c | ||
+ | :? | ||
;acpuclock.oc_freq_khz | ;acpuclock.oc_freq_khz | ||
+ | :arch/arm/mach-msm/acpuclock.c | ||
:change this for overclocking | :change this for overclocking | ||
:''540672'': 528 MHz (stock speed for Rhodium) | :''540672'': 528 MHz (stock speed for Rhodium) | ||
Line 7: | Line 11: | ||
:''786432'': 768 MHz | :''786432'': 768 MHz | ||
;board-htcraphael-navi.wake | ;board-htcraphael-navi.wake | ||
− | :Controls which buttons wake the device from sleep. | + | :arch/arm/mach-msm/board-htcraphael-navi.c |
+ | :Controls which buttons wake the device from sleep. | ||
:''0'': ? | :''0'': ? | ||
;board-htcrhodium-proximity.on | ;board-htcrhodium-proximity.on | ||
+ | :arch/arm/mach-msm/board-htcrhodium-proximity.c | ||
:''1'': enable proximity sensor | :''1'': enable proximity sensor | ||
;board-htcrhodium-proximity.wake | ;board-htcrhodium-proximity.wake | ||
+ | :arch/arm/mach-msm/board-htcrhodium-proximity.c | ||
:''1'': enable wake on proximity sensor | :''1'': enable wake on proximity sensor | ||
;board-htcvogue.panel_type | ;board-htcvogue.panel_type | ||
+ | :arch/arm/mach-msm/board-htcvogue.c | ||
:Panel type used to power the panel off and on. | :Panel type used to power the panel off and on. | ||
:''0'': don't power off the panel (default) | :''0'': don't power off the panel (default) | ||
Line 20: | Line 28: | ||
:''3'': Samsung | :''3'': Samsung | ||
;clock-7x00.a11 | ;clock-7x00.a11 | ||
− | :[[Wikipedia:ARM11|ARM11]] clock speed in MHz. | + | :arch/arm/mach-msm/clock-7x00.c |
+ | :[[Wikipedia:ARM11|ARM11]] clock speed in MHz. | ||
;clock-7x00.ahb_div | ;clock-7x00.ahb_div | ||
− | :[[Wikipedia:Advanced Microcontroller Bus Architecture#Advanced High-performance Bus (AHB)|Advanced Host Bus]] (AHB) divider. | + | :arch/arm/mach-msm/clock-7x00.c |
+ | :[[Wikipedia:Advanced Microcontroller Bus Architecture#Advanced High-performance Bus (AHB)|Advanced Host Bus]] (AHB) divider. | ||
;clock-7x00.mddi | ;clock-7x00.mddi | ||
− | :[[Wikipedia:Mobile Display Digital Interface|Mobile Display Digital Interface]] (MDDI) clock address/offset/? (e.g. 0xa51 or 0xe2c | + | :arch/arm/mach-msm/clock-7x00.c |
+ | :[[Wikipedia:Mobile Display Digital Interface|Mobile Display Digital Interface]] (MDDI) clock address/offset/? (e.g. 0xa51 or 0xe2c) | ||
;external.rhod_speaker | ;external.rhod_speaker | ||
:''1'': enable external speaker | :''1'': enable external speaker | ||
Line 30: | Line 41: | ||
:Maps the hardware accelerometer axes to software. | :Maps the hardware accelerometer axes to software. | ||
;htcblackstone-panel.no_bkl_off | ;htcblackstone-panel.no_bkl_off | ||
+ | :arch/arm/mach-msm/board-htcblackstone-panel.c | ||
:''1'': don't turn off the backlight | :''1'': don't turn off the backlight | ||
;htc_battery_smem.fake | ;htc_battery_smem.fake | ||
+ | :arch/arm/mach-msm/htc_battery_smem.c | ||
:''1'': turn off low-battery warning | :''1'': turn off low-battery warning | ||
;htc_hw.call_vol | ;htc_hw.call_vol | ||
+ | :arch/arm/mach-msm/htc_hw.c | ||
:in-call speaker volume level (non-speakerphone speaker) | :in-call speaker volume level (non-speakerphone speaker) | ||
:''0'': lowest volume | :''0'': lowest volume | ||
Line 39: | Line 53: | ||
:''5'': highest volume | :''5'': highest volume | ||
;htc_hw.force_cdma | ;htc_hw.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. | :''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 | ;hw3d.force | ||
+ | :arch/arm/mach-msm/hw3d.c | ||
:''1'': enable hardware 3D | :''1'': enable hardware 3D | ||
;lcd.density | ;lcd.density | ||
Line 51: | Line 70: | ||
:''1'' - ? | :''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. | ||
;msmsdcc_fmax | ;msmsdcc_fmax | ||
− | :The maximum frequency (in Hz) used by the MSM SD Card Controller. | + | :msm_sdcc.c |
+ | :The maximum frequency (in Hz) used by the MSM SD Card Controller. | ||
;msmsdcc_nopwrsave | ;msmsdcc_nopwrsave | ||
− | :Disables power saving in the MSM SD Card Controller. | + | :msm_sdcc.c |
+ | :Disables power saving in the MSM SD Card Controller. | ||
;msmts_calib | ;msmts_calib | ||
:? | :? | ||
Line 78: | Line 100: | ||
:''tilt2'' | :''tilt2'' | ||
;pm.debug_mask | ;pm.debug_mask | ||
+ | :arch/arm/mach-msm/pm.c | ||
:power management - debug options | :power management - debug options | ||
:''2'': vibrates phone lightly after it exits deep sleep | :''2'': vibrates phone lightly after it exits deep sleep | ||
;pm.sleep_mode | ;pm.sleep_mode | ||
+ | :arch/arm/mach-msm/pm.c | ||
: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 - 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> | :''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> |
Revision as of 21:25, 21 November 2010
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
- 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
- htc_hw.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
- msm_sdcc.c
- Eschews 4-bit-data mode for 1-bit-data mode in the MSM SD Card Controller.
- msmsdcc_fmax
- msm_sdcc.c
- The maximum frequency (in Hz) used by the MSM SD Card Controller.
- msmsdcc_nopwrsave
- msm_sdcc.c
- Disables power saving in the MSM SD Card Controller.
- 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
- 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: ?
External links
- 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?"