[Android Software/Hacking General [Developers Only]] legion423:
Hi, I'm trying tro remove cpu settings (line 143 to 388) from cpu.prop

selectbox(
"CPU Settings","","","cpu.prop",

"Set each CPU core frequency separately","",2,
"No","(recommended)",1,
"Yes","Gives the option to set the max freq for each core individually",0,

"Select mpdecision settings","",2,
"battery savings","less aggressive (EXPERIMENTAL)",0,
"default","HTC stock",1,
"performance","more aggressive (EXPERIMENTAL)",0,

"Select thermal throttling","",2,
"extra cool","even more thermal throttling",0,
"run cool","more thermal throttling",0,
"default","default thermal throttling",1,
"run hot","less thermal throttling",0
);

if file_getprop("/tmp/aroma/cpu.prop","selected.1") == "1"
then

selectbox(
"Maximum CPU Frequency","Select maximum CPU frequency\n","@personalize","freq0.prop",
"1134MHz","",0,
"1350MHz","",0,
"1566MHz","",0,
"1728MHz","(stock)",1,
"1836MHz","",0,
"1890MHz","",0,
"1944MHz","",0,
"1998MHz","",0,
"2052MHz","",0,
"2106MHz","",0,
"2133MHz","",0,
"2160MHz","",0,
"2214MHz","",0,
"2295MHz","",0
);

endif;

if file_getprop("/tmp/aroma/cpu.prop","selected.1") == "2"
then

selectbox(
"Maximum CPU Frequency","Select maximum frequency for first CPU core\n","@personalize","freq0.prop",
"1134MHz","",0,
"1350MHz","",0,
"1566MHz","",0,
"1728MHz","(stock)",1,
"1836MHz","",0,
"1890MHz","",0,
"1944MHz","",0,
"1998MHz","",0,
"2052MHz","",0,
"2106MHz","",0,
"2133MHz","",0,
"2160MHz","",0,
"2214MHz","",0,
"2295MHz","",0
);

selectbox(
"Maximum CPU Frequency","Select maximum frequency for second CPU core\n","@personalize","freq1.prop",
"1134MHz","",0,
"1350MHz","",0,
"1566MHz","",0,
"1728MHz","(stock)",1,
"1836MHz","",0,
"1890MHz","",0,
"1944MHz","",0,
"1998MHz","",0,
"2052MHz","",0,
"2106MHz","",0,
"2133MHz","",0,
"2160MHz","",0,
"2214MHz","",0,
"2295MHz","",0
);

selectbox(
"Maximum CPU Frequency","Select maximum frequency for third CPU core\n","@personalize","freq2.prop",
"1134MHz","",0,
"1350MHz","",0,
"1566MHz","",0,
"1728MHz","(stock)",1,
"1836MHz","",0,
"1890MHz","",0,
"1944MHz","",0,
"1998MHz","",0,
"2052MHz","",0,
"2106MHz","",0,
"2133MHz","",0,
"2160MHz","",0,
"2214MHz","",0,
"2295MHz","",0
);

selectbox(
"Maximum CPU Frequency","Select maximum frequency for fourth CPU core\n","@personalize","freq3.prop",
"1134MHz","",0,
"1350MHz","",0,
"1566MHz","",0,
"1728MHz","(stock)",1,
"1836MHz","",0,
"1890MHz","",0,
"1944MHz","",0,
"1998MHz","",0,
"2052MHz","",0,
"2106MHz","",0,
"2133MHz","",0,
"2160MHz","",0,
"2214MHz","",0,
"2295MHz","",0
);

endif;

selectbox(
"<b>Auto Undervolting","Lowers the voltage for the lowest cpu frequency. Undervolting may cause instability, reinstall with stock voltage if boot fails.</b>\n","@alert","uv.prop",
"Stock","",0,
"Undervolt (850 min)","",1,
"Undervolt (825 min)","",0,
"Undervolt (800 min)","",0,
"Undervolt (775 min)","",0,
"Undervolt (750 min)","",0,
"Undervolt (725 min)","",0
);

selectbox(
"GPU Settings","","","gpu.prop",

"Select maximum GPU frequency","",2,
"400Mhz","(stock)",0,
"410Mhz","(stockish, but allows on the fly changing)",0,
"450MHz","(overclocked)",1,
"477MHz","(overclocked)",0,
"491MHz","(overclocked)",0,
"504MHz","(overclocked)",0,
"531MHz","(overclocked)",0,
"558MHz","(not recommended)",0,
"585MHz","(not recommended)",0,

"Select GPU governor","",2,
"Ondemand","(recommended)",1,
"Simple","",0
);

selectbox(
"Disk Settings","Select i/o scheduler","","disk.prop",
"CFQ","(stock)",0,
"ROW","(default)",1,
"deadline","",0,
"FIOPS","",0,
"SIO","",0
);

checkbox(
"Other settings","<b>Select the mods you want to install</b>","@personalize","mods.prop",
"Enable Logo2menu","Use HTC logo as menu button",1,
"Enable Button Light Notification","",1,
"Enable USB fastcharge","",0,
"Disable HTC color enhancement","truer color",0,
"Enable graphics boost","Better gaming performance",1,
"Disable HTC pnpmgr","HTC pnpmgr ensures smooth ui, recommend leaving it enabled",0,
"Enable exFAT support","",0,
"Enable Color/Gamma support","",0
);

selectbox(
"Wake gesture settings","configure screen wake gestures","@personalize","wg.prop",
"Do Not Select This Option for this ART enabled Rom","Wake gestures support (requires Sense 6 Toolbox or Wake Gestures Xposed module)",0,
"Traditional S2W/DT2W","Built into kernel, nothing else required",1,
"No screen wake gestures","",0
);

if file_getprop("/tmp/aroma/wg.prop","selected.0") == "1"
then
checkbox(
"Wake Gesture options","More options are available in Sense 6 Toolbox or Wake Gestures Xposed module","@personalize","wgopt.prop",
"Pocket detection","prevents accidental wakes",1
);
endif;

if file_getprop("/tmp/aroma/wg.prop","selected.0") == "2"
then
checkbox(
"S2W/DT2W options","Select the mods you want to install","@personalize","sw.prop",
"Sweep right","Sweep right across buttons to wake phone",1,
"Sweep left","Sweep left across buttons to wake phone",1,
"Sweep up","Sweep up to wake phone",1,
"Sweep down","Sweep down to wake phone",1,
"DoubleTap2Wake","Double tap bottom of screen to wake phone",0,
"DoubleTap2Wake (fullscreen)","Double tap anywhere on screen to wake phone",1,
"Logo2Wake","Wake phone with long press of HTC logo",0,
"Pocket detection","prevents accidental wakes",1
);

if file_getprop("/tmp/aroma/sw.prop","item.0.5") == "1" && file_getprop("/tmp/aroma/sw.prop","item.0.6") == "1"
then
alert(
"PLEASE NOTE:",
"You must choose either doubletap2wake or doubletap2wake fullscreen. You can't choose both",
"@alert",
"OK"
);
back("1");
endif;

if file_getprop("/tmp/aroma/sw.prop","item.0.1") == "1" ||
file_getprop("/tmp/aroma/sw.prop","item.0.2") == "1" ||
file_getprop("/tmp/aroma/sw.prop","item.0.3") == "1" ||
file_getprop("/tmp/aroma/sw.prop","item.0.4") == "1" ||
file_getprop("/tmp/aroma/sw.prop","item.0.5") == "1" ||
file_getprop("/tmp/aroma/sw.prop","item.0.6") == "1" ||
file_getprop("/tmp/aroma/sw.prop","item.0.7") == "1"
then
selectbox(
"Gesture vibration settings","Set the amount of vibration for sweep2wake/logo2wake/doubletap2wake\n","@personalize","vibrate.prop",
"No vibration","",0,
"Default vibration","",1,
"Stronger vibration","",0
);
endif;
endif;

selectbox(
"Sleep Gesture Settings","","","s2s.prop",

"Sweep2Sleep","Sweep across buttons to put phone to sleep","2",
"Disable Sweep2Sleep","",0,
"Sweep right","",0,
"Sweep left","(default)",1,
"Sweep left or right","",0,

"Logo2Sleep","Press HTC logo to put phone to sleep","2",
"Enable Logo2Sleep","",0,
"Disable Logo2Sleep","(also disables Logo2Wake",0
);

endif;

But it's said syntax error. Anyone can help me :(. Thanks