[X Style (Pure) Android Development] hbar98:
EDIT...

Hoookay, so my Linux is a bit rusty. I thought you could run all in one line "su sh rehpyc.sh" and it would work... turns out if you su, then enter, then run the sh command it'll work. *headslap*

I'm having issues... keeps saying permission denied. I downloaded the script, changed the ending to .sh, made a folder on my internal storage. Using adb I ran the command. This is what I get:

rehpyc.sh
shell@clark:/sdcard/scripts $ sh rehpyc.sh
sh rehpyc.sh
----------------------------------------------------------
Modifying Frankenclark settings
----------------------------------------------------------
rehpyc.sh[6]: can't create /sys/devices/system/cpu/cpu4/online: Permission denie
d
chmod: /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq: No such file or di
rectory
rehpyc.sh[8]: can't create /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
: No such file or directory
chmod: /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq: No such file or di
rectory
chmod: /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq: No such file or di
rectory
rehpyc.sh[11]: can't create /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_fre
q: No such file or directory
chmod: /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq: No such file or di
rectory
chmod: /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor: No such file or di
rectory
rehpyc.sh[16]: can't create /sys/devices/system/cpu/cpu4/cpufreq/scaling_governo
r: No such file or directory
chmod: /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor: No such file or di
rectory
rehpyc.sh[18]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/abo
ve_hispeed_delay: No such file or directory
rehpyc.sh[19]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_
hispeed_load: No such file or directory
rehpyc.sh[20]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/min
_sample_time: No such file or directory
rehpyc.sh[21]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/his
peed_freq: No such file or directory
rehpyc.sh[22]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/scr
een_off_maxfreq: No such file or directory
rehpyc.sh[23]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/tim
er_rate: No such file or directory
rehpyc.sh[24]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/tar
get_loads: No such file or directory
rehpyc.sh[25]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/tim
er_slack: No such file or directory
rehpyc.sh[26]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/ali
gn_windows: No such file or directory
rehpyc.sh[27]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/boo
st: No such file or directory
rehpyc.sh[28]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/boo
stpulse_duration: No such file or directory
rehpyc.sh[29]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_
is_busy: No such file or directory
rehpyc.sh[30]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/max
_freq_hysteresis: No such file or directory
rehpyc.sh[31]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/use
_migration_notif: No such file or directory
rehpyc.sh[32]: can't create /sys/devices/system/cpu/cpu4/cpufreq/interactive/use
_sched_load: No such file or directory
chmod: chmod '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq' to 100644:
Permission denied
rehpyc.sh[36]: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_fre
q: Permission denied
chmod: chmod '/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq' to 100444:
Permission denied
chmod: chmod '/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq' to 100644:
Permission denied
rehpyc.sh[39]: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_fre
q: Permission denied
chmod: chmod '/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq' to 100444:
Permission denied
chmod: chmod '/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor' to 100644:
Permission denied
rehpyc.sh[44]: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governo
r: Permission denied
chmod: chmod '/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor' to 100444:
Permission denied
rehpyc.sh[46]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/abo
ve_hispeed_delay: Permission denied
rehpyc.sh[47]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_
hispeed_load: Permission denied
rehpyc.sh[48]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/min
_sample_time: Permission denied
rehpyc.sh[49]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/his
peed_freq: Permission denied
rehpyc.sh[50]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/scr
een_off_maxfreq: Permission denied
rehpyc.sh[51]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/tim
er_rate: Permission denied
rehpyc.sh[52]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/tar
get_loads: Permission denied
rehpyc.sh[53]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/tim
er_slack: Permission denied
rehpyc.sh[54]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/ali
gn_windows: Permission denied
rehpyc.sh[55]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/boo
st: Permission denied
rehpyc.sh[56]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/boo
stpulse_duration: Permission denied
rehpyc.sh[57]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_
is_busy: Permission denied
rehpyc.sh[58]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/max
_freq_hysteresis: Permission denied
rehpyc.sh[59]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/use
_migration_notif: Permission denied
rehpyc.sh[60]: can't create /sys/devices/system/cpu/cpu0/cpufreq/interactive/use
_sched_load: Permission denied
rehpyc.sh[63]: can't create /sys/module/cpu_boost/parameters/input_boost_freq: P
ermission denied
rehpyc.sh[64]: can't create /sys/module/cpu_boost/parameters/boost_ms: Permissio
n denied
rehpyc.sh[65]: can't create /sys/module/cpu_boost/parameters/input_boost_ms: Per
mission denied
rehpyc.sh[68]: can't create /sys/kernel/msm_mpdecision/conf/min_cpus: Permission
denied
rehpyc.sh[69]: can't create /sys/kernel/msm_mpdecision/conf/max_cpus: Permission
denied
rehpyc.sh[70]: can't create /sys/kernel/msm_mpdecision/conf/max_cpus_online_susp
: Permission denied
rehpyc.sh[71]: can't create /sys/kernel/msm_mpdecision/conf/idle_freq: Permissio
n denied
rehpyc.sh[74]: can't create /sys/devices/soc.0/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-
3d0/max_gpuclk: Permission denied
rehpyc.sh[75]: can't create /sys/devices/soc.0/fdb00000.qcom,kgsl-3d0/devfreq/fd
b00000.qcom,kgsl-3d0/governor: Permission denied
rehpyc.sh[78]: can't create /sys/module/msm_thermal/core_control/enabled: Permis
sion denied
rehpyc.sh[79]: can't create /sys/module/msm_thermal/vdd_restriction/enabled: Per
mission denied
rehpyc.sh[80]: can't create /sys/module/msm_thermal/parameters/enabled: Permissi
on denied
rehpyc.sh[83]: can't create /sys/block/mmcblk0/queue/scheduler: Permission denie
d
rehpyc.sh[84]: can't create /sys/block/mmcblk0/queue/read_ahead_kb: Permission d
enied
rehpyc.sh[85]: can't create /sys/block/mmcblk1/queue/scheduler: Permission denie
d
rehpyc.sh[86]: can't create /sys/block/mmcblk1/queue/read_ahead_kb: Permission d
enied
rehpyc.sh[87]: can't create /sys/block/mmcblk0/queue/add_random: Permission deni
ed

I have a terminal emulator on my phone. I ran it from there and got the same thing. I even tried to invoke superuser and got the same error, both on the phone and using adb. Using v.10 300hz version of the kernel.