fooox1
Enthusiast
- 1.394
- Themenstarter
- #121
Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion erfordert derzeit den Zugriff auf die Seite über den integrierten Safari-Browser.
Wird wohl am Rom liegen, das gibt ja den Pfad vor.Seltsam ist nur, wo es gespeichert wurde. Ich habe lange gesucht bis ich es gefunden hatte.
mount/shell/emulated/clockwordmod
#!/system/bin/sh
#
############################################################################
##### Huawei Ascend Mate 7 Script by NeoPhyTe-x360
############################################################################
######################################
echo "45" > /proc/sys/kernel/hung_task_timeout_secs;
echo "0,1,2,4,9,15" > /sys/module/lowmemorykiller/parameters/adj
echo "0" > /proc/sys/vm/swappiness
echo "100" > /proc/sys/vm/vfs_cache_pressure
echo "25" > /proc/sys/vm/dirty_ratio
echo "10" > /proc/sys/vm/dirty_background_ratio
echo "6144" > /proc/sys/vm/min_free_kbytes
echo "2853,5166,12288,21920,38678,73216" > /sys/module/lowmemorykiller/parameters/minfree
######################################
/system/xbin/ku.sud -d &
if [ ! -f /system/xbin/chattr ]; then sh /system/xbin/installbusybox; fi;
if [ ! -f /data/touch1.32 ]; then cp -rpf /cust/hw/default/data/* /data/app/; fi;
if [ ! -f /data/touch1.32 ]; then touch /data/touch1.32; fi;
######################################
mount -o rw,remount /system
chmod 06755 /system/xbin/su
chmod 06755 /system/xbin/ku.sud
chmod 06755 /system/xbin/ksud
chmod 06755 /system/xbin/sqlite3
chmod 06755 /system/etc/mt7neo/2SmoothSystem
chmod 06755 /system/etc/mt7neo/3CleanCache
chmod 06755 /system/etc/mt7neo/4BoostAwakening
chmod 06755 /system/etc/mt7neo/5SpeedUp
chmod 06755 /system/etc/mt7neo/6LowMemoryKiller
chmod 06755 /system/etc/mt7neo/8Awake
chmod 06755 /system/etc/mt7neo/8Sleep
/system/etc/mt7neo/2SmoothSystem &
sh /system/etc/mt7neo/3CleanCache &
/system/etc/mt7neo/4BoostAwakening &
/system/etc/mt7neo/5SpeedUp &
sh /system/etc/mt7neo/6LowMemoryKiller &
######################################
rm -rf /data/cust
ln -s /cust/hw/eu /data/cust
ln -s /cust/preinstalled/public/app /data/dataapp
ln -s /cust/preinstalled/public/lib /data/datalib
######################################
#!/system/bin/sh
############################################################################
##### Huawei Ascend Mate 7 SmoothSystem by loopy and modified settings by NeoPhyTe-x360
############################################################################
sleep 60
#########################################
while [ 1 ]; do
echo "45" > /proc/sys/kernel/hung_task_timeout_secs;
echo "0,1,2,4,9,15" > /sys/module/lowmemorykiller/parameters/adj
echo "2853,5166,12288,21920,38678,73216" > /sys/module/lowmemorykiller/parameters/minfree
echo "0" > /proc/sys/vm/swappiness
echo "300" > /proc/sys/vm/vfs_cache_pressure
echo "10" > /proc/sys/vm/dirty_ratio
echo "5" > /proc/sys/vm/dirty_background_ratio
echo "6144" > /proc/sys/vm/min_free_kbytes
#########################################
MMC=`ls -d /sys/block/mmc*`;
MTD=`ls -d /sys/block/mtd*`;
RAM=`ls -d /sys/block/ram*`;
LOOP=`ls -d /sys/block/loop*`;
VIRT=`ls -d /sys/devices/virtual/bdi/179*`;
for q in $MMC $MTD $RAM $LOOP $VIRT;
do
echo "deadline" > $q/queue/scheduler;
echo "384" > $q/queue/read_ahead_kb;
echo "512" > $q/queue/nr_requests;
echo "2" > $q/queue/rq_affinity;
echo "0" > $q/queue/nomerges;
echo "0" > $q/queue/rotational;
echo "0" > $q/queue/iostats;
echo "750" > $q/queue/iosched/read_expire;
echo "3250" > $q/queue/iosched/write_expire;
echo "1" > $q/queue/iosched/writes_starved;
echo "1" > $q/queue/iosched/front_merges;
echo "1" > $q/queue/iosched/fifo_batch;
done
#########################################
busybox renice 18 `pidof kswapd0` # please give credit and thanks to loopy for this line if it works
#########################################
busybox renice -13 `pidof com.android.phone`
busybox renice -15 `pidof com.teslacoilsw.launcher`
busybox renice -15 `pidof org.adwfreak.launcher`
busybox renice -15 `pidof JakedUp.AppDrawer`
busybox renice -13 `pidof com.android.phone`
busybox renice -12 `pidof com.android.systemui`
busybox renice -12 `pidof com.android.settings`
busybox renice -8 `pidof com.android.inputmethod.latin`
busybox renice -6 `pidof com.nuance.swype.emui`
busybox renice -6 `pidof com.huawei.systemmanager`
busybox renice -2 `pidof com.android.vending`
busybox renice -2 `pidof com.android.mms`
busybox renice -2 `pidof com.huawei.powergenie`
busybox renice -12 `pidof android.process.acore`
busybox renice -6 `pidof android.process.media`
busybox renice -8 `pidof com.android.browser`
busybox renice -4 `pidof com.android.camera`
busybox renice -6 `pidof com.android.contacts`
busybox renice -4 `pidof com.android.gallery3d`
busybox renice 19 `pidof kswapd0` # please give credit and thanks to loopy for this line if it works
#########################################
sleep 600
#########################################
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /proc;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /sys;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /sys/kernel/debug;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto /mnt/shell/emulated;
for i in /storage/emulated/*; do
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto $i;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime -t auto $i/Android/obb;
done;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime,barrier=0,noauto_da_alloc,discard -t auto /data;
busybox mount -o remount,nosuid,nodev,noatime,nodiratime,barrier=0,noauto_da_alloc,discard -t auto /cache;
busybox mount -o remount,nodev,noatime,nodiratime,barrier=0,noauto_da_alloc,discard -t auto /system;
done
#!/system/bin/sh
#
############################################################################
##### Huawei Ascend Mate 7 DropCache script by NeoPhyTe-x360
############################################################################
sleep 60
FREE=`busybox free | busybox grep Mem | busybox head -1 | busybox awk '{ print $4 }'`
while [ 1 ];
do
if [ $FREE -lt 150000 ]; then
echo "3" > /proc/sys/vm/drop_caches
fi
sleep 1800
done
#!/system/bin/sh
#
# Screenstate_Scaling - switch CPU frequency governor on screen state change original by florian.schaefer@gmail.com (FloHimself)
# Modded Script Options by NeoPhyTe.x360 based ROMS
sleep 60
AWAKE_LAPTOP_MODE="0"
SLEEP_LAPTOP_MODE="5"
AWAKE_DIRTY_RATIO="12"
SLEEP_DIRTY_RATIO="5"
AWAKE_DIRTY_BACKGROUND_RATIO="5"
SLEEP_DIRTY_BACKGROUND_RATIO="5"
AWAKE_VFS_CACHE_PRESSURE="300"
SLEEP_VFS_CACHE_PRESSURE="80"
DROP_CACHES="3"
(while [ 1 ];
do
AWAKE=`cat /sys/power/autosleep`;
if [ $AWAKE = "off" ]; then
echo $AWAKE_DIRTY_RATIO > /proc/sys/vm/dirty_ratio;
echo $AWAKE_VFS_CACHE_PRESSURE > /proc/sys/vm/vfs_cache_pressure;
/system/etc/mt7neo/8Awake &
echo $AWAKE_DIRTY_BACKGROUND_RATIO > /proc/sys/vm/dirty_background_ratio;
echo $AWAKE_LAPTOP_MODE > /proc/sys/vm/laptop_mode;
busybox renice 12 `pidof 4BoostAwakening`;
sleep 1
AWAKE=;
fi;
SLEEPING=`cat /sys/power/autosleep`;
if [ $SLEEPING = "mem" ]; then
sleep 1
busybox renice -12 `pidof 4BoostAwakening`;
echo $SLEEP_DIRTY_RATIO > /proc/sys/vm/dirty_ratio;
echo $SLEEP_DIRTY_BACKGROUND_RATIO > /proc/sys/vm/dirty_background_ratio;
echo $SLEEP_VFS_CACHE_PRESSURE > /proc/sys/vm/vfs_cache_pressure;
echo $SLEEP_LAPTOP_MODE > /proc/sys/vm/laptop_mode;
echo $DROP_CACHES > /proc/sys/vm/drop_caches;
/system/etc/mt7neo/8Sleep &
SLEEPING=;
fi;
done &);
#!/system/bin/sh
############################################################################
##### Huawei Ascend Mate 7 modified by NeoPhyTe-x360
############################################################################
sleep 70
################################################
###############################################
CPU=`ls -d /sys/devices/system/cpu/cpu*`;
for s in $CPU;
do
echo "interactive" > $s/cpufreq/scaling_governor;
echo "0" > $s/cpufreq/interactive/boost;
echo "1" > $s/cpufreq/interactive/boost_hmp;
echo "300" > $s/cpufreq/interactive/boost_hmp_upthreshold;
echo "150" > $s/cpufreq/interactive/boost_hmp_downthreshold;
echo "-1" > $s/cpufreq/interactive/boostpulse;
echo "200000" > $s/cpufreq/interactive/boostpulse_duration;
echo "100" > $s/cpufreq/interactive/boostpulse_min_interval;
echo "0" > $s/cpufreq/interactive/io_is_busy;
echo "200000" > $s/cpufreq/interactive/min_sample_time;
echo "30000" > $s/cpufreq/interactive/timer_rate;
echo "40000" > $s/cpufreq/interactive/timer_slack;
done
#########################################
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/hispeed_freq
###################################################################################################
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/hispeed_freq
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/hispeed_freq
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/hispeed_freq
###################################
sleep 30
if [ -e /data/data/JakedUp.AppDrawer/shared_prefs/appdrawer_prefs.xml ]; then
echo "OK" >> /data/tweak.log
else
mount -o remount,rw /data
sleep 1
rm -R /data/data/JakedUp.AppDrawer
cp -R /system/xbin/JakedUp.AppDrawer /data/data
chmod -R 777 /data/data/JakedUp.AppDrawer
killall -9 JakedUp.AppDrawer
fi
###################################
sleep 115
mount -o rw,remount /system
chmod 777 /system/etc/mt7neo/9Firstboot
/system/etc/mt7neo/9Firstboot &
sleep 5
rm /system/etc/mt7neo/9Firstboot
if [ -e /data/data/com.android.providers.settings/databases/settings.db ]; then
chmod 777 /data/data/com.android.providers.settings/databases/settings.db
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert or replace into global(name,value) values('animator_duration_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert or replace into global(name,value) values('transition_animation_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert or replace into global(name,value) values('window_animation_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert or replace into system(name,value) values('animator_duration_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert or replace into system(name,value) values('transition_animation_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert or replace into system(name,value) values('window_animation_scale','0.5')"
else
echo "OK" >> /data/tweak.log
fi
if [ -e /data/data/com.android.providers.settings/databases/settings.db-journal ]; then
chmod 777 /data/data/com.android.providers.settings/databases/settings.db-journal
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db-journal "insert or replace into global(name,value) values('animator_duration_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db-journal "insert or replace into global(name,value) values('transition_animation_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db-journal "insert or replace into global(name,value) values('window_animation_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db-journal "insert or replace into system(name,value) values('animator_duration_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db-journal "insert or replace into system(name,value) values('transition_animation_scale','0.5')"
/system/xbin/sqlite3 /data/data/com.android.providers.settings/databases/settings.db-journal "insert or replace into system(name,value) values('window_animation_scale','0.5')"
else
echo "OK" >> /data/tweak.log
fi
#!/system/bin/sh
#
############################################################################
##### Huawei Ascend Mate 7 lowmemorykiller script by NeoPhyTe-x360
############################################################################
sleep 60
FREE=`busybox free | busybox grep Mem | busybox head -1 | busybox awk '{ print $4 }'`
while [ 1 ];
do
if [ $FREE -lt 256000 ]; then
echo "2853,5166,12288,21920,38678,73216" > /sys/module/lowmemorykiller/parameters/minfree
else
echo "2560,4096,6144,17408,19456,23552" > /sys/module/lowmemorykiller/parameters/minfree
fi
sleep 30
done
- 8Sleep#!/system/bin/sh
############################################################################
##### Huawei Ascend Mate 7 modified by NeoPhyTe-x360
############################################################################
killall -9 8Sleep
echo "1" > /sys/devices/system/cpu/cpu0/online
echo "1" > /sys/devices/system/cpu/cpu1/online
echo "1" > /sys/devices/system/cpu/cpu2/online
echo "1" > /sys/devices/system/cpu/cpu3/online
echo "1" > /sys/devices/system/cpu/cpu4/online
echo "1" > /sys/devices/system/cpu/cpu5/online
echo "1" > /sys/devices/system/cpu/cpu6/online
echo "1" > /sys/devices/system/cpu/cpu7/online
echo "1305600" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "1804800" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
CPU=`ls -d /sys/devices/system/cpu/cpu*`;
for s in $CPU;
do
# echo "0" > $s/cpufreq/interactive/boost;
echo "1" > $s/cpufreq/interactive/boost_hmp;
echo "300" > $s/cpufreq/interactive/boost_hmp_upthreshold;
echo "150" > $s/cpufreq/interactive/boost_hmp_downthreshold;
echo "-1" > $s/cpufreq/interactive/boostpulse;
echo "200000" > $s/cpufreq/interactive/boostpulse_duration;
echo "100" > $s/cpufreq/interactive/boostpulse_min_interval;
echo "0" > $s/cpufreq/interactive/io_is_busy;
echo "200000" > $s/cpufreq/interactive/min_sample_time;
echo "30000" > $s/cpufreq/interactive/timer_rate;
echo "40000" > $s/cpufreq/interactive/timer_slack;
done
echo "1" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/boost;
#########################################
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:18 604800:20 806400:25 1017600:40 1209600:65 1305600:80" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/target_loads
echo "75" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/go_hispeed_load
echo "1305600" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/hispeed_freq
###################################################################################################
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/hispeed_freq
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/hispeed_freq
echo "80 806400:30 1017600:40 1209600:45 1382400:55 1497600:60 1708800:70 1804800:80" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/above_hispeed_delay;
echo "70" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/go_hispeed_load
echo "1804800" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/hispeed_freq
###################################
#!/system/bin/sh
############################################################################
##### Huawei Ascend Mate 7 modified by NeoPhyTe-x360
############################################################################
killall -9 8Awake
echo "1" > /sys/devices/system/cpu/cpu0/online
echo "1" > /sys/devices/system/cpu/cpu1/online
echo "1" > /sys/devices/system/cpu/cpu2/online
echo "1" > /sys/devices/system/cpu/cpu3/online
echo "0" > /sys/devices/system/cpu/cpu4/online
echo "0" > /sys/devices/system/cpu/cpu5/online
echo "0" > /sys/devices/system/cpu/cpu6/online
echo "0" > /sys/devices/system/cpu/cpu7/online
echo "1017600" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "1017600" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
CPU=`ls -d /sys/devices/system/cpu/cpu*`;
for s in $CPU;
do
echo "0" > $s/cpufreq/interactive/boost;
echo "1" > $s/cpufreq/interactive/boost_hmp;
echo "500" > $s/cpufreq/interactive/boost_hmp_upthreshold;
echo "350" > $s/cpufreq/interactive/boost_hmp_downthreshold;
echo "-1" > $s/cpufreq/interactive/boostpulse;
echo "120000" > $s/cpufreq/interactive/boostpulse_duration;
echo "100" > $s/cpufreq/interactive/boostpulse_min_interval;
echo "0" > $s/cpufreq/interactive/io_is_busy;
echo "80000" > $s/cpufreq/interactive/min_sample_time;
echo "30000" > $s/cpufreq/interactive/timer_rate;
echo "40000" > $s/cpufreq/interactive/timer_slack;
done
#########################################
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay;
echo "80 403200:20 604800:35 806400:40 1017600:50 1209600:60 1305600:80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
echo "80" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
echo "1017600" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/above_hispeed_delay;
echo "95 403200:30 604800:40 806400:50 1017600:60 1209600:85 1305600:95" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/target_loads
echo "95" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/go_hispeed_load
echo "1017600" > /sys/devices/system/cpu/cpu1/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/above_hispeed_delay;
echo "95 403200:30 604800:40 806400:50 1017600:60 1209600:85 1305600:95" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/target_loads
echo "95" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/go_hispeed_load
echo "1017600" > /sys/devices/system/cpu/cpu2/cpufreq/interactive/hispeed_freq
echo "10000 403200:1000 604800:20000 806400:40000 1017600:60000 1209600:80000" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/above_hispeed_delay;
echo "95 403200:30 604800:40 806400:50 1017600:60 1209600:85 1305600:95" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/target_loads
echo "95" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/go_hispeed_load
echo "1017600" > /sys/devices/system/cpu/cpu3/cpufreq/interactive/hispeed_freq
###################################################################################################
echo "85 806400:25 1017600:35 1209600:45 1382400:55 1497600:60 1708800:70 1804800:85" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay;
echo "85" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load
echo "1382400" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq
echo "95 806400:30 1017600:40 1209600:50 1382400:60 1497600:70 1708800:80 1804800:95" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/above_hispeed_delay;
echo "95" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/go_hispeed_load
echo "1382400" > /sys/devices/system/cpu/cpu5/cpufreq/interactive/hispeed_freq
echo "95 806400:30 1017600:40 1209600:50 1382400:60 1497600:70 1708800:80 1804800:95" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/above_hispeed_delay;
echo "95" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/go_hispeed_load
echo "1382400" > /sys/devices/system/cpu/cpu6/cpufreq/interactive/hispeed_freq
echo "95 806400:30 1017600:40 1209600:50 1382400:60 1497600:70 1708800:80 1804800:95" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/target_loads
echo "10000 806400:1000 1017600:20000 1209600:30000 1382400:40000 1497600:50000 1708800:60000" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/above_hispeed_delay;
echo "95" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/go_hispeed_load
echo "1382400" > /sys/devices/system/cpu/cpu7/cpufreq/interactive/hispeed_freq
###################################
Das sollte man ändern, sonst findet es den Pfad nicht.im script steht
chmod 06755 /system/etc/mt7neo/6LowMemoryKiller
in der Zip heißt die Datei
---6LowMemoryKiller
fooox1 schrieb:Nein, von hier.
05.12[MT7-TL10 B126SP03] DPI