[Galaxy S II Android Development] kitkatcamusa:
Well, i'm downloading the kernel at the moment.

Now i'm using siyah and the Alliance rom.

This is the top of init.rc

on early-init

start ueventd

# create mountpoints

mkdir /mnt 0775 root system

on init

# Vibetonz

export VIBE_PIPE_PATH /dev/pipes

mkdir /dev/pipes 0771 shell shell

sysclktz 0

loglevel 3

# setup the global environment

export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

export LD_LIBRARY_PATH /vendor/lib:/system/lib

export ANDROID_BOOTLOGO 1

export ANDROID_ROOT /system

export ANDROID_ASSETS /system/app

export ANDROID_DATA /data

export ASEC_MOUNTPOINT /mnt/asec

export LOOP_MOUNTPOINT /mnt/obb

export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar

# Disable CFQ slice idle delay

write /sys/block/mmcblk0/queue/iosched/slice_idle 0

# Backward compatibility

symlink /system/etc /etc

symlink /sys/kernel/debug /d

# Right now vendor lives on the same filesystem as system,

# but someday that may change.

symlink /system/vendor /vendor

#add booting sound property

setprop audioflinger.bootsnd 1

# Create cgroup mount point for cpu accounting

mkdir /acct

mount cgroup none /acct cpuacct

mkdir /acct/uid

mkdir /system

mkdir /data 0771 system system

mkdir /cache 0770 system cache

mkdir /config 0500 root root

mkdir /preload 0771 system system

# Directory for putting things only root should see.

mkdir /mnt/secure 0700 root root

# Directory for staging bindmounts

mkdir /mnt/secure/staging 0700 root root

# Directory-target for where the secure container

# imagefile directory will be bind-mounted

mkdir /mnt/secure/asec 0700 root root

# Secure container public mount points.

mkdir /mnt/asec 0700 root system

mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000

# Filesystem image public mount points.

mkdir /mnt/obb 0700 root system

mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000

mkdir /mnt/.lfs 0755 root root

write /proc/sys/kernel/panic_on_oops 1

write /proc/sys/kernel/hung_task_timeout_secs 0

write /proc/cpu/alignment 4

write /proc/sys/kernel/sched_latency_ns 10000000

write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000

write /proc/sys/kernel/sched_compat_yield 1

write /proc/sys/kernel/sched_child_runs_first 0

# Create cgroup mount points for process groups

mkdir /dev/cpuctl

mount cgroup none /dev/cpuctl cpu

chown system system /dev/cpuctl

chown system system /dev/cpuctl/tasks

chmod 0777 /dev/cpuctl/tasks

write /dev/cpuctl/cpu.shares 1024

mkdir /dev/cpuctl/fg_boost

chown system system /dev/cpuctl/fg_boost/tasks

chmod 0777 /dev/cpuctl/fg_boost/tasks

write /dev/cpuctl/fg_boost/cpu.shares 1024

mkdir /dev/cpuctl/bg_non_interactive

chown system system /dev/cpuctl/bg_non_interactive/tasks

chmod 0777 /dev/cpuctl/bg_non_interactive/tasks

# 5.0 %

write /dev/cpuctl/bg_non_interactive/cpu.shares 52

# Allow everybody to read the xt_qtaguid resource tracking misc dev.

# This is needed by any process that uses socket tagging.

chmod 0644 /dev/xt_qtaguid

# ko files for FM Radio

insmod /lib/modules/Si4709_driver.ko

on fs

# mount ext4 partitions

# Mount /system rw first to give the filesystem a chance to save a checkpoint

mount ext4 /res/dev/system /system noatime wait ro

exec sfsck /res/dev/cache ext4

mount ext4 /res/dev/cache /cache nosuid nodev noatime wait

mkdir /efs

#mount rfs /dev/block/mmcblk0p1 /efs nosuid nodev check=no

exec sfsck /dev/block/mmcblk0p1 ext4

mount ext4 /dev/block/mmcblk0p1 /efs nosuid nodev noatime wait

chown radio system /efs

chmod 0771 /efs

mkdir /efs/bluetooth

mkdir /efs/wifi

chown radio system /efs/bluetooth

chown radio system /efs/wifi

chmod 0775 /efs/bluetooth

chmod 0775 /efs/wifi

# check encryption status, checking UMS & data should be excuted after this command

exec check_encryption_status /res/dev/data

# verfiy filesystem (UMS)

exec sformat /dev/block/mmcblk0p11 vfat

Is this what you asked for?

Thanks for your help!

Inviato dal mio GT-I9100 con Tapatalk 2