summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/private/android_filesystem_config.h2
-rw-r--r--rootdir/init.qcom.rc9
2 files changed, 6 insertions, 5 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 8252f15..7d43ae4 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -86,6 +86,7 @@
// SONY_UIDS
#define AID_SONY_IDD 2987 /* IDD */
+#define AID_SONY_TA 2993 /* TrimArea */
/* The 3000 series are intended for use as supplemental group id's only.
* They indicate special Android capabilities that the kernel is aware of. */
@@ -193,6 +194,7 @@ static const struct android_id_info android_ids[] = {
// SONY_UIDS
{ "sony_idd", AID_SONY_IDD, },
+ { "sony_ta", AID_SONY_TA, },
#if defined(MOTOROLA_UIDS)
{ "mot_osh", AID_MOT_OSH, },
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 29e94ce..01f65a7 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -105,7 +105,7 @@ on fs
chmod 0555 /lta-label
chmod 0755 /data/etc
- start tad
+ class_start sony_ta
exec /sbin/wait4tad_static
exec /system/bin/taimport
@@ -521,12 +521,11 @@ service qmuxd /system/bin/qmuxd
# SONY: TrimArea Daemon
# Last 2 args: start block(blk size 128k), number of blocks(partitionsize(kb)/128(kb))
-service tad /sbin/tad_static /dev/block/mmcblk0 1,16
- class core
+service tad_static /sbin/tad_static /dev/block/mmcblk0 1,16
user root
group root
- socket tad stream 0660 system system
- disabled
+ socket tad stream 0660 system sony_ta
+ class sony_ta
service updatemiscta /system/bin/updatemiscta
class main