Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Nur in lall/: boot-log.txt.
- Nur in initramfs3/: cache.
- Binärdateien lall/charger and initramfs3/charger sind verschieden.
- Nur in initramfs3/: data.
- diff -r lall/default.prop initramfs3/default.prop
- 4,5c4,5
- < ro.secure=0
- < ro.allow.mock.location=0
- ---
- > ro.secure=1
- > ro.allow.mock.location=1
- 7c7,9
- < persist.sys.usb.config=mtp,adb
- ---
- > persist.sys.vold.switchexternal=1
- > persist.sys.usb.config=mass_storage,adb
- > persist.service.adb.enable=1
- Nur in initramfs3/: dev.
- Nur in initramfs3/: efs.
- diff -r lall/fota.rc initramfs3/fota.rc
- 47d46
- <
- 77c76
- < mount ext4 /dev/block/mmcblk0p9 /system wait
- ---
- > mount ext4 /dev/block/mmcblk0p9 /system wait
- 86,87c85,86
- < #mount rfs /dev/block/stl11 /cache nosuid nodev check=no
- < mount ext4 /dev/block/mmcblk0p7 /cache nosuid nodev noatime wait
- ---
- > #mount rfs /dev/block/stl11 /cache nosuid nodev check=no
- > mount ext4 /dev/block/mmcblk0p7 /cache nosuid nodev noatime wait
- 94d92
- <
- 103c101
- < write /proc/sys/kernel/panic_on_oops 1
- ---
- > write /proc/sys/kernel/panic_on_oops 0
- 106,107d103
- < write /proc/sys/kernel/sched_latency_ns 10000000
- < write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
- 123c119
- < oneshot
- ---
- > oneshot
- Nur in initramfs3/: .git.
- Binärdateien lall/init and initramfs3/init sind verschieden.
- Nur in initramfs3/: init.cm10.
- Nur in initramfs3/: init.cm9.
- Nur in initramfs3/: init.jb.
- diff -r lall/init.rc initramfs3/init.rc
- 6,10d5
- <
- < import /init.smdk4210.rc
- < import /init.usb.rc
- < import /init.trace.rc
- <
- 12c7
- < # Set init and its forked children's oom_adj.
- ---
- > # Set init and its forked children's oom_adj.
- 17c12
- < # create mountpoints
- ---
- > # create mountpoints
- 20a16,18
- > # Vibetonz
- > export VIBE_PIPE_PATH /dev/pipes
- > mkdir /dev/pipes 0771 shell shell
- 26c24
- < # setup the global environment
- ---
- > # setup the global environment
- 36c34
- < 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
- ---
- > 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
- 38c36
- < # Backward compatibility
- ---
- > # Backward compatibility
- 42,43c40,41
- < # Right now vendor lives on the same filesystem as system,
- < # but someday that may change.
- ---
- > # Right now vendor lives on the same filesystem as system,
- > # but someday that may change.
- 46c44,47
- < # Create cgroup mount point for cpu accounting
- ---
- > #add booting sound property
- > setprop audioflinger.bootsnd 1
- >
- > # Create cgroup mount point for cpu accounting
- 54a56
- > mkdir /preload 0771 system system
- 56c58
- < # Directory for putting things only root should see.
- ---
- > # Directory for putting things only root should see.
- 59c61
- < # Directory for staging bindmounts
- ---
- > # Directory for staging bindmounts
- 62,63c64,65
- < # Directory-target for where the secure container
- < # imagefile directory will be bind-mounted
- ---
- > # Directory-target for where the secure container
- > # imagefile directory will be bind-mounted
- 66c68
- < # Secure container public mount points.
- ---
- > # Secure container public mount points.
- 70c72
- < # Filesystem image public mount points.
- ---
- > # Filesystem image public mount points.
- 73a76,77
- > mkdir /mnt/.lfs 0755 root root
- >
- 77,78d80
- < write /proc/sys/kernel/sched_latency_ns 10000000
- < write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
- 82,86d83
- < write /proc/sys/kernel/kptr_restrict 2
- < write /proc/sys/kernel/dmesg_restrict 1
- < write /proc/sys/vm/mmap_min_addr 32768
- < write /proc/sys/kernel/sched_rt_runtime_us 950000
- < write /proc/sys/kernel/sched_rt_period_us 1000000
- 88c85
- < # Create cgroup mount points for process groups
- ---
- > # Create cgroup mount points for process groups
- 93c90
- < chmod 0660 /dev/cpuctl/tasks
- ---
- > chmod 0777 /dev/cpuctl/tasks
- 95,96d91
- < write /dev/cpuctl/cpu.rt_runtime_us 950000
- < write /dev/cpuctl/cpu.rt_period_us 1000000
- 98,107c93,100
- < mkdir /dev/cpuctl/apps
- < chown system system /dev/cpuctl/apps/tasks
- < chmod 0666 /dev/cpuctl/apps/tasks
- < write /dev/cpuctl/apps/cpu.shares 1024
- < write /dev/cpuctl/apps/cpu.rt_runtime_us 800000
- < write /dev/cpuctl/apps/cpu.rt_period_us 1000000
- <
- < mkdir /dev/cpuctl/apps/bg_non_interactive
- < chown system system /dev/cpuctl/apps/bg_non_interactive/tasks
- < chmod 0666 /dev/cpuctl/apps/bg_non_interactive/tasks
- ---
- > 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
- 109,111c102
- < write /dev/cpuctl/apps/bg_non_interactive/cpu.shares 52
- < write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_runtime_us 700000
- < write /dev/cpuctl/apps/bg_non_interactive/cpu.rt_period_us 1000000
- ---
- > write /dev/cpuctl/bg_non_interactive/cpu.shares 52
- 113,114c104,105
- < # Allow everybody to read the xt_qtaguid resource tracking misc dev.
- < # This is needed by any process that uses socket tagging.
- ---
- > # Allow everybody to read the xt_qtaguid resource tracking misc dev.
- > # This is needed by any process that uses socket tagging.
- 118,123c109,133
- < # mount mtd partitions
- < # Mount /system rw first to give the filesystem a chance to save a checkpoint
- < mount yaffs2 mtd@system /system
- < mount yaffs2 mtd@system /system ro remount
- < mount yaffs2 mtd@userdata /data nosuid nodev
- < mount yaffs2 mtd@cache /cache nosuid nodev
- ---
- > # 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 rw
- >
- > 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 nodelalloc
- > 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
- 126c136,139
- < # once everything is setup, no need to modify /
- ---
- > exec sfsck /res/dev/data ext4
- > mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
- >
- > # once everything is setup, no need to modify /
- 129c142,145
- < # We chown/chmod /cache again so because mount is run as root + defaults
- ---
- > insmod /lib/modules/j4fs.ko
- > mount j4fs /dev/block/mmcblk0p4 /mnt/.lfs
- >
- > # We chown/chmod /cache again so because mount is run as root + defaults
- 133c149
- < # This may have been created by the recovery system with odd permissions
- ---
- > # This may have been created by the recovery system with odd permissions
- 138c154
- < #change permissions on vmallocinfo so we can grab it from bugreports
- ---
- > #change permissions on vmallocinfo so we can grab it from bugreports
- 142c158
- < #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
- ---
- > #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
- 148c164
- < # create the lost+found directories, so as to enforce our permissions
- ---
- > # create the lost+found directories, so as to enforce our permissions
- 150a167,170
- > # double check the perms, in case lost+found already exists, and set owner
- > chown root root /cache/lost+found
- > chmod 0777 /cache/lost+found
- >
- 152c172
- < # We chown/chmod /data again so because mount is run as root + defaults
- ---
- > # We chown/chmod /data again so because mount is run as root + defaults
- 154a175,181
- > mkdir /data/system
- > chown system system /data/system
- > chmod 0771 /data/system
- >
- > # Create dump dir and collect dumps.
- > # Do this before we mount cache so eventually we can use cache for
- > # storing dumps on platforms which do not have a dedicated dump partition.
- 156,158d182
- < # Create dump dir and collect dumps.
- < # Do this before we mount cache so eventually we can use cache for
- < # storing dumps on platforms which do not have a dedicated dump partition.
- 161c185
- < # Collect apanic data, free resources and re-arm trigger
- ---
- > # Collect apanic data, free resources and re-arm trigger
- 172c196,206
- < # create basic filesystem structure
- ---
- > # GPS
- > chown root system /dev/ttySAC1
- > chmod 0660 /dev/ttySAC1
- > chown root system /sys/class/sec/gps/GPS_PWR_EN/value
- > chmod 0664 /sys/class/sec/gps/GPS_PWR_EN/value
- > chown root system /sys/class/sec/gps/GPS_nRST/value
- > chmod 0664 /sys/class/sec/gps/GPS_nRST/value
- > mkdir /data/gps 771 system system
- > chown system system /data/gps
- >
- > # create basic filesystem structure
- 180c214,216
- < # give system access to wpa_supplicant.conf for backup and restore
- ---
- > mkdir /data/misc/vpn/profiles 0770 system system
- > mkdir /data/misc/radio 0775 radio system
- > # give system access to wpa_supplicant.conf for backup and restore
- 181a218
- > chmod 0777 /data/misc/wifi
- 183c220
- < mkdir /data/local 0751 root root
- ---
- > mkdir /data/local 0771 shell shell
- 185,186c222,223
- < # For security reasons, /data/local/tmp should always be empty.
- < # Do not place files or directories in /data/local/tmp
- ---
- > # For security reasons, /data/local/tmp should always be empty.
- > # Do not place files or directories in /data/local/tmp
- 190d226
- < mkdir /data/app-asec 0700 root root
- 195a232
- > mkdir /cache/download 0777 system cache
- 197c234
- < # create dalvik-cache and double-check the perms, so as to enforce our permissions
- ---
- > # create dalvik-cache and double-check the perms, so as to enforce our permissions
- 206c243
- < # create resource-cache and double-check the perms
- ---
- > # create resource-cache and double-check the perms
- 211c248
- < # create the lost+found directories, so as to enforce our permissions
- ---
- > # create the lost+found directories, so as to enforce our permissions
- 214,215c251,256
- < # create directory for DRM plug-ins - give drm the read/write access to
- < # the following directory.
- ---
- > # double check the perms, in case lost+found already exists, and set owner
- > chown root root /data/lost+found
- > chmod 0777 /data/lost+found
- >
- > # create directory for DRM plug-ins - give drm the read/write access to
- > # the following directory.
- 218,222c259,312
- < # If there is no fs-post-data action in the init.<device>.rc file, you
- < # must uncomment this line, otherwise encrypted filesystems
- < # won't work.
- < # Set indication (checked by vold) that we have finished this action
- < #setprop vold.post_fs_data_done 1
- ---
- > #Code changes for GB-> ICS upgrade for U1/T1 models ...Moving .db file .. starts
- >
- > mkdir /data/system/databases 0771 system system
- > copy /data/data/com.sec.android.providers.drm/databases/drmdatabase.db /data/system/databases/drmdatabase.db
- > chown system system /data/system/databases/drmdatabase.db
- > chmod 0774 /data/system/databases/drmdatabase.db
- >
- > #Code changes for GB-> ICS upgrade for U1/T1 models ...Moving .db file .. ends
- >
- > #SISO-PLAYREADY-CHANGES
- > #DRM directory creation
- > mkdir /system/etc/security/.drm 0775
- > chown root root /system/etc/security/.drm
- > chmod 0775 /system/etc/security/.drm
- >
- > # Added for Playready DRM Support
- > mkdir /data/data/.drm 0775
- > chown drm system /data/data/.drm
- > chmod 0775 /data/data/.drm
- > mkdir /data/data/.drm/.playready 0775
- > chown drm system /data/data/.drm/.playready
- > chmod 0775 /data/data/.drm/.playready
- >
- > #Added drm folder to copy drm plugins
- > mkdir /system/lib/drm 0775
- > chown root root /system/lib/drm
- > chmod 0775 /system/lib/drm
- > #SISO-PLAYREADY-CHANGES
- >
- > # DivX DRM
- > mkdir /efs/.files 0775
- > mkdir /efs/.files/.dx1 0775
- > mkdir /efs/.files/.dm33 0775
- > mkdir /efs/.files/.mp301 0775
- > chown media system /efs/.files/.dx1
- > chown media system /efs/.files/.dm33
- > chown media system /efs/.files/.mp301
- > chmod 0775 /efs/.files/.dx1
- > chmod 0775 /efs/.files/.dm33
- > chmod 0775 /efs/.files/.mp301
- >
- > # IMEI
- > mkdir /efs/imei 0775
- > chown radio system /efs/imei
- > chmod 0775 /efs/imei
- >
- > # If there is no fs-post-data action in the init.<device>.rc file, you
- > # must uncomment this line, otherwise encrypted filesystems
- > # won't work.
- > # Set indication (checked by vold) that we have finished this action
- > #setprop vold.post_fs_data_done 1
- >
- > # Device Encryption by B2B Security Lab.
- > setprop vold.post_fs_data_done 1
- 229,230c319,355
- < # Include extra init file
- < import /system/etc/init.local.rc
- ---
- > # MTP Device permission.
- > chmod 0660 /dev/usb_mtp_gadget
- > chown system system /dev/usb_mtp_gadget
- >
- > # terminal mode
- > chmod 0660 /sys/class/android_usb/android0/terminal_version
- > chown system system /sys/class/android_usb/android0/terminal_version
- >
- > # NFC
- > setprop ro.nfc.port "I2C"
- > chmod 0600 /dev/pn544
- > chown nfc nfc /dev/pn544
- >
- > # Permission for MHL
- > chown system radio /sys/class/mhl/test_result
- >
- > # Added by Yamaha Corporation. -----------------------------------------
- > # setup for alsa snd device
- > chmod 0770 /dev/snd/pcmC0D0c
- > chmod 0770 /dev/snd/pcmC0D0p
- > chmod 0770 /dev/snd/controlC0
- > chmod 0770 /dev/snd/timer
- > chmod 0770 /dev/snd/hwC0D0
- > #-----------------------------------------------------------------------
- >
- > # create log system
- > mkdir /data/log 0775 system log
- > mkdir /data/anr 0775 system log
- > chown system log /data/log
- > chown system log /data/anr
- >
- > chmod 0775 /data/log
- > chmod 0775 /data/anr
- >
- > chmod 0662 /dev/log/radio
- > chmod 0662 /dev/log/main
- > chmod 0662 /dev/log/event
- 233c358
- < # basic network init
- ---
- > # basic network init
- 238c363
- < # set RLIMIT_NICE to allow priorities from 19 to -20
- ---
- > # set RLIMIT_NICE to allow priorities from 19 to -20
- 241,245c366,382
- < # Memory management. Basic kernel parameters, and allow the high
- < # level system server to be able to adjust the kernel OOM driver
- < # parameters to match how it is managing things.
- < write /proc/sys/vm/overcommit_memory 0
- < write /proc/sys/vm/min_free_order_shift 4
- ---
- > # Tweaks For ROM
- > setprop ro.kernel.android.checkjni 0
- > setprop ro.telephony.call_ring.delay 0
- > setprop ro.ril.disable.power.collapse 0
- > setprop ro.lge.proximity.delay 15
- >
- > #Video Quality
- > setprop ro.media.enc.jpeg.quality 100,100,100
- > setprop ro.media.dec.jpeg.memcap 20000000
- > setprop ro.media.enc.hprof.vid.bps 20000000
- >
- > #Disable Google OTA Update checkin
- > setprop ro.config.nocheckin 1
- >
- > # Memory management. Basic kernel parameters, and allow the high
- > # level system server to be able to adjust the kernel OOM driver
- > # parameters to match how it is managing things.
- 251c388,423
- < # Tweak background writeout
- ---
- > # Define the oom_adj values for the classes of processes that can be
- > # killed by the kernel. These are used in ActivityManagerService.
- > setprop ro.FOREGROUND_APP_ADJ 0
- > setprop ro.VISIBLE_APP_ADJ 1
- > setprop ro.PERCEPTIBLE_APP_ADJ 2
- > setprop ro.HEAVY_WEIGHT_APP_ADJ 3
- > setprop ro.SECONDARY_SERVER_ADJ 4
- > setprop ro.BACKUP_APP_ADJ 5
- > setprop ro.HOME_APP_ADJ 1
- > setprop ro.HIDDEN_APP_MIN_ADJ 7
- > setprop ro.EMPTY_APP_ADJ 15
- >
- > # Define the memory thresholds at which the above process classes will
- > # be killed. These numbers are in pages (4k).
- > # These are currently tuned for tablets with approx 1GB RAM.
- > setprop ro.FOREGROUND_APP_MEM 8192
- > setprop ro.VISIBLE_APP_MEM 10240
- > setprop ro.PERCEPTIBLE_APP_MEM 12288
- > setprop ro.HEAVY_WEIGHT_APP_MEM 12288
- > setprop ro.SECONDARY_SERVER_MEM 14336
- > setprop ro.BACKUP_APP_MEM 14336
- > setprop ro.HOME_APP_MEM 14336
- > setprop ro.HIDDEN_APP_MEM 16384
- > setprop ro.EMPTY_APP_MEM 20480
- >
- > # Write value must be consistent with the above properties.
- > # Note that the driver only supports 6 slots, so we have combined some of
- > # the classes into the same memory level; the associated processes of higher
- > # classes will still be killed first.
- > write /sys/module/lowmemorykiller/parameters/adj 0,1,2,4,7,15
- >
- > write /proc/sys/vm/overcommit_memory 0
- > write /proc/sys/vm/min_free_order_shift 4
- > write /sys/module/lowmemorykiller/parameters/minfree 8192,10240,12288,14336,16384,20480
- >
- > # Tweak background writeout
- 253c425,460
- < write /proc/sys/vm/dirty_background_ratio 5
- ---
- > write /proc/sys/vm/dirty_background_ratio 10
- >
- > # panorama directory creation
- > mkdir /data/pxtmpdir 0775
- > chown system system /data/pxtmpdir
- > chmod 0775 /data/pxtmpdir
- >
- > # permission for HDMI audio path
- > chown media audio /sys/class/hdmi_audio/hdmi_audio/hdmi_audio_set_ext
- >
- > # Permissions for gpio_keys.
- > chown system radio /sys/class/sec/sec_key/wakeup_keys
- > write /sys/class/sec/sec_key/wakeup_keys 102,116
- >
- > # Add permission for ATM. 2010.03.20
- > chown system radio /sys/devices/platform/i2c-gpio.9/i2c-9/9-0036/power_supply/fuelgauge/fg_read_soc
- > chown system radio /sys/devices/platform/i2c-gpio.9/i2c-9/9-0036/power_supply/fuelgauge/fg_reset_soc
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_lpm_state
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/fg_psoc
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/system_rev
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_current_adc
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_test_value
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_adc_spec
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_check
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_full_check
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_type
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/mp3
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/video
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_lp_charging
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/charging_source
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_adc_avg
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_adc
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_vfocv
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_soc
- > chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_vol
- 255c462
- < # Permissions for System Server and daemons.
- ---
- > # Permissions for System Server and daemons.
- 261c468
- < chown system system /sys/power/state
- ---
- > chown radio system /sys/power/state
- 269,285c476
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate
- < chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/timer_rate
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
- < chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
- < chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
- < chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
- < chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/boost
- < chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/boost
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse
- < chown system system /sys/devices/system/cpu/cpufreq/interactive/input_boost
- < chmod 0660 /sys/devices/system/cpu/cpufreq/interactive/input_boost
- <
- < # Assume SMP uses shared cpufreq policy for all CPUs
- ---
- > # Assume SMP uses shared cpufreq policy for all CPUs
- 287c478
- < chmod 0660 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
- ---
- > chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
- 291a483
- > chown system system /sys/class/backlight/panel/brightness
- 313a506
- > chown system system /sys/class/power_supply/battery/temp
- 316c509
- < # allow system to modify cpufreq control files
- ---
- > # allow system to modify cpufreq control files
- 324,326c517,607
- < # Define TCP buffer sizes for various networks
- < # ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
- < setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
- ---
- > # Permissions for input devices
- > chown system radio /sys/devices/virtual/sec/sec_key/sec_key_pressed
- >
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/enable_disable
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/recommended_version
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touch_sensitivity
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/brightness
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_brightness
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_back
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_menu
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_version_panel
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_version_phone
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update_status
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update
- > chown system radio /sys/devices/virtual/sec/sec_touchkey/updated_version
- >
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_firm_version
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_threshould
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_all_delta
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_all_refer
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta4
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer4
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta3
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer3
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta2
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer2
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta1
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer1
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta0
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer0
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/disp_all_deltadata
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/disp_all_refdata
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_module_off
- > chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_module_on
- >
- > chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_version_panel
- > chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_version_phone
- > chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_update_status
- > chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_update
- > chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_threshold
- > chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_config_version
- > chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_touchtype
- >
- > # Permissions for bluetooth
- > setprop ro.bt.bdaddr_path "/efs/bluetooth/bt_addr"
- > chown bluetooth bluetooth ro.bt.bdaddr_path
- > chown bluetooth bluetooth /dev/ttySAC0
- > chmod 0600 /dev/ttySAC0
- > chmod 0660 /sys/class/rfkill/rfkill0/state
- > chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
- > chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
- >
- > # Vibetonz
- > chmod 0660 /dev/tspdrv
- > chown root shell /dev/tspdrv
- >
- > # Permissions for LCD
- > chown system radio /sys/class/lcd/panel/lcd_power
- > chown system radio /sys/class/lcd/panel/lcd_type
- > chown system media_rw /sys/class/lcd/panel/gamma_mode
- > chown system media_rw /sys/class/lcd/panel/power_reduce
- > chown system system /sys/class/backlight/panel/auto_brightness
- >
- > # Permissions for mDNIe
- > chown system media_rw /sys/class/mdnie/mdnie/mode
- > chown system media_rw /sys/class/mdnie/mdnie/outdoor
- > chown system media_rw /sys/class/mdnie/mdnie/scenario
- > chown system system /sys/class/mdnie/mdnie/negative
- >
- > # Permissions for uart_sel and usb_sel
- > chown system radio /sys/class/sec/switch/uart_sel/value
- > chown system radio /sys/class/sec/switch/usb_sel
- > chown system radio /sys/class/sec/switch/audio_path
- > chown system radio /sys/class/sec/switch/otg_test
- > chown system radio /sys/class/sec/switch/adc_debounce_time
- > chown system radio /sys/class/sec/switch/status
- > chown system radio /sys/class/sec/switch/adc
- > chown system radio /mnt/.lfs/sw_sel
- >
- > # Permissions for OTG Test
- > chown system radio /sys/class/host_notify/usb_otg/booster
- > chmod 0664 /sys/class/host_notify/usb_otg/booster
- >
- > # Permission for radio
- > chown system radio /sys/devices/platform/s5p-ehci/ehci_power
- > chown system radio /sys/devices/platform/s5p-ehci/ehci_runtime
- > chown system radio /sys/devices/virtual/misc/multipdp/waketime
- >
- > # Define TCP buffer sizes for various networks
- > # ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
- > setprop net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208
- 329,330c610,611
- < setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
- < setprop net.tcp.buffersize.hspa 4094,87380,262144,4096,16384,262144
- ---
- > setprop net.tcp.buffersize.umts 4094,87380,563200,4096,16384,110208
- > setprop net.tcp.buffersize.hspa 4094,87380,704512,4096,16384,262144
- 334c615
- < # allow system to modify ksm control files
- ---
- > # allow system to modify ksm control files
- 344,345c625,632
- < # Set this property so surfaceflinger is not started by system_init
- < setprop system_init.startsurfaceflinger 0
- ---
- > # +++++++++++++++++++++++++++++++++++++++++++
- > # for datarouter
- > chown system system /dev/dun
- > chown system system /dev/ttyGS0
- > chown system system /dev/ttyGS1
- > chown system system /dev/ttyGS2
- > chown system system /dev/ttyGS3
- > # +++++++++++++++++++++++++++++++++++++++++++
- 347,348c634,640
- < # Run sysinit
- < exec /system/bin/sysinit
- ---
- >
- > # RTC logging daemon
- > chmod 0770 /system/bin/rtc_log.sh
- > chown system system /system/bin/rtc_log.sh
- >
- > # Set this property so surfaceflinger is not started by system_init
- > setprop system_init.startsurfaceflinger 0
- 379,380c671,721
- < ## Daemon processes to be run by init.
- < ##
- ---
- > on property:persist.sys.storage_preload=1
- > mount ext4 /dev/block/mmcblk0p12 /preload nosuid nodev noatime wait rw nodelalloc
- > setprop storage.preload.complete 1
- >
- > on property:persist.sys.storage_preload=0
- > exec /system/bin/umount /preload
- >
- > # Used to disable USB when switching states
- > on property:sys.usb.config=none
- > stop adbd
- > write /sys/class/android_usb/android0/enable 0
- > write /sys/class/android_usb/android0/bDeviceClass 0
- > setprop sys.usb.state $sys.usb.config
- >
- > # adb only USB configuration
- > # This should only be used during device bringup
- > # and as a fallback if the USB manager fails to set a standard configuration
- > on property:sys.usb.config=adb
- > write /sys/class/android_usb/android0/enable 0
- > write /sys/class/android_usb/android0/idVendor 18d1
- > write /sys/class/android_usb/android0/idProduct D002
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- > write /sys/class/android_usb/android0/enable 1
- > start adbd
- > setprop sys.usb.state $sys.usb.config
- >
- > # USB accessory configuration
- > on property:sys.usb.config=accessory
- > write /sys/class/android_usb/android0/enable 0
- > write /sys/class/android_usb/android0/idVendor 18d1
- > write /sys/class/android_usb/android0/idProduct 2d00
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- > write /sys/class/android_usb/android0/enable 1
- > setprop sys.usb.state $sys.usb.config
- >
- > # USB accessory configuration, with adb
- > on property:sys.usb.config=accessory,adb
- > write /sys/class/android_usb/android0/enable 0
- > write /sys/class/android_usb/android0/idVendor 18d1
- > write /sys/class/android_usb/android0/idProduct 2d01
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- > write /sys/class/android_usb/android0/enable 1
- > start adbd
- > setprop sys.usb.state $sys.usb.config
- >
- > # Used to set USB configuration at boot and to switch the configuration
- > # when changing the default configuration
- > on property:persist.sys.usb.config=*
- > setprop sys.usb.config $persist.sys.usb.config
- >
- > ## Daemon processes to be run by init.
- 389d729
- < user shell
- 395c735
- < # adbd is controlled via property triggers in init.<platform>.usb.rc
- ---
- > # adbd is controlled via property triggers in init.<platform>.usb.rc
- 400c740
- < # adbd on at boot in emulator
- ---
- > # adbd on at boot in emulator
- 403a744,750
- > # This property trigger has added to imitiate the previous behavior of "adb root".
- > # The adb gadget driver used to reset the USB bus when the adbd daemon exited,
- > # and the host side adb relied on this behavior to force it to reconnect with the
- > # new adbd instance after init relaunches it. So now we force the USB bus to reset
- > # here when adbd sets the service.adb.root property to 1. We also restart adbd here
- > # rather than waiting for init to notice its death and restarting it so the timing
- > # of USB resetting and adb restarting more closely matches the previous behavior.
- 416,417d762
- < onrestart restart surfaceflinger
- < onrestart restart drm
- 422a768
- > socket dir_enc_report stream 0660 root mount
- 428d773
- < socket mdns stream 0660 root system
- 438c783,793
- < group radio cache inet misc audio sdcard_rw qcom_oncrpc diag
- ---
- > group radio cache inet misc audio sdcard_rw log
- >
- > service DR-deamon /system/bin/drexe
- > class main
- > user root
- > group system radio inet net_raw
- >
- > service mobex-daemon /system/bin/npsmobex
- > class main
- > user system
- > group system inet sdcard_rw
- 453a809,817
- > # adb over network
- > on property:service.adb.tcp.port=5555
- > stop adbd
- > start adbd
- >
- > on property:service.adb.tcp.port=-1
- > stop adbd
- > start adbd
- >
- 457c821
- < group drm system inet drmrpc sdcard_r
- ---
- > group system inet drmrpc sdcard_rw media_rw radio
- 462c826
- < group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
- ---
- > group system audio camera inet net_bt net_bt_admin
- 465c829
- < service bootanim /system/bin/bootanimation
- ---
- > service samsungani /sbin/bootanimation.sh
- 471a836,844
- > #for samsung boot sound
- > service playsound /system/bin/playsound
- > class main
- > user media
- > group system
- > disabled
- > oneshot
- > #for samsung boot sound
- >
- 482,483c855,856
- < # init.rc does not yet support applying capabilities, so run as root and
- < # let bluetoothd drop uid to bluetooth with the right linux capabilities
- ---
- > # init.rc does not yet support applying capabilities, so run as root and
- > # let bluetoothd drop uid to bluetooth with the right linux capabilities
- 486a860,881
- > # for bluetooth
- > service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm --no2bytes --tosleep 50000 \
- > --baudrate 3000000 --use_baudrate_for_download --patchram /system/bin/bcm4330B1.hcd \
- > --scopcm=0,0,0,0,0,0,0,3,3,0 /dev/ttySAC0
- > class main
- > user bluetooth
- > group bluetooth net_bt_admin
- > disabled
- > oneshot
- >
- > # for bluetooth rf test.
- > service bt_dut_cmd /system/bin/bcm_dut
- > group bluetooth net_bt_admin
- > disabled
- > oneshot
- >
- > # for bluetooth pan
- > service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL
- > class main
- > disabled
- > oneshot
- >
- 490a886,889
- > service flash_recovery /system/etc/install-recovery.sh
- > class main
- > oneshot
- >
- 494c893
- < # IKE uses UDP port 500. Racoon will setuid to vpn after binding the port.
- ---
- > # racoon will setuid to vpn after getting necessary resources.
- 510c909
- < group keystore drmrpc
- ---
- > group keystore
- 519c918,919
- < service sshd /system/bin/start-ssh
- ---
- > #for WiFi MFG(TestMode)
- > service mfgloader /system/bin/mfgloader
- 521a922
- > oneshot
- 523c924
- < service mdnsd /system/bin/mdnsd
- ---
- > service wlandutservice /system/bin/wlandutservice
- 525,527c926,927
- < user mdnsr
- < group inet net_raw
- < socket mdnsd stream 0660 mdnsr inet
- ---
- > user system
- > group wifi net_raw net_admin system inet
- 531,534c931,934
- < # adb over network
- < on property:service.adb.tcp.port=5555
- < stop adbd
- < start adbd
- ---
- > service macloader /system/bin/macloader
- > class main
- > oneshot
- > # end of wifi
- 536,538c936,957
- < on property:service.adb.tcp.port=-1
- < stop adbd
- < start adbd
- ---
- > # Vibetonz
- > service immvibed /system/bin/immvibed
- > class core
- > user shell
- > group shell
- > oneshot
- >
- > # TVout
- > service TvoutService_C /system/bin/bintvoutservice
- > class main
- > user system
- > group graphics
- >
- > # RTC logging daemon
- > service rtc_log /system/bin/sh /system/bin/rtc_log.sh
- > class main
- > user shell
- > group log
- > oneshot
- >
- > on property:sys.boot_completed=1
- > stop samsungani
- Nur in initramfs3/: init.rc.2.
- Nur in initramfs3/: init.samsung.
- diff -r lall/init.smdk4210.rc initramfs3/init.smdk4210.rc
- 4,13c4,5
- < export EXTERNAL_STORAGE /storage/sdcard0
- < export SECONDARY_STORAGE /storage/sdcard1
- < mkdir /storage 0775 system system
- < mkdir /storage/sdcard0 0775 system system
- < mkdir /storage/sdcard1 0775 system system
- < mkdir /storage/usbdisk0 0775 system system
- < mkdir /efs 0771 radio system
- < mkdir /preload 0771 system system
- < mkdir /mnt/.lfs 0755 root root
- <
- ---
- > export EXTERNAL_STORAGE /mnt/sdcard
- > mkdir /mnt/sdcard 0000 system system
- 15,23c7
- < symlink /storage/sdcard0 /sdcard
- < symlink /storage/sdcard0 /mnt/sdcard
- < symlink /storage/sdcard1 /extSdCard
- < symlink /storage/sdcard1 /mnt/extSdCard
- < symlink /storage/usbdisk0 /usbdisk0
- < symlink /storage/usbdisk0 /mnt/usbdisk0
- <
- < # Disable CFQ slice idle delay
- < write /sys/block/mmcblk0/queue/iosched/slice_idle 0
- ---
- > symlink /mnt/sdcard /sdcard
- 25c9
- < # FIXME: permissions for tvout
- ---
- > # FIXME: permissions for tvout
- 32c16
- < # FIXME: permission for HDMI audio path
- ---
- > # FIXME: permission for HDMI audio path
- 36,65d19
- < on fs
- < # mount ext4 partitions
- < mount ext4 /res/dev/system /system noatime wait
- <
- < mount tmpfs tmpfs /system/lib/modules
- < symlink /lib/modules/cifs.ko /system/lib/modules/cifs.ko
- < symlink /lib/modules/dhd.ko /system/lib/modules/dhd.ko
- < symlink /lib/modules/scsi_wait_scan.ko /system/lib/modules/scsi_wait_scan.ko
- < symlink /lib/modules/Si4709_driver.ko /system/lib/modules/Si4709_driver.ko
- <
- < # Check and mount /cache
- < exec sfsck /res/dev/cache ext4
- < mount ext4 /res/dev/cache /cache nosuid nodev noatime wait rw
- <
- < # Check and mount /data
- < exec sfsck /res/dev/data ext4
- < mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc rw
- <
- < mount ext4 /dev/block/mmcblk0p1 /efs nosuid nodev noatime wait
- < mkdir /efs/bluetooth
- < mkdir /efs/wifi
- < chown radio system /efs/bluetooth
- < chown radio system /efs/wifi
- < chmod 0775 /efs/bluetooth
- < chmod 0775 /efs/wifi
- <
- < mkdir /data/misc/vpn/profiles 0770 system system
- < mkdir /data/misc/radio 0775 radio system
- < chmod 0770 /data/misc/wifi
- <
- 67,72c21
- < # insmod kernel modules
- < insmod /system/lib/modules/j4fs.ko
- < insmod /system/lib/modules/Si4709_driver.ko
- <
- < # mount param.lfs
- < mount j4fs /dev/block/mmcblk0p4 /mnt/.lfs
- ---
- > # insmod kernel modules
- 74,77c23
- < # MDNS
- < socket mdns stream 0660 root system
- <
- < # GPS
- ---
- > # GPS
- 87c33
- < # give system access to wpa_supplicant.conf for backup and restore
- ---
- > # give system access to wpa_supplicant.conf for backup and restore
- 95,125c41,47
- < #DRM directory creation
- < mkdir /system/etc/security/.drm 0775
- < chown root root /system/etc/security/.drm
- < chmod 0775 /system/etc/security/.drm
- <
- < # Added for Playready DRM Support
- < mkdir /data/data/.drm 0775
- < chown drm system /data/data/.drm
- < chmod 0775 /data/data/.drm
- < mkdir /data/data/.drm/.playready 0775
- < chown drm system /data/data/.drm/.playready
- < chmod 0775 /data/data/.drm/.playready
- <
- < #Added drm folder to copy drm plugins
- < mkdir /system/lib/drm 0775
- < chown root root /system/lib/drm
- < chmod 0775 /system/lib/drm
- <
- < # DivX DRM
- < mkdir /efs/.files 0775
- < mkdir /efs/.files/.dx1 0775
- < mkdir /efs/.files/.dm33 0775
- < mkdir /efs/.files/.mp301 0775
- < chown media system /efs/.files/.dx1
- < chown media system /efs/.files/.dm33
- < chown media system /efs/.files/.mp301
- < chmod 0775 /efs/.files/.dx1
- < chmod 0775 /efs/.files/.dm33
- < chmod 0775 /efs/.files/.mp301
- <
- < # MTP Device permission.
- ---
- > on boot
- > chown system system /sys/class/backlight/pwm-backlight/brightness
- > chmod 0660 /sys/class/backlight/pwm-backlight/brightness
- > chown radio system /sys/devices/virtual/misc/melfas_touchkey/brightness
- > chmod 0660 /sys/devices/virtual/misc/melfas_touchkey/brightness
- >
- > # MTP Device permission.
- 129c51
- < # terminal mode
- ---
- > # terminal mode
- 133c55
- < # NFC
- ---
- > # NFC
- 138c60
- < # setup for alsa snd device
- ---
- > # setup for alsa snd device
- 145,300c67
- < # Permission for MHL
- < chown system radio /sys/class/mhl/test_result
- <
- < # create log system
- < mkdir /data/log 0775 system log
- < mkdir /data/anr 0775 system log
- < chown system log /data/log
- < chown system log /data/anr
- <
- < chmod 0775 /data/log
- < chmod 0775 /data/anr
- <
- < chmod 0662 /dev/log/radio
- < chmod 0662 /dev/log/main
- < chmod 0662 /dev/log/event
- <
- < # panorama directory creation
- < mkdir /data/pxtmpdir 0775
- < chown system system /data/pxtmpdir
- < chmod 0775 /data/pxtmpdir
- <
- < # permission for HDMI audio path
- < chown media audio /sys/class/hdmi_audio/hdmi_audio/hdmi_audio_set_ext
- <
- < # Permissions for gpio_keys.
- < chown system radio /sys/class/sec/sec_key/wakeup_keys
- < write /sys/class/sec/sec_key/wakeup_keys 102,116
- <
- < # Add permission for ATM. 2010.03.20
- < chown system radio /sys/devices/platform/i2c-gpio.9/i2c-9/9-0036/power_supply/fuelgauge/fg_read_soc
- < chown system radio /sys/devices/platform/i2c-gpio.9/i2c-9/9-0036/power_supply/fuelgauge/fg_reset_soc
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_lpm_state
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/fg_psoc
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/system_rev
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_current_adc
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_test_value
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_adc_spec
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_check
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_full_check
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_type
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/mp3
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/video
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_lp_charging
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/charging_source
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_adc_avg
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp_adc
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_temp
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_vfocv
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_soc
- < chown system radio /sys/devices/platform/sec-battery/power_supply/battery/batt_vol
- <
- < chown system system /sys/class/backlight/panel/brightness
- < chown system system /sys/class/power_supply/battery/temp
- <
- < # Permissions for input devices
- < chown system radio /sys/devices/virtual/sec/sec_key/sec_key_pressed
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/enable_disable
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/force_disable
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/recommended_version
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touch_sensitivity
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/brightness
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_brightness
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_back
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_menu
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_version_panel
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_version_phone
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update_status
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/touchkey_firm_update
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/updated_version
- < chown system radio /sys/devices/virtual/sec/sec_touchkey/led_timeout
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_firm_version
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_threshould
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_all_delta
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_all_refer
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta4
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer4
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta3
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer3
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta2
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer2
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta1
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer1
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_delta0
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_refer0
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/disp_all_deltadata
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/disp_all_refdata
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_module_off
- < chown system radio /sys/devices/virtual/sec/tsp_noise_test/set_module_on
- < chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_version_panel
- < chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_version_phone
- < chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_update_status
- < chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_firm_update
- < chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_threshold
- < chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_config_version
- < chown system radio /sys/devices/virtual/sec/sec_touchscreen/tsp_touchtype
- <
- < # Permissions for bluetooth
- < setprop ro.bt.bdaddr_path "/efs/bluetooth/bt_addr"
- < chown bluetooth bluetooth ro.bt.bdaddr_path
- < chown bluetooth bluetooth /dev/ttySAC0
- < chmod 0600 /dev/ttySAC0
- < chmod 0660 /sys/class/rfkill/rfkill0/state
- < chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
- < chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
- <
- < # Vibetonz
- < chmod 0660 /dev/tspdrv
- < chown root shell /dev/tspdrv
- < chmod 0660 /sys/vibrator/pwm_val
- < chown system system /sys/vibrator/pwm_val
- <
- < # Permissions for LCD
- < chown system radio /sys/class/lcd/panel/lcd_power
- < chown system radio /sys/class/lcd/panel/lcd_type
- < chown system media_rw /sys/class/lcd/panel/gamma_mode
- < chown system media_rw /sys/class/lcd/panel/power_reduce
- < chown system system /sys/class/backlight/panel/auto_brightness
- <
- < # Permissions for mDNIe
- < chown system media_rw /sys/class/mdnie/mdnie/mode
- < chown system media_rw /sys/class/mdnie/mdnie/outdoor
- < chown system media_rw /sys/class/mdnie/mdnie/scenario
- < chown system media_rw /sys/class/mdnie/mdnie/negative
- < write /sys/class/mdnie/mdnie/scenario 4
- <
- < # Permissions for uart_sel and usb_sel
- < chown system radio /sys/class/sec/switch/uart_sel/value
- < chown system radio /sys/class/sec/switch/usb_sel
- < chown system radio /sys/class/sec/switch/audio_path
- < chown system radio /sys/class/sec/switch/otg_test
- < chown system radio /sys/class/sec/switch/adc_debounce_time
- < chown system radio /sys/class/sec/switch/status
- < chown system radio /sys/class/sec/switch/adc
- < chown system radio /mnt/.lfs/sw_sel
- <
- < # Permissions for OTG Test
- < chown system radio /sys/class/host_notify/usb_otg/booster
- < chmod 0664 /sys/class/host_notify/usb_otg/booster
- <
- < # Permission for radio
- < chown system radio /sys/devices/platform/s5p-ehci/ehci_power
- < chown system radio /sys/devices/platform/s5p-ehci/ehci_runtime
- < chown system radio /sys/devices/virtual/misc/multipdp/waketime
- <
- < # for datarouter
- < chown system system /dev/dun
- < chown system system /dev/ttyGS0
- < chown system system /dev/ttyGS1
- < chown system system /dev/ttyGS2
- < chown system system /dev/ttyGS3
- <
- < # DVFS - cpufreq ondemand
- < write /sys/devices/system/cpu/cpufreq/ondemand/down_differential 5
- < write /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 85
- <
- < #panorama directory creation
- ---
- > #panorama directory creation
- 305,311c72
- < # backlight permissions
- < chown system system /sys/class/backlight/pwm-backlight/brightness
- < chmod 0660 /sys/class/backlight/pwm-backlight/brightness
- < chown radio system /sys/devices/virtual/misc/melfas_touchkey/brightness
- < chmod 0660 /sys/devices/virtual/misc/melfas_touchkey/brightness
- <
- < # Permissions for dvfs lock
- ---
- > # Permissions for dvfs lock
- 320c81
- < # Permisions for sensors
- ---
- > # Permisions for sensors
- 327,329d87
- < # for device encryption
- < setprop vold.post_fs_data_done 1
- <
- 332,333c90
- < # setprop ro.build.product GT-I9100
- < # setprop ro.product.device GT-I9100
- ---
- >
- 336c93
- < # permissions for NFC
- ---
- > # permissions for NFC
- 341c98
- < # Device Encryption by B2B Security Lab.
- ---
- > # Device Encryption by B2B Security Lab.
- 344c101
- < # fake some battery state
- ---
- > # fake some battery state
- 350c107
- < service mdnsd /system/bin/mdnsd
- ---
- > service notified_event /system/bin/notified_event
- 352,355c109,115
- < user mdnsr
- < group inet net_raw
- < socket mdnsd stream 0660 mdnsr inet
- < disabled
- ---
- > user system
- > group system
- > socket notified_event stream 0660 root system
- >
- > service tscald /system/bin/tscald /data/data/com.samsung.app.sec_tscal/cal.conf /sys/devices/platform/s3c64xx-ts/set_tscal
- > user root
- > group root
- 358,363c118,123
- < service p2p_supplicant /system/bin/wpa_supplicant \
- < -Dnl80211 -iwlan0 -puse_p2p_group_interface=1 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin
- < # we will start as root and wpa_supplicant will switch to user wifi
- < # after setting up the capabilities required for WEXT
- < # user wifi
- < # group wifi inet keystore
- ---
- > service wpa_supplicant /system/bin/wpa_supplicant \
- > -Dnl80211 -puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin
- > # we will start as root and wpa_supplicant will switch to user wifi
- > # after setting up the capabilities required for WEXT
- > # user wifi
- > # group wifi inet keystore
- 365c125
- < socket wpa_wlan0 dgram 660 wifi wifi
- ---
- > socket wpa_wlan0 dgram 0660 wifi wifi
- 369,376c129,136
- < service wpa_supplicant /system/bin/wpa_supplicant \
- < -Dnl80211 -iwlan0 -puse_p2p_group_interface=1 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin
- < # we will start as root and wpa_supplicant will switch to user wifi
- < # after setting up the capabilities required for WEXT
- < # user wifi
- < # group wifi inet keystore
- < class main
- < socket wpa_wlan0 dgram 660 wifi wifi
- ---
- > #for WiFi MFG(TestMode)
- > service mfgloader /system/bin/mfgloader
- > disabled
- > oneshot
- >
- > service wlandutservice /system/bin/wlandutservice
- > user system
- > group wifi net_raw net_admin system inet
- 379a140,143
- > service macloader /system/bin/macloader
- > oneshot
- > # end of wifi
- >
- 400,403c164,165
- < # for bluetooth
- < service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm --no2bytes --tosleep 50000 \
- < --baudrate 3000000 --use_baudrate_for_download --patchram /system/bin/bcm4330B1.hcd \
- < --scopcm=0,0,0,0,0,0,0,3,3,0 /dev/ttySAC0
- ---
- > # for bluetooth pan
- > service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL
- 405,406d166
- < user bluetooth
- < group bluetooth net_bt_admin
- 410c170
- < # bluetooth mac address
- ---
- > # bluetooth mac address
- 417c177
- < # TVout
- ---
- > # TVout
- 419,424d178
- < class main
- < user system
- < group graphics
- <
- < # bugreport is triggered by holding down volume down, volume up and power
- < service bugreport /system/bin/bugmailer.sh -v
- 426,428c180,181
- < disabled
- < oneshot
- < keycodes 114 115 116
- ---
- > user system
- > group graphics
- Nur in lall/: init.smdk4210.rc.2.
- diff -r lall/init.smdk4210.usb.rc initramfs3/init.smdk4210.usb.rc
- 2c2
- < write /sys/class/android_usb/android0/iSerial ${ro.serialno}
- ---
- > write /sys/class/android_usb/android0/iSerial $ro.serialno
- 8,10c8,10
- < write /sys/class/android_usb/android0/iManufacturer ${ro.manufacturer}
- < write /sys/class/android_usb/android0/iProduct ${ro.model}
- < write /sys/class/android_usb/android0/iSerial ${ro.serialno}
- ---
- > write /sys/class/android_usb/android0/iManufacturer $ro.manufacturer
- > write /sys/class/android_usb/android0/iProduct $ro.model
- > write /sys/class/android_usb/android0/iSerial $ro.serialno
- 17c17
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 19c19
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 25c25
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 28c28
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 34c34
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 37c37
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 43c43
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 47c47
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 53c53
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 55c55
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 61c61
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 64c64
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 70c70
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 72c72
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 78c78
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 80c80
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- 86c86
- < write /sys/class/android_usb/android0/functions ${sys.usb.config}
- ---
- > write /sys/class/android_usb/android0/functions $sys.usb.config
- 89c89
- < setprop sys.usb.state ${sys.usb.config}
- ---
- > setprop sys.usb.state $sys.usb.config
- Nur in lall/: init.trace.rc.
- Nur in lall/: init.usb.rc.
- Nur in initramfs3/: lib.
- diff -r lall/lpm.rc initramfs3/lpm.rc
- 23c23
- < write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave
- ---
- > write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor conservative
- Nur in initramfs3/: mnt.
- Nur in initramfs3/: preload.
- Nur in initramfs3/: proc.
- diff -r lall/recovery.rc initramfs3/recovery.rc
- 8,9d7
- < export ANDROID_CACHE /cache
- < export SECONDARY_STORAGE /emmc
- 12c10
- < # symlink /system/etc /etc
- ---
- > #symlink /system/etc /etc
- 15c13
- < mkdir /usbdisk
- ---
- > mkdir /sdcard1
- 22,26c20,21
- < on fs
- < mount ext4 /dev/block/mmcblk0p9 /system noatime wait
- <
- < # mkdir /efs
- < # mount ext4 /dev/block/mmcblk0p1 /efs nosuid nodev noatime wait
- ---
- > # mkdir /efs
- > # mount ext4 /dev/block/mmcblk0p1 /efs nosuid nodev noatime wait
- 35,40d29
- < # Permissions for mDNIe
- < chown system media_rw /sys/class/mdnie/mdnie/mode
- < chown system media_rw /sys/class/mdnie/mdnie/outdoor
- < chown system media_rw /sys/class/mdnie/mdnie/scenario
- < write /sys/class/mdnie/mdnie/scenario 4
- <
- 44d32
- <
- 55a44
- > # In recovery, always run adbd as root.
- 62,64c51,53
- < write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer}
- < write /sys/class/android_usb/android0/iProduct ${ro.product.model}
- < write /sys/class/android_usb/android0/iSerial ${ro.serialno}
- ---
- > write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
- > write /sys/class/android_usb/android0/iProduct $ro.product.model
- > write /sys/class/android_usb/android0/iSerial $ro.serialno
- Nur in initramfs3/: res.
- Nur in initramfs3/: sbin.
- Nur in initramfs3/: sys.
- Nur in initramfs3/: system.
- Nur in initramfs3/: tmp.
- diff -r lall/ueventd.rc initramfs3/ueventd.rc
- 73a74
- > /dev/usb/lp* 0660 system usb
- diff -r lall/ueventd.smdk4210.rc initramfs3/ueventd.smdk4210.rc
- 24c24
- < /dev/input/* 0660 root input
- ---
- > /dev/input/* 0666 root input
- 33c33,35
- < /dev/rfkill 0666 root root
- ---
- > /dev/rfkill 0666 root system
- > /dev/ttySAC* 0660 root system
- >
- Nur in initramfs3/: update-hosts.sh.
- Nur in initramfs3/: update.sh.
- Nur in initramfs3/: update-voku.sh.
- Nur in initramfs3/: vendor.
Add Comment
Please, Sign In to add comment