[Android Q&A, Help & Troubleshooting] gulyuk.s:
Dear users Alcatel ot 990,I hope for your support if cyanogenmod reply on my question about porting

Look this http://forum.cyanogenmod.com/topic/...t-990is-it-real/page__pid__307408#entry307408

And I created script init.d optimized for Alcatel

Support Rom - Marina lite and Moonstone

For install in Marina lite:

1. you must delete all scripts of init.d,only 00sysinit not removed

2. put it in /system/etc/init.d

https://server.backup.comodo.com/js...uisy?key=8b20697d-d9f1-4e3d-8a74-548c26dcac33

3. set perm 0777(rwxrwxrwx)

Listing script

#!/system/bin/sh

# Quisy script v.20120406
# It's script of init.d optimazed for Alcatel OT 990
# For greater work of speed system and network

# dalvik
setprop dalvik.vm.startheapsize 6m;
setprop dalvik.vm.heapsize 48m;
setprop dalvik.vm.execution-mode int:jit;
setprop dalvik.vm.verify-bytecode false;
setprop dalvik.vm.dexopt-data-only 1;
setprop dalvik.vm.dexopt-flags v=n,o=v;

setprop debug.sf.nobootanimation 1;
setprop windowsmgr.max_events_per_sec 90;

# battery
#default values = 1,you can change as 3,4 for test
setprop pm.sleep_mode 2;
setprop ro.config.lowbattery_shutdown 0;
setprop wifi.supplicant_scan_interval 210;

# task killer
echo "1536,2048,4096,8192,16384,24576" > /sys/module/lowmemorykiller/parameters/minfree;

# drop caches
sync;
sysctl -w vm.drope_caches=3;
sleep 3;
sysctl -w vm.drope_caches=0;

# vm tweak
sysctl -w vm.swappiness=0;
sysctl -w vm.vfs_cache_pressure=50;
sysctl -w vm.laptop_mode=20;
sysctl -w vm.dirty_ratio=90;
sysctl -w vm.dirty_background_ratio=1;
sysctl -w vm.min_free_kbytes=4096
sysctl -w vm.page-cluster=1;
sysctl -w vm.dirty_expire_centisecs=12000;
sysctl -w vm.dirty_writeback_centisecs=18000;

# kernel tweak
sysctl -w kernel.msgmax=8192;
sysctl -w kernel.msgmni=2048;
sysctl -w kernel.msgmnb=20480;
sysctl -w kernel.sem="500	512000	64	2048";
sysctl -w kernel.ctrl-alt-del=0;
sysctl -w kernel.threads-max=8192;

sysctl -w fs.file-max=61440;
sysctl -w fs.file-nr="2048	0	61440";
sysctl -w fs.lease-break-time=10;

sysctl -w net.core.message_burst=30;

# noatime options for block
for k in $(busybox mount | grep relatime | cut -d " " -f3)
do
sync;
busybox mount -o remount,noatime,nodiratime $k
done;

# block cache and increase
MTD=`ls -d /sys/block/mtd*`;
LOOP=`ls -d /sys/block/loop*`;
RAM=`ls -d /sys/block/ram*`;
MMC=`ls -d /sys/block/mmc*`;

for j in $MTD $LOOP $RAM
do
echo "0" > $j/queue/rotational;
echo "256" > $j/queue/read_ahead_kb;
done;

for k in $MTD $LOOP $MMC;
do
echo "0" > $k/queue/iostats;
done;

for l in $MMC
do
echo "4096" > $l/queue/read_ahead_kb;
done;

for m in $MTD $MMC $RAM;
do
echo "512" > $m/queue/nr_requests;
done;

# scheduler "noop"
for i in $(ls -d /sys/block/*);
do
echo "noop" > $i/queue/scheduler;
done;

# fast hsxpa (if not stable signal,modify setprop "ro.ril.enable.a53" 0 as 1)
setprop ro.ril.hsxpa 2;
setprop ro.ril.gprsclass 12;
setprop ro.ril.hep 1
;
setprop ro.ril.enable.dtm 1;
setprop ro.ril.hsdpa.category 14;
setprop ro.ril.enable.a52 1;
setprop ro.ril.enable.a53 0;
setprop ro.ril.enable.3g.prefix 1
;
setprop ro.ril.hsupa.category 6;
setprop ro.ril.def.agps.feature 1;
setprop ro.ril.htcmaskw1.bitmask 4294967295;
setprop ro.ril.htcmaskw1 14449;
setprop ro.ril.disable.collapse 0;

# Disable log dropbox and usagestats
busybox chmod 0444 /data/anr;
busybox chmod 0444 /data/tombstones;
busybox chmod 0444 /data/system/dropbox;
busybox chmod 0444 /data/system/usagestats;

# Clear cache
busybox rm -r /cache/*.apk;
busybox rm -r /cache/*.tmp;
busybox rm -r /data/dalvik-cache/*.apk;
busybox rm -r /data/dalvik-cache/*.tmp;
busybox rm -r /data/anr/*;
busybox rm -r /data/tombstones/*;
busybox rm -r /data/local/tmp/*;
busybox rm -r /data/system/usagestats/*;
busybox rm -r /data/system/dropbox/*;

# Uncommented for none log
#busybox rm -r /dev/log/main;

# Defrag DB
for i in \
`find /data -iname "*.db"`
do \
sqlite3 $i 'VACUUM;';
sqlite3 $i 'REINDEX;';
done;

# test pm2 new config (for good sleep)
for j in $(ls -d /sys/module/pm2/modes*);
do
echo "2000" > $j/power_collapse/latency;
echo "0" > $j/power_collapse/residency;
echo "2000" > $j/power_collapse_no_xo_shutdown/latency;
echo "0" > $j/power_collapse_no_xo_shutdown/residency;
echo "1" > /sys/module/pm2/parameters/sleep_mode;
echo "3" > /sys/module/pm2/parameters/idle_sleep_mode;
done;