mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 11:03:37 +03:00
delete unneeded kernel command line parameters
... this turns out to be all of them. Tested with fastboot boot boot.img --cmdline "nixos.foo=true" and then once booted, verify that most or all of the options in device boot.kernelParams are not present ched_enable_hmp=1 sched_enable_power_aware=1 nixos.foo=true androidboot.emmc=true androidboot.serialno=[redacted] androidboot.baseband=msm androidboot.mode=normal androidboot.device=potter androidboot.hwrev=0x83B0 androidboot.radio=EMEA androidboot.powerup_reason=0x00004000 androidboot.bootreason=reboot msm_poweroff.download_mode=0 androidboot.fsg-id= androidboot.wifimacaddr=[redacted] androidboot.btmacaddr=[redacted] mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_mot_boe_520_1080p_vid_v0 androidboot.bootloader=0xC092 androidboot.carrier=retgb androidboot.poweroff_alarm=0 androidboot.hardware.sku=XT1685 androidboot.secure_hardware=1 androidboot.bl_state=2 androidboot.cid=0x32 androidboot.uid=[redacted] androidboot.write_protect=0 androidboot.ssm_data=[redacted] androidboot.dualsim=true
This commit is contained in:
parent
f08d6ab437
commit
7d89bcac4d
@ -38,18 +38,6 @@
|
||||
|
||||
mobile.boot.stage-1.compression = lib.mkDefault "xz";
|
||||
|
||||
boot.kernelParams = [
|
||||
"androidboot.console=ttyHSL0"
|
||||
"androidboot.hardware=qcom"
|
||||
"user_debug=30"
|
||||
"msm_rtb.filter=0x237"
|
||||
"ehci-hcd.park=3"
|
||||
"androidboot.bootdevice=7824900.sdhci"
|
||||
"lpm_levels.sleep_disabled=1"
|
||||
"vmalloc=350M"
|
||||
"buildvariant=userdebug"
|
||||
];
|
||||
|
||||
mobile.usb.mode = "android_usb";
|
||||
# Google
|
||||
mobile.usb.idVendor = "18D1";
|
||||
|
Loading…
Reference in New Issue
Block a user