Permalink
Browse files

initial commit

  • Loading branch information...
gokhanmoral committed Mar 27, 2012
0 parents commit e20c15bc19f8899ade891960411f3501783d2d48
Showing with 5,522 additions and 0 deletions.
  1. +7 −0 default.prop
  2. +123 −0 fota.rc
  3. +1 −0 init
  4. +78 −0 init.goldfish.rc
  5. +917 −0 init.rc
  6. +122 −0 init.smdk4210.rc
  7. +89 −0 init.smdk4210.usb.rc
  8. BIN innt
  9. +85 −0 lpm.rc
  10. +67 −0 recovery.rc
  11. +26 −0 res/customconfig/actions/chargecurrent
  12. +12 −0 res/customconfig/actions/efs-backup
  13. +22 −0 res/customconfig/actions/generic
  14. +16 −0 res/customconfig/actions/gpu-freq
  15. +19 −0 res/customconfig/actions/gpu-staycount
  16. +16 −0 res/customconfig/actions/gpu-thresh
  17. +16 −0 res/customconfig/actions/gpu-voltage
  18. +9 −0 res/customconfig/actions/install-root
  19. +22 −0 res/customconfig/actions/remove-root
  20. +10 −0 res/customconfig/actions/reset-fuelgauge
  21. +25 −0 res/customconfig/actions/secondcore
  22. +125 −0 res/customconfig/customconfig-helper
  23. +166 −0 res/customconfig/customconfig.xml
  24. +35 −0 res/customconfig/default.profile
  25. +13 −0 res/etc/recovery.fstab
  26. BIN res/images/icon_clockwork.png
  27. BIN res/images/icon_error.png
  28. BIN res/images/icon_firmware_error.png
  29. BIN res/images/icon_firmware_install.png
  30. BIN res/images/icon_installing.png
  31. BIN res/images/icon_installing_overlay01.png
  32. BIN res/images/icon_installing_overlay02.png
  33. BIN res/images/icon_installing_overlay03.png
  34. BIN res/images/icon_installing_overlay04.png
  35. BIN res/images/icon_installing_overlay05.png
  36. BIN res/images/icon_installing_overlay06.png
  37. BIN res/images/icon_installing_overlay07.png
  38. BIN res/images/indeterminate01.png
  39. BIN res/images/indeterminate02.png
  40. BIN res/images/indeterminate03.png
  41. BIN res/images/indeterminate04.png
  42. BIN res/images/indeterminate05.png
  43. BIN res/images/indeterminate06.png
  44. BIN res/images/indeterminate1.png
  45. BIN res/images/indeterminate2.png
  46. BIN res/images/indeterminate3.png
  47. BIN res/images/indeterminate4.png
  48. BIN res/images/indeterminate5.png
  49. BIN res/images/indeterminate6.png
  50. BIN res/images/progress_bar_empty.png
  51. BIN res/images/progress_bar_empty_left_round.png
  52. BIN res/images/progress_bar_empty_right_round.png
  53. BIN res/images/progress_bar_fill.png
  54. BIN res/images/progress_bar_left_round.png
  55. BIN res/images/progress_bar_right_round.png
  56. BIN res/images/progress_empty.png
  57. BIN res/images/progress_fill.png
  58. BIN res/images/virtual_keys.png
  59. BIN res/images/virtual_keys.png-idk
  60. BIN res/images/virtual_keys.png.bak
  61. BIN res/images/virtual_keys_1024.png
  62. BIN res/images/virtual_keys_480.png
  63. BIN res/images/virtual_keys_720.png
  64. +1 −0 res/keys
  65. +2 −0 res/keys-samsung
  66. +7 −0 res/misc/cyano/default.prop
  67. BIN res/misc/cyano/init
  68. +78 −0 res/misc/cyano/init.goldfish.rc
  69. +527 −0 res/misc/cyano/init.rc
  70. +375 −0 res/misc/cyano/init.smdk4210.rc
  71. +89 −0 res/misc/cyano/init.smdk4210.usb.rc
  72. +84 −0 res/misc/cyano/lpm.rc
  73. +5 −0 res/misc/cyano/ueventd.goldfish.rc
  74. +82 −0 res/misc/cyano/ueventd.rc
  75. +32 −0 res/misc/cyano/ueventd.smdk4210.rc
  76. BIN res/misc/lights.exynos4.so
  77. BIN res/misc/payload/CWMManager.apk
  78. BIN res/misc/payload/Superuser.apk
  79. BIN res/misc/payload/su
  80. +28 −0 res/recovery.do
  81. +10 −0 res/recovery.fstab
  82. +42 −0 res/uci.sh
  83. +1 −0 res/update.url
  84. +1 −0 sbin/[
  85. +1 −0 sbin/[[
  86. BIN sbin/adbd
  87. +1 −0 sbin/ash
  88. +1 −0 sbin/awk
  89. +1 −0 sbin/basename
  90. +1 −0 sbin/bbconfig
  91. BIN sbin/bootanimation
  92. +9 −0 sbin/bootanimation.sh
  93. +1 −0 sbin/bunzip2
  94. BIN sbin/busybox
  95. +1 −0 sbin/bzcat
  96. +1 −0 sbin/bzip2
  97. +1 −0 sbin/cal
  98. +1 −0 sbin/cat
  99. +1 −0 sbin/catv
  100. +1 −0 sbin/chattr
  101. +1 −0 sbin/chgrp
  102. +1 −0 sbin/chmod
  103. +1 −0 sbin/choose_rom
  104. +1 −0 sbin/chown
  105. +1 −0 sbin/chroot
  106. +1 −0 sbin/cksum
  107. +1 −0 sbin/clear
  108. +1 −0 sbin/cmp
  109. +1 −0 sbin/cp
  110. +1 −0 sbin/cpio
  111. +1 −0 sbin/cut
  112. +1 −0 sbin/date
  113. +1 −0 sbin/dc
  114. +1 −0 sbin/dd
  115. +1 −0 sbin/depmod
  116. +1 −0 sbin/devmem
  117. +1 −0 sbin/df
  118. +1 −0 sbin/diff
  119. +1 −0 sbin/dirname
  120. +1 −0 sbin/dmesg
  121. +1 −0 sbin/dos2unix
  122. +1 −0 sbin/du
  123. +1 −0 sbin/dump_image
  124. BIN sbin/e2fsck
  125. +1 −0 sbin/echo
  126. +1 −0 sbin/edify
  127. +1 −0 sbin/egrep
  128. +1 −0 sbin/env
  129. +1 −0 sbin/erase_image
  130. +1 −0 sbin/expand
  131. +1 −0 sbin/expr
  132. +1 −0 sbin/ext/busybox
  133. +15 −0 sbin/ext/busybox-wrapper
  134. +32 −0 sbin/ext/busybox.sh
  135. +15 −0 sbin/ext/efs-backup.sh
  136. +101 −0 sbin/ext/install.sh
  137. +33 −0 sbin/ext/modules.sh
  138. +38 −0 sbin/ext/post-init.sh
  139. +14 −0 sbin/ext/properties.sh
  140. +1 −0 sbin/ext/reboot
  141. +29 −0 sbin/ext/run-init-scripts.sh
  142. +17 −0 sbin/ext/su-helper.sh
  143. +139 −0 sbin/ext/thunderbolt.sh
  144. +43 −0 sbin/ext/tweaks.sh
  145. +1 −0 sbin/false
  146. +1 −0 sbin/fdisk
  147. +1 −0 sbin/fgrep
  148. +1 −0 sbin/find
  149. +484 −0 sbin/fix_permissions
  150. +1 −0 sbin/flash_image
  151. +1 −0 sbin/fold
  152. BIN sbin/fota.png
  153. +1 −0 sbin/free
  154. +1 −0 sbin/freeramdisk
  155. +1 −0 sbin/fuser
  156. +1 −0 sbin/getopt
  157. +17 −0 sbin/getprop
  158. +1 −0 sbin/grep
  159. +1 −0 sbin/groups
  160. +1 −0 sbin/gunzip
  161. +1 −0 sbin/gzip
  162. +1 −0 sbin/head
  163. +1 −0 sbin/hexdump
  164. +16 −0 sbin/hotplug
  165. +1 −0 sbin/id
  166. +72 −0 sbin/init
  167. +43 −0 sbin/init.cm
  168. +7 −0 sbin/init.samsung
  169. +1 −0 sbin/insmod
  170. +1 −0 sbin/install
  171. +1 −0 sbin/kill
  172. +1 −0 sbin/killall
  173. +1 −0 sbin/killall5
  174. +22 −0 sbin/killrecovery.sh
  175. +1 −0 sbin/length
  176. +1 −0 sbin/less
  177. +1 −0 sbin/ln
  178. +1 −0 sbin/losetup
  179. +1 −0 sbin/ls
  180. +1 −0 sbin/lsattr
  181. +1 −0 sbin/lsmod
  182. +1 −0 sbin/lspci
  183. +1 −0 sbin/lsusb
  184. +1 −0 sbin/lzcat
  185. +1 −0 sbin/lzop
  186. +1 −0 sbin/lzopcat
  187. +1 −0 sbin/makedevs
  188. +1 −0 sbin/md5sum
  189. +1 −0 sbin/mkdir
  190. BIN sbin/mke2fs
  191. +1 −0 sbin/mkfifo
  192. +1 −0 sbin/mkfs.ext2
  193. +1 −0 sbin/mknod
  194. +1 −0 sbin/mkswap
  195. +1 −0 sbin/mktemp
  196. +1 −0 sbin/mkyaffs2image
  197. +1 −0 sbin/modinfo
  198. +1 −0 sbin/modprobe
  199. +1 −0 sbin/more
  200. +1 −0 sbin/mount
  201. +1 −0 sbin/mountpoint
  202. +1 −0 sbin/mv
  203. +1 −0 sbin/nanddump
  204. +1 −0 sbin/nandroid
  205. +12 −0 sbin/nandroid-md5.sh
  206. +1 −0 sbin/nandwrite
  207. +1 −0 sbin/nice
  208. +1 −0 sbin/nohup
  209. +1 −0 sbin/od
  210. BIN sbin/parted
  211. +1 −0 sbin/patch
  212. +1 −0 sbin/pgrep
  213. +1 −0 sbin/pidof
  214. +1 −0 sbin/pkill
  215. +1 −0 sbin/postrecoveryboot.sh
  216. +1 −0 sbin/printenv
  217. +1 −0 sbin/printf
  218. +1 −0 sbin/ps
  219. +1 −0 sbin/pstree
  220. +1 −0 sbin/pwd
  221. +1 −0 sbin/rdev
  222. BIN sbin/read_boot_headers
  223. +1 −0 sbin/readlink
  224. +1 −0 sbin/realpath
  225. +7 −0 sbin/reboot
  226. +1 −0 sbin/recovery
  227. +39 −0 sbin/recovery-loader
  228. BIN sbin/recovery-samsung
  229. BIN sbin/redbend_ua
  230. +1 −0 sbin/renice
  231. +1 −0 sbin/reset
  232. +1 −0 sbin/resize
  233. +1 −0 sbin/rev
  234. +1 −0 sbin/rm
  235. +1 −0 sbin/rmdir
  236. +1 −0 sbin/rmmod
  237. +1 −0 sbin/run-parts
  238. +637 −0 sbin/sdparted
  239. +1 −0 sbin/sed
  240. +1 −0 sbin/seq
  241. +1 −0 sbin/setconsole
  242. +1 −0 sbin/setprop
  243. +1 −0 sbin/setserial
  244. +1 −0 sbin/setsid
  245. +1 −0 sbin/sh
  246. +1 −0 sbin/sha1sum
  247. +1 −0 sbin/sha256sum
  248. +1 −0 sbin/sha512sum
  249. +1 −0 sbin/sleep
  250. +1 −0 sbin/sort
  251. +1 −0 sbin/split
  252. +1 −0 sbin/stat
  253. +1 −0 sbin/strings
  254. +1 −0 sbin/stty
  255. +1 −0 sbin/swapoff
  256. +1 −0 sbin/swapon
  257. +1 −0 sbin/sync
  258. +1 −0 sbin/sysctl
  259. +1 −0 sbin/tac
  260. +1 −0 sbin/tail
  261. +1 −0 sbin/tar
  262. +1 −0 sbin/tee
  263. +1 −0 sbin/test
  264. +1 −0 sbin/time
  265. +1 −0 sbin/top
  266. +1 −0 sbin/touch
  267. +1 −0 sbin/tr
  268. +1 −0 sbin/true
  269. +1 −0 sbin/tty
  270. +1 −0 sbin/ttysize
  271. BIN sbin/tune2fs
  272. +1 −0 sbin/ueventd
  273. +1 −0 sbin/umount
  274. +1 −0 sbin/uname
  275. +1 −0 sbin/unexpand
  276. +1 −0 sbin/uniq
  277. +1 −0 sbin/unix2dos
  278. +1 −0 sbin/unlzma
  279. +1 −0 sbin/unlzop
  280. +1 −0 sbin/unxz
  281. +1 −0 sbin/unyaffs
  282. +1 −0 sbin/unzip
  283. +1 −0 sbin/uptime
  284. +1 −0 sbin/usleep
  285. +1 −0 sbin/uudecode
  286. +1 −0 sbin/uuencode
  287. +1 −0 sbin/volume
  288. +1 −0 sbin/watch
  289. +1 −0 sbin/wc
  290. +1 −0 sbin/which
  291. +1 −0 sbin/whoami
  292. +1 −0 sbin/xargs
  293. +1 −0 sbin/xzcat
  294. +1 −0 sbin/yes
  295. +1 −0 sbin/zcat
  296. +5 −0 ueventd.goldfish.rc
  297. +83 −0 ueventd.rc
  298. +31 −0 ueventd.smdk4210.rc
  299. BIN vendor/firmware/mfc_fw.bin
@@ -0,0 +1,7 @@
+#
+# ADDITIONAL_DEFAULT_PROPERTIES
+#
+ro.secure=1
+ro.allow.mock.location=0
+ro.debuggable=1
+persist.sys.usb.config=mtp,adb
123 fota.rc
@@ -0,0 +1,123 @@
+on early-init
+ start ueventd
+
+on init
+
+sysclktz 0
+
+loglevel 3
+
+ 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 EXTERNAL_STORAGE /mnt/sdcard
+ export EXTERNAL_STORAGE2 /mnt/sdcard/external_sd
+ export USBHOST_STORAGE /mnt/sdcard/usbStorage
+
+ export ASEC_MOUNTPOINT /mnt/asec
+ export LOOP_MOUNTPOINT /mnt/obb
+ export BOOTCLASSPATH /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
+ export TMPDIR /data/local/tmp
+
+ # Backwards Compat - XXX: Going away in G*
+ symlink /mnt/sdcard /sdcard
+ symlink /system/etc /etc
+
+ mkdir /system
+ mkdir /data 0771 system system
+ mkdir /cache 0770 system cache
+
+ mkdir /mnt 0775 root system
+ mkdir /mnt/sdcard 0000 system system
+
+ #mount /tmp /tmp tmpfs
+
+on early-fs
+
+ # rfs drivers
+ # insmod /lib/modules/fsr.ko
+ # insmod /lib/modules/fsr_stl.ko
+ # insmod /lib/modules/rfs_glue.ko
+ # insmod /lib/modules/rfs_fat.ko
+
+
+ # parameter block
+ mkdir /mnt/.lfs 0755 root root
+ insmod /lib/modules/j4fs.ko
+ mount j4fs /dev/block/mmcblk0p4 /mnt/.lfs
+ insmod /lib/modules/param.ko
+
+ insmod /lib/modules/drop_caches.ko
+
+ mkdir /sdcard 0000 system system
+ chown system system /sdcard
+ chmod 0000 /sdcard
+
+ mkdir /sdcard1 0000 system system
+ chown system system /sdcard1
+ chmod 0000 /sdcard1
+
+ mkdir /system
+ mkdir /data 0771 system system
+ chown system system /data
+ chmod 0771 /data
+ mkdir /efs 0771 system system
+ mkdir /cache 0770 system cache
+ mkdir /config 0500 root root
+ chown system cache /cache
+ chmod 0770 /cache
+
+on fs
+ mount tmpfs tmpfs /tmp
+
+ mount ext4 /dev/block/mmcblk0p9 /system wait
+
+ mount ext4 /dev/block/mmcblk0p10 /data nosuid nodev noatime wait
+ chown system system /data
+ chmod 0771 /data
+ mkdir /data/fota
+ chown system system /data/fota
+ chmod 0777 /data/fota
+
+ #mount rfs /dev/block/stl11 /cache nosuid nodev check=no
+ mount ext4 /dev/block/mmcblk0p7 /cache nosuid nodev noatime wait
+ chown system cache /cache
+ chmod 0770 /cache
+ mkdir /cache/fota
+ chown system system /cache/fota
+ chmod 0777 /cache/fota
+
+
+ #mount rfs /dev/block/stl3 /efs nosuid nodev check=no
+
+on post-fs
+
+ #temp
+ chmod 750 /sbin/fat.format
+ mount rootfs rootfs / ro remount
+
+ 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
+
+on boot
+
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ class_start default
+
+service ueventd /sbin/ueventd
+ critical
+
+service redbend_ua /sbin/redbend_ua all
+ oneshot
1 init
@@ -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 e20c15b

Please sign in to comment.