??.which one?Tried to install this rom on my Captain. But after Ainol boot logo i get only stripes on my screen instead of Android boot logo.
Can somebody help me.
- Fixed the problem. First i had to install the iBullRay rom.
??.which one?Tried to install this rom on my Captain. But after Ainol boot logo i get only stripes on my screen instead of Android boot logo.
Can somebody help me.
- Fixed the problem. First i had to install the iBullRay rom.
SharkAndroid 5.0 based on Android 4.2.2 will come soon.So, it seems, that shark 5.0 is close;
Since kitkat shark stumped into lack of kernel(chinese brands WILL not provide sources;/), author(s) made a good decision and another 4.2.x build is near
Look - i am using shark in newest available version now, i made heavy modifications of that version for personal use and let me conclude - there's NO need to have anything more, imho. Not for that machine, that is.
Nice 4.3 would be fine(especially slimbean, aokp), since SYSTEM is faster than 4.2.x'es, BUT without proper HW it IS in fact, slower than 4.2.x with our weird tablets..
So, new 4.2.x would be enough.
Yeah, i know;SharkAndroid 5.0 based on Android 4.2.2 will come soon.
Ainol developers do not respond to queries about the source code of the new kernel.Kit-Kat on devices based on Actions ATM7029 processor will not!
2.LMK#!/system/bin/sh
#chmod -R 755 /system/etc/init.d
chown root:root /proc/sys/vm;
# 1. Main vm tweaks.
echo "30" > /proc/sys/vm/swappiness;
busybox chmod ugo+rw /proc/sys/vm/vfs_cache_pressure;
echo "50" > /proc/sys/vm/vfs_cache_pressure;
echo "2000" > /proc/sys/vm/dirty_expire_centisecs;
echo "1500" > /proc/sys/vm/dirty_writeback_centisecs;
busybox chmod ugo+rw /proc/sys/vm/dirty_ratio;
echo "90" > /proc/sys/vm/dirty_ratio;
busybox chmod ugo+rw /proc/sys/vm/dirty_background_ratio;
echo "75" > /proc/sys/vm/dirty_background_ratio;
# echo "0" > /proc/sys/vm/dirty_bytes;
echo "512" > /sys/devices/virtual/bdi/default/read_ahead_kb;
echo "10" > /proc/sys/fs/lease-break-time;
# nowe
# ryzykowny,problemy
# echo "65535" > /proc/sys/vm/mmap_min_addr;
# 2. Misc vm tweaks.
echo "4" > /proc/sys/vm/page-cluster;
echo "5360" > /proc/sys/vm/min_free_kbytes;
echo "8" > /proc/sys/vm/min_free_order_shift;
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "1" > /proc/sys/vm/overcommit_memory
busybox sysctl -w kernel.random.write_wakeup_threshold=256;
busybox sysctl -w kernel.random.read_wakeup_threshold=1376;
3. Kernel(sysctl-like)+other tweaks:#!/system/bin/sh
chmod 0644 /sys/module/lowmemorykiller/parameters/adj
echo "0,3,6,10,12,15" > /sys/module/lowmemorykiller/parameters/adj;
chmod 0644 /sys/module/lowmemorykiller/parameters/minfree
echo "1024,2048,2560,4096,6144,8192" > /sys/module/lowmemorykiller/parameters/minfree;
chmod 0644 /sys/module/lowmemorykiller/parameters/debug_level
echo "0" > /sys/module/lowmemorykiller/parameters/debug_level;
4.IO#!/system/bin/sh
# Mount kernel
mount -t debugfs none /sys/kernel/debug
mount -o rw,remount rootfs /
# Removes journalism
tune2fs -o journal_data_writeback /dev/block/actc
tune2fs -O ^has_journal /dev/block/actc
tune2fs -o journal_data_writeback /dev/block/acte
tune2fs -O ^has_journal /dev/block/acte
tune2fs -o journal_data_writeback /dev/block/actd
tune2fs -O ^has_journal /dev/block/actd
# Perfect mount options
busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier =0,nobh /system
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /data
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodir atime,barrier=0,nobh /cache
# Remount EXT4 Partition
if ( mount | grep -w ext4 ) then
mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /cache /cache;
mount -o noatime,remount,rw,discard,barrier=0,commit=60,noauto_da_alloc,delalloc /data /data;
fi;
# Remount with noatime and nodiratime
for k in $(busybox mount | cut -d " " -f3); do
busybox sync;
busybox mount -o remount,noatime,noauto_da_alloc,barrier=0,data=writeback,nobh $k 2>/dev/null;
done;
# Disables barrier
for k in $(/system/xbin/mount | /system/xbin/grep barrier | /system/xbin/cut -d " " -f3); do
/system/xbin/sync; /system/xbin/mount -o remount,barrier=0 $k;
done;
# Disable normalized sleeper
echo NO_AFFINE_WAKEUPS >> /sys/kernel/debug/sched_features;
echo NO_ARCH_POWER >> /sys/kernel/debug/sched_features;
echo NO_CACHE_HOT_BUDDY >> /sys/kernel/debug/sched_features;
echo NO_DOUBLE_TICK >> /sys/kernel/debug/sched_features;
echo NO_FORCE_SD_OVERLAP >> /sys/kernel/debug/sched_features;
echo NO_GENTLE_FAIR_SLEEPERS >> /sys/kernel/debug/sched_features;
echo NO_HRTICK >> /sys/kernel/debug/sched_features;
echo NO_LAST_BUDDY >> /sys/kernel/debug/sched_features;
echo NO_LB_BIAS >> /sys/kernel/debug/sched_features;
echo NO_LB_MIN >> /sys/kernel/debug/sched_features;
echo NO_NEW_FAIR_SLEEPERS >> /sys/kernel/debug/sched_features;
echo NO_NEXT_BUDDY >> /sys/kernel/debug/sched_features;
echo NO_NONTASK_POWER >> /sys/kernel/debug/sched_features;
echo NO_NORMALIZED_SLEEPERS >> /sys/kernel/debug/sched_features;
echo NO_OWNER_SPIN >> /sys/kernel/debug/sched_features;
echo NO_RT_RUNTIME_SHARE >> /sys/kernel/debug/sched_features;
echo NO_START_DEBIT >> /sys/kernel/debug/sched_features;
echo NO_TTWU_QUEUE >> /sys/kernel/debug/sched_features;
# Kernel and FS Tweaks
busybox sysctl -e -w kernel.panic=0;
busybox sysctl -e -w kernel.panic_on_oops=0;
busybox sysctl -e -w kernel.msgmni=2048;
busybox sysctl -e -w kernel.msgmax=65536;
busybox sysctl -e -w kernel.shmmni=4096;
busybox sysctl -e -w kernel.shmall=2097152;
busybox sysctl -e -w kernel.shmmax=268435456;
busybox sysctl -e -w kernel.sem='500 512000 64 2048';
busybox sysctl -e -w kernel.sched_features=24189;
busybox sysctl -e -w kernel.hung_task_timeout_secs=30;
busybox sysctl -e -w kernel.sched_latency_ns=18000000;
busybox sysctl -e -w kernel.sched_min_granularity_ns=1500000;
busybox sysctl -e -w kernel.sched_wakeup_granularity_ns=3000000;
busybox sysctl -e -w kernel.sched_compat_yield=1;
busybox sysctl -e -w kernel.sched_shares_ratelimit=256000;
busybox sysctl -e -w kernel.sched_child_runs_first=0;
busybox sysctl -e -w kernel.threads-max=524288;
# Entropy-ness Enlarger
busybox sysctl -w kernel.random.write_wakeup_threshold=256;
busybox sysctl -w kernel.random.read_wakeup_threshold=1376;
echo 0 > /sys/kernel/debug/clk/mdp_vsync_clk/enable
# File System Tweaks
busybox sysctl -e -w fs.lease-break-time=10;
busybox sysctl -e -w fs.file-max=524288;
busybox sysctl -e -w fs.inotify.max_queued_events=32000;
busybox sysctl -e -w fs.inotify.max_user_instances=256;
busybox sysctl -e -w fs.inotify.max_user_watches=10240;
busybox sysctl -e -w fs.nr_open=1048576;
# Umount kernel
umount /sys/kernel/debug
Yup, i know - not perfected yet, doubled data here and there(for A REASON), but, i assure you - it WORKS.#!/system/bin/sh
PATH=$PATH:/system/xbin:/sbin:/vendor/bin:/system/sbin:/system/bin
if [ -d "/data/local/busybox*/xbin" ]; then PATH=$PATH:`ls -d /data/local/busybox*/xbin 2>/dev/null`; fi
busybox sleep 35
# I/O related tweaks
X=512
STL=`ls -d /sys/block/stl* 2>/dev/null`;
BML=`ls -d /sys/block/bml* 2>/dev/null`;
MMC=`ls -d /sys/block/mmc* 2>/dev/null`;
ZRM=`ls -d /sys/block/zram* 2>/dev/null`;
MTD=`ls -d /sys/block/mtd* 2>/dev/null`;
RAM=`ls -d /sys/block/ram* 2>/dev/null`;
LP=`ls -d /sys/block/loop* 2>/dev/null`;
for i in $STL $BML $MMC $ZRM $MTD $RAM;
do
echo 0 > $i/queue/rotational
echo 1 > $i/queue/iosched/back_seek_penalty
echo 1000000000 > $i/queue/iosched/back_seek_max
echo 1 > $i/queue/iosched/low_latency
echo 1 > $i/queue/iosched/slice_idle
echo 8 > $i/queue/iosched/quantum
echo 4 > $i/queue/iosched/fifo_batch
echo 0 > $i/queue/rotational
echo "$X" > $i/queue/read_ahead_kb
#echo "$X" > $i/queue/nr_requests
if [ -e $i/queue/rq_affinity ];
then
echo "1" > $i/queue/rq_affinity;
fi;
if [ -e $i/queue/iostats ];
then
echo "0" > $i/queue/iostats;
fi;
done;
#Disable iostats to reduce overhead
if [ -e $i/queue/iostats ];
then
echo "0" > $i/queue/iostats;
fi;
sleep 1
# Set SDCache
sdcard=/sys/devices/virtual/bdi/179:*
for i in $sdcard; do
if [ -e ${i}/read_ahead_kb ]; then
echo $X >> ${i}/read_ahead_kb;
fi; done
sleep 1
About SharkAndroid can not say anything(No time for developing), may be by the end of this week i will lay CyanogenMod 11.Hm, i am confused there - so are they making new version of sharkdroid based on 4.2.2 as they said, or they are skipping new 4.2.2 for cm11/4.4.x now? New 4.2.x was supposed to be released before february...i REALLY DO NOT need flawed 4.4.x/cm11 rom tbh....
Anyone knows something?
btw,
are kernel sources for 4.2.x available somewhere? tbh i wondering about tweaking it and maybe adding some governors/i/o's + some other things if it's possible...
one more thing - check this:
http://pan.baidu.com/share/home?uk=1009951537&third=0#category/type=0
i can see NEW 7029 rom there(2015!) - maybe some libs/files could be used to mod actual shark, OR even - maybe these are >4.2.x roms? i cannot check 'em - my goddamn internet diconnects hourly(512kbps;/), so i cannot download to check... maybe there are newer gfx libs in them, you know..
Because SharkAndroid and firomi roms used new,optimized kernel and drivers.Oh, hello, Sir, good to hear that.
btw, tell me one thing - i ported almost all roms made for 7029 to my device(firomi has same machine - quadra7).
ALL >4.2.x roms are slower than firomi''s and sharkdroid - i checked PA, cm10.1, cm10.2, aokp and what else..
What makes me wondering - 4.3 roms should be faster, but they are not. 2D is VERY laggy everywhere(gui, games, whatever).
Do you have any idea why?
I am unable to figure out why, massive tweaking is not helping in that cases at all, weird, these roms are really slow...
p.s. anyone downloaded and unpacked these new roms from baidu? is there something we can rip and use?
btw,iBullRay are you Yarik Poberezhny from vk sharkdroid?