Utils: Add GitHub forking tool

Change-Id: Ida89d9e331ccdcbf627195f33c17129d383c87e2
utils: Update AOSP forking script

Change-Id: Ifbb68a5940c079b8b0898e6a7d66df92d9077c28
init [1/4]: set permissions on governors sysfs nodes

1. interactive
2. ondemand
3. assume smp uses shared cpufreq policy for all CPUs

also, set permission for boostpulse
it will fix some permission issues like:

E/S5PC110 PowerHAL(  482): Error writing to boostpulse: No such device
E/S5PC110 PowerHAL(  482): Error opening interactive boostpulse interface: Permission denied
E/S5PC110 PowerHAL(  495): Error opening /sys/devices/system/cpu/cpufreq/interactive/timer_rate: Permission denied

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I581aaa1daf2ba5911e89398a4f8a1567fd6569c9
init [2/4]: set permissions on schedulers sysfs nodes

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ib7653a008bbeb978ea1bca77cb76ab4e609d48b6
init [3/4]: allow system to modify ksm control files

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Id4e70992f34c8039c06ab1131b9cc2195f6e3b63
init [4]: set permissions on notify_on_migrate node

 * Used by PowerHAL

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ifbf58c145522d82d220fbae39a6b7319971ecbb5
vendor/omni: minor code cleanup

Replaced tabs with four space, and alpabetized packages.mk

Change-Id: I846be29a6dfff81e01dacdf643846651d34a398a
Merge "Utils: Add GitHub forking tool" into android-4.4
Merge "utils: Update AOSP forking script" into android-4.4
Merge "vendor/omni: minor code cleanup" into android-4.4
Merge changes Ifbf58c14,Id4e70992,Ib7653a00,I581aaa1d into android-4.4

* changes:
  init [4]: set permissions on notify_on_migrate node
  init [3/4]: allow system to modify ksm control files
  init [2/4]: set permissions on schedulers sysfs nodes
  init [1/4]: set permissions on governors sysfs nodes
Omni: Changes default Apn for XL-Axiata Indonesia

Change-Id: I98d1f91c446e43dcfc5149be8b8eace7f1b2e14c
vendor: Allow devices to set the GMS client id

This will look for flags in omni_<device>.mk, if none preset, use ro.com.google.clientidbase=android-google

Conflicts:
	config/common.mk

Change-Id: I42957104837b96ea24e485c8dd2e6332ff42d5b7
sepolicy[1/8]: start OmniROM common sepolicy

Rather than having to maintain out of tree changes, it is often
easier to maintain a hiearchy of changes, starting with the vendors
common config file. From there, inheriting products can pick up a base
and start to add or remove certain bits from it, making use of the
BOARD_SEPOLICY_* functions documented in external/sepolicy/README.

It requires: https://gerrit.omnirom.org/#/c/4795/

Signed-off-by: Humberto Borba <humberos@gmail.com>
Signed-off-by: William Roberts<wroberts@tresys.com>
Change-Id: I13244e5c6fc64ef5c3f94ff2bc03fcbc96619490
sepolicy[2/8]: exFAT Support
FUSE based exFAT Implementation

android: https://gerrit.omnirom.org/#/c/4448/
e2fsprogs: https://gerrit.omnirom.org/#/c/3191/
fuse: https://gerrit.omnirom.org/#/c/4443/
vold: https://gerrit.omnirom.org/#/c/4441/
vold: https://gerrit.omnirom.org/#/c/4442/
omni: https://gerrit.omnirom.org/#/c/4449/

it requires this revert:
https://gerrit.omnirom.org/#/c/4797/

Signed-off-by: Humberto Borba <humberos@gmail.com>
Signed-off-by: Utkarsh Gupta <utkarsh.eminem@gmail.com>
Change-Id: Iefe39efc09fe9b5948a06b76da94ac7ae7ee1257
sepolicy[3/8]: Fix asec mounting

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I92392f3d810dfaf8dfc35f5c9170178a651d28dc
sepolicy[4/8]: treat fuseblk as sdcard_external

Allow fuse-mounted NTFS/exFAT file systems to be written to

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I1492914dd269a305e27aba58e61064d853adf2bc
sepolicy[5/8]: allow installd to query ASEC size

installd need to query ASEC size on sdcard_external
to show on the Settings -> Apps page correctly.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I2d9a49b8f0652f05d73d0ff464a3835595e2cc3c
sepolicy[6/8]: allow vold to create files on external sdcard

This is required for ASEC support. Vold can already create and
access directories, but do not yet have the permission for files.

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I5082bbff692e5dc53c7000e4b3a293e42d33f901
sepolicy[7/8]: allow vold to mount ext4 sdcard

When vold mounts an ext4 sdcard, it needs to force the context to
sdcard_external.

avc:  denied  { relabelfrom } for  pid=190 comm=vold scontext=u:r:vold:s0 tcontext=u:object_r:labeledfs:s0 tclass=filesystem
avc:  denied  { relabelto } for  pid=190 comm=vold scontext=u:r:vold:s0 tcontext=u:object_r:sdcard_external:s0 tclass=filesystem
avc:  denied  { relabelfrom } for  pid=190 comm=vold scontext=u:r:vold:s0 tcontext=u:object_r:sdcard_external:s0 tclass=filesystem

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I80f42fbdf738dee10958ce1bdc1893a41234f0d9