Huge refactor for 4.2
[auto-patcher.git] / patches / 3gdongle / 4.1 / generic / 20120826 / boot.img.patch
blob93f4c18ca1831c5fba1fc5384352302ca9be351c
1 diff -Npru ramdisk/init.dongle.rc 3g-ramdisk/init.dongle.rc
2 --- ramdisk/init.dongle.rc 1969-12-31 18:00:00.000000000 -0600
3 +++ 3g-ramdisk/init.dongle.rc 2012-08-27 00:24:51.012865613 -0500
4 @@ -0,0 +1,17 @@
5 +on boot
6 +
7 +on property:dev.bootcomplete=1
8 + start preheated
10 +service hotplugd /system/bin/logwrapper /system/bin/hotplugd
11 + class core
13 +# preheated is a symlink to hotplug. This check if the device is already connected
14 +service preheated /system/bin/logwrapper /system/bin/hotplugd preheated
15 + oneshot
16 + disbaled
18 +service switch_ms_to_3g /system/bin/logwrapper /system/bin/usb_modeswitch
19 + class core
20 + disabled
21 + oneshot
22 \ No newline at end of file
23 diff -Npru ramdisk/init.rc 3g-ramdisk/init.rc
24 --- ramdisk/init.rc 2012-08-27 00:25:58.749201521 -0500
25 +++ 3g-ramdisk/init.rc 2012-08-27 00:24:51.012865613 -0500
26 @@ -3,7 +3,7 @@
27 # IMPORTANT: Do not create world writable files or directories.
28 # This is a common source of Android security bugs.
31 +import /init.dongle.rc
32 import /init.${ro.hardware}.rc
33 import /init.usb.rc
34 import /init.trace.rc
35 diff -Npru ramdisk/ueventd.grouper.rc 3g-ramdisk/ueventd.grouper.rc
36 --- ramdisk/ueventd.grouper.rc 2012-08-27 00:25:58.753201535 -0500
37 +++ 3g-ramdisk/ueventd.grouper.rc 2012-08-27 00:24:51.012865613 -0500
38 @@ -31,3 +31,4 @@
39 /dev/radio 0666 system radio
40 /dev/ion 0666 system system
41 /dev/pn544 0660 nfc nfc
42 +/dev/ttyUSB* 0660 root radio