zeroflte:/ $ dmesg | grep MDM [4: mdm_helper: 4593] [ALOG] Found private data for MDM9x35 [4: mdm_helper: 4593] Name:MDM9x35 [4: mdm_helper: 4593] [ALOG] Starting MDM helper [4: mdm_helper: 4593] [ALOG] Creating thread for MDM9x35 [7: mdm_helper: 4608] [ALOG] Starting MDM9x35 [7: mdm_helper: 4608] [ALOG] MDM9x35 : switching state to POWERUP [7: mdm_helper: 4608] [ALOG] MDM9x35: Initializing environment [3:mdm_helper_prox: 4700] [ALOG] Found private data for MDM9x35 [3:mdm_helper_prox: 4700] Name:MDM9x35 [3:mdm_helper_prox: 4700] [ALOG] Starting MDM helper [3:mdm_helper_prox: 4700] [ALOG] Creating thread for MDM9x35 [7: mdm_helper: 4608] [ALOG] MDM9x35: Setting up HSIC boot link [7: mdm_helper: 4608] [ALOG] MDM9x35: configure_flashless_boot_dev: Initiating HSIC unbind [1: mdm_helper: 4608] [ALOG] MDM9x35: configure_flashless_boot_dev: Initiating HSIC bind [7: mdm_helper: 4608] [ALOG] MDM9x35: Loading Sahara images11111 [7: mdm_helper: 4608] [ALOG] MDM9x35: Running '/system/bin/ks -w /cpdump/ -p /dev/ks_hsic_bridge -r 21 -s 21:/firmware/image/sbl1.mbn -s 25:/firmware/image/tz.mbn -s 30:/firmware/image/sdi.mbn -s 23:/firmware/image/rpm.mbn -s 31:/firmware/image/mba.mbn -s 8:/firmware/image/qdsp6sw.mbn -s 28:/firmware/image/dsp2.mbn -s 6:/firmware/image/apps.mbn -s 16:/dev/block/modem/m9kefs1 -s 17:/dev/block/modem/m9kefs2 -s 20:/dev/block/modem/m9kefs3 -s 29:/firmware/image/acdb.mbn' [4: mdm_helper: 4608] [ALOG] MDM9x35: Running Done'/system/bin/ks -w /cpdump/ -p /dev/ks_hsic_bridge -r 21 -s 21:/firmware/image/sbl1.mbn -s 25:/firmware/image/tz.mbn -s 30:/firmware/image/sdi.mbn -s 23:/firmware/image/rpm.mbn -s 31:/firmware/image/mba.mbn -s 8:/firmware/image/qdsp6sw.mbn -s 28:/firmware/image/dsp2.mbn -s 6:/firmware/image/apps.mbn -s 16:/dev/block/modem/m9kefs1 -s 17:/dev/block/modem/m9kefs2 -s 20:/dev/block/modem/m9kefs3 -s 29:/firmware/image/acdb.mbn' [4: mdm_helper: 4608] [ALOG] MDM9x35: ERROR: ks return code was 32512 [4: mdm_helper: 4608] [ALOG] MDM9x35: Failed to load image/collect logs [4: mdm_helper: 4608] [ALOG] MDM9x35 : Powerup failed [4: mdm_helper: 4608] [ALOG] MDM9x35 : Reached failed state. exiting [4: mdm_helper: 4608] [ALOG] MDM9x35 : Calling cleanup function [4: mdm_helper: 4608] [ALOG] MDM9x35: mdm-helper reached fail state [0:mdm_helper_prox: 4710] [ALOG] MDM9x35: subsystem powerup fail /dev/subsys_esoc0 zeroflte:/ $
/system/bin/ks を用意する
sepolicyをこれに合わせて修正する
file_contexts
/system/bin/mdm_helper u:object_r:mdm_helper_exec:s0 /system/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0 /system/bin/ks u:object_r:mdm_helper_exec:s0