Buggy code:
public static final String PREF_KSM = "ksm" ; public static final String PREF_READAHEAD = "read_ahead" ; public static final String PREF_WRITEBACK = "writeback" ; public static final String PREF_TCP_CONGESTION = "tcp_congestion" ; private static final String MISC_SETTINGS_STORAGE = "miscSettingsStorage" ; private SharedPreferences prefs ; private SharedPreferences mMiscSettings ; private String gpu_file ; private String mHotplugPath ; public static final int mNumCpus = Runtime . getRuntime ( ) . availableProcessors ( ) ; private static final shellHelper shell = new shellHelper ( ) ; private static final shellHelper shellPara = new shellHelper ( ) ; private static final ArrayList < String > defaultProfile = new ArrayList < String > ( ) ; private static final GenericHelper genHelper = new GenericHelper ( ) ; public void setSettings ( final Context context , final String Profile ) { } private void doBackground ( Context context , String Profile ) { } public void executeDefault ( ) { } private Boolean getSaveBoolean ( final String s ) { } private void setSubParameters ( String mem_ios , String Profile , String gpu_gov ) throws NullPointerException { settingsHelper . shellPara . queueWork ( "sleep<seq2seq4repair_space>1" ) ; final String [ ] completeVMSettings = settingsHelper . shellPara . getDirInfo ( DALVIK_TWEAK , true ) ; final String cpu_governor = settingsHelper . shell . getInfo ( ( ( ( FilePath . CPU_BASE_PATH ) + 0 ) + ( FilePath . CURRENT_GOV_AVAILABLE ) ) ) ; final String [ ] completeGovernorSettingList = settingsHelper . shellPara . getDirInfo ( ( ( FilePath . CPU_GOV_BASE ) + cpu_governor ) , true ) ; if ( mem_ios != null ) { String [ ] completeIOSchedulerSettings = settingsHelper . shellPara . getDirInfo ( GOV_IO_PARAMETER , true ) ; for ( String b : completeIOSchedulerSettings ) { final String ioSettings = prefs . getString ( ( ( ( FilePath . GOV_IO_PARAMETER ) + "//" ) + b ) , null ) ; if ( ioSettings != null ) { settingsHelper . shellPara . queueWork ( ( ( ( "chmod<seq2seq4repair_space>0666<seq2seq4repair_space>" + ( FilePath . GOV_IO_PARAMETER ) ) + "//" ) + b ) ) ; if ( Profile != null ) settingsHelper . defaultProfile . add ( ( ( ( ( ( "echo<seq2seq4repair_space>" + ( settingsHelper . shellPara . getInfo ( ( ( ( FilePath . GOV_IO_PARAMETER ) + "//" ) + b ) ) ) ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( FilePath . GOV_IO_PARAMETER ) ) + "//" ) + b ) ) ; settingsHelper . shellPara . queueWork ( ( ( ( ( ( "echo<seq2seq4repair_space>" + ioSettings ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( FilePath . GOV_IO_PARAMETER ) ) + "//" ) + b ) ) ; } } } for ( String c : completeVMSettings ) { final String vmSettings = prefs . getString ( ( ( ( FilePath . DALVIK_TWEAK ) + "//" ) + c ) , null ) ; if ( vmSettings != null ) { settingsHelper . shellPara . queueWork ( ( ( ( "chmod<seq2seq4repair_space>0666<seq2seq4repair_space>" + ( FilePath . DALVIK_TWEAK ) ) + "//" ) + c ) ) ; if ( Profile != null ) settingsHelper . defaultProfile . add ( ( ( ( ( ( "echo<seq2seq4repair_space>" + ( settingsHelper . shellPara . getInfo ( ( ( ( FilePath . DALVIK_TWEAK ) + "//" ) + c ) ) ) ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( FilePath . DALVIK_TWEAK ) ) + "//" ) + c ) ) ; <START_BUG> settingsHelper . shell . queueWork ( ( ( ( ( ( "echo<seq2seq4repair_space>" + vmSettings ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( FilePath . DALVIK_TWEAK ) ) + "//" ) + c ) ) ; <END_BUG> } } for ( String s : FilePath . HOTPLUG_PATH ) { if ( settingsHelper . genHelper . doesExist ( s ) ) mHotplugPath = s ; } if ( settingsHelper . genHelper . doesExist ( mHotplugPath ) ) { final String [ ] completeHotplugSettings = settingsHelper . shellPara . getDirInfo ( mHotplugPath , true ) ; for ( String d : completeHotplugSettings ) { final String hotplugSettings = prefs . getString ( ( ( ( mHotplugPath ) + "//" ) + d ) , null ) ; if ( hotplugSettings != null ) { settingsHelper . shellPara . queueWork ( ( ( ( "chmod<seq2seq4repair_space>0666<seq2seq4repair_space>" + ( mHotplugPath ) ) + "//" ) + d ) ) ; if ( Profile != null ) settingsHelper . defaultProfile . add ( ( ( ( ( ( "echo<seq2seq4repair_space>" + ( settingsHelper . shellPara . getInfo ( ( ( ( mHotplugPath ) + "//" ) + d ) ) ) ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( mHotplugPath ) ) + "//" ) + d ) ) ; settingsHelper . shellPara . queueWork ( ( ( ( ( ( "echo<seq2seq4repair_space>" + hotplugSettings ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( mHotplugPath ) ) + "//" ) + d ) ) ; } } } if ( settingsHelper . genHelper . doesExist ( GPU_GOV_PATH ) ) { final String [ ] completeGPUGovSettings = settingsHelper . shellPara . getDirInfo ( GPU_GOV_PATH , true ) ; for ( String e : completeGPUGovSettings ) { final String gpugovSettings = prefs . getString ( ( ( ( FilePath . GPU_GOV_PATH ) + "//" ) + e ) , null ) ; if ( gpugovSettings != null ) { settingsHelper . shellPara . queueWork ( ( ( ( "chmod<seq2seq4repair_space>0666<seq2seq4repair_space>" + ( FilePath . GPU_GOV_PATH ) ) + "//" ) + e ) ) ; if ( Profile != null ) settingsHelper . defaultProfile . add ( ( ( ( ( ( "echo<seq2seq4repair_space>" + ( settingsHelper . shellPara . getInfo ( ( ( ( FilePath . GPU_GOV_PATH ) + "//" ) + e ) ) ) ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( FilePath . GPU_GOV_PATH ) ) + "//" ) + e ) ) ; settingsHelper . shellPara . queueWork ( ( ( ( ( ( "echo<seq2seq4repair_space>" + gpugovSettings ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( FilePath . GPU_GOV_PATH ) ) + "//" ) + e ) ) ;

Fix:
settingsHelper . shellPara . queueWork ( ( ( ( ( ( "echo<seq2seq4repair_space>" + vmSettings ) + "<seq2seq4repair_space>><seq2seq4repair_space>" ) + ( FilePath . DALVIK_TWEAK ) ) + "//" ) + c ) ) ;