summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-04-13 13:33:35 +0000
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-04-13 13:53:41 +0000
commit97d745827107618f18f7635de00a1376e3fa7cc0 (patch)
tree96ce2e68611e4cb67ae673daf0a51af088481a23 /rootdir
parentb85434c16ffe031270e6c8c62bd26fc46ddce37f (diff)
downloaddevice_samsung_p3100-97d745827107618f18f7635de00a1376e3fa7cc0.zip
device_samsung_p3100-97d745827107618f18f7635de00a1376e3fa7cc0.tar.gz
device_samsung_p3100-97d745827107618f18f7635de00a1376e3fa7cc0.tar.bz2
p31xx: rotate touchscreen to landscape mode for recovery
Change-Id: I8948cc5aa9e4a02d5613d5d89644dbaa00a801c0
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/recovery.rc60
1 files changed, 0 insertions, 60 deletions
diff --git a/rootdir/recovery.rc b/rootdir/recovery.rc
deleted file mode 100644
index b237846..0000000
--- a/rootdir/recovery.rc
+++ /dev/null
@@ -1,60 +0,0 @@
-on early-init
- start ueventd
-
-on init
- export PATH /sbin
- export ANDROID_ROOT /system
- export ANDROID_DATA /data
- export EXTERNAL_STORAGE /sdcard
-
- symlink /system/etc /etc
-
- mkdir /boot
- mkdir /sdcard
- mkdir /sd-ext
- mkdir /datadata
- mkdir /emmc
- mkdir /system
- mkdir /data
- mkdir /cache
- mount /tmp /tmp tmpfs
-
- chown root shell /tmp
- chmod 0775 /tmp
-
- write /sys/class/android_usb/android0/enable 0
- write /sys/class/android_usb/android0/idVendor 04e8
- write /sys/class/android_usb/android0/idProduct 6860
- write /sys/class/android_usb/android0/functions adb
- 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}
-
-
-on boot
-
- ifup lo
- hostname localhost
- domainname localdomain
-
- class_start default
-
-service ueventd /sbin/ueventd
- critical
-
-service recovery /sbin/recovery
-
-service adbd /sbin/adbd recovery
- disabled
-
-# Always start adbd on userdebug and eng builds
-on property:ro.debuggable=1
- #write /sys/class/android_usb/android0/enable 1
- #start adbd
- setprop service.adb.root 1
-
-# Restart adbd so it can run as root
-on property:service.adb.root=1
- write /sys/class/android_usb/android0/enable 0
- restart adbd
- write /sys/class/android_usb/android0/enable 1