Permalink
Browse files

Updates from JB SAMMY KERNEL + modds to my INIT and cortex.

  • Loading branch information...
1 parent dacf9ad commit b8496bd42a81b92a6e60c51d26b532cf69a61cec @dorimanx dorimanx committed Nov 16, 2012
View
@@ -82,7 +82,7 @@ loglevel 3
mkdir /mnt/.lfs 0755 root root
write /proc/sys/kernel/panic_on_oops 0
- write /proc/sys/kernel/hung_task_timeout_secs 120
+ write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/cpu/alignment 4
write /proc/sys/kernel/sched_compat_yield 1
View
@@ -82,7 +82,7 @@ loglevel 3
mkdir /mnt/.lfs 0755 root root
write /proc/sys/kernel/panic_on_oops 0
- write /proc/sys/kernel/hung_task_timeout_secs 120
+ write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/cpu/alignment 4
write /proc/sys/kernel/sched_compat_yield 1
@@ -87,7 +87,7 @@ loglevel 3
mkdir /mnt/.lfs 0755 root root
write /proc/sys/kernel/panic_on_oops 0
- write /proc/sys/kernel/hung_task_timeout_secs 120
+ write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/cpu/alignment 4
write /proc/sys/kernel/sched_compat_yield 1
@@ -86,7 +86,7 @@ loglevel 3
mkdir /mnt/.lfs 0755 root root
write /proc/sys/kernel/panic_on_oops 0
- write /proc/sys/kernel/hung_task_timeout_secs 120
+ write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/cpu/alignment 4
write /proc/sys/kernel/sched_compat_yield 1
@@ -76,7 +76,7 @@ loglevel 3
mkdir /mnt/.lfs 0755 root root
write /proc/sys/kernel/panic_on_oops 0
- write /proc/sys/kernel/hung_task_timeout_secs 120
+ write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/cpu/alignment 4
write /proc/sys/kernel/sched_compat_yield 1
@@ -79,7 +79,7 @@ loglevel 3
mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000
write /proc/sys/kernel/panic_on_oops 0
- write /proc/sys/kernel/hung_task_timeout_secs 120
+ write /proc/sys/kernel/hung_task_timeout_secs 0
write /proc/sys/kernel/sched_latency_ns 10000000
write /proc/cpu/alignment 4
write /proc/sys/kernel/sched_compat_yield 1
Binary file not shown.
@@ -0,0 +1,8 @@
+#
+# ADDITIONAL_DEFAULT_PROPERTIES
+#
+ro.secure=0
+ro.allow.mock.location=0
+ro.debuggable=1
+persist.sys.usb.config=mtp,adb
+persist.service.adb.enable=1
@@ -0,0 +1,22 @@
+on boot
+
+# for bluetooth
+ insmod /lib/modules/btlock.ko
+ chmod 664 /dev/btlock
+ chown bluetooth system /dev/btlock
+
+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
+ class main
+ group bluetooth net_bt_admin
+ disabled
+ oneshot
@@ -0,0 +1,78 @@
+on early-init
+ export EXTERNAL_STORAGE /mnt/sdcard
+ mkdir /mnt/sdcard 0000 system system
+ # for backwards compatibility
+ symlink /mnt/sdcard /sdcard
+
+on boot
+ setprop ARGH ARGH
+ setprop net.eth0.gw 10.0.2.2
+ setprop net.eth0.dns1 10.0.2.3
+ setprop net.gprs.local-ip 10.0.2.15
+ setprop ro.radio.use-ppp no
+ setprop ro.build.product generic
+ setprop ro.product.device generic
+
+# fake some battery state
+ setprop status.battery.state Slow
+ setprop status.battery.level 5
+ setprop status.battery.level_raw 50
+ setprop status.battery.level_scale 9
+
+# disable some daemons the emulator doesn't want
+ stop dund
+ stop akmd
+
+# start essential services
+ start qemud
+ start goldfish-logcat
+ start goldfish-setup
+
+ setprop ro.setupwizard.mode EMULATOR
+
+# enable Google-specific location features,
+# like NetworkLocationProvider and LocationCollector
+ setprop ro.com.google.locationfeatures 1
+
+# For the emulator, which bypasses Setup Wizard, you can specify
+# account info for the device via these two properties. Google
+# Login Service will insert these accounts into the database when
+# it is created (ie, after a data wipe).
+#
+# setprop ro.config.hosted_account username@hosteddomain.org:password
+# setprop ro.config.google_account username@gmail.com:password
+#
+# You MUST have a Google account on the device, and you MAY
+# additionally have a hosted account. No other configuration is
+# supported, and arbitrary breakage may result if you specify
+# something else.
+
+service goldfish-setup /system/etc/init.goldfish.sh
+ user root
+ group root
+ oneshot
+
+# The qemu-props program is used to set various system
+# properties on boot. It must be run early during the boot
+# process to avoid race conditions with other daemons that
+# might read them (e.g. surface flinger), so define it in
+# class 'core'
+#
+service qemu-props /system/bin/qemu-props
+ class core
+ user root
+ group root
+ oneshot
+
+service qemud /system/bin/qemud
+ socket qemud stream 666
+ oneshot
+
+# -Q is a special logcat option that forces the
+# program to check wether it runs on the emulator
+# if it does, it redirects its output to the device
+# named by the androidboot.console kernel option
+# if not, is simply exits immediately
+
+service goldfish-logcat /system/bin/logcat -Q
+ oneshot
Oops, something went wrong.

0 comments on commit b8496bd

Please sign in to comment.