mirror of
				https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
				synced 2025-10-28 23:18:50 +01:00 
			
		
		
		
	universal7870: update init.samsungexynos7870.rc file
This commit is contained in:
		
							parent
							
								
									89939f91aa
								
							
						
					
					
						commit
						57df3f41af
					
				
					 1 changed files with 74 additions and 47 deletions
				
			
		|  | @ -38,11 +38,6 @@ on post-fs-data | ||||||
|     chmod 0644 /dev/freezer/olaf/cgroup.procs |     chmod 0644 /dev/freezer/olaf/cgroup.procs | ||||||
|     chmod 0644 /dev/freezer/olaf/freezer.state |     chmod 0644 /dev/freezer/olaf/freezer.state | ||||||
| 
 | 
 | ||||||
|     chown system system /sys/class/power_supply/battery/batt_slate_mode |  | ||||||
|     chown system system /sys/class/power_supply/battery/battery_charging_enabled |  | ||||||
|     chown system system /sys/class/power_supply/battery/charging_enabled |  | ||||||
|     chown system system /sys/class/power_supply/battery/input_suspend |  | ||||||
| 
 |  | ||||||
| # Log data folder | # Log data folder | ||||||
|     mkdir /data/vendor 0771 root system |     mkdir /data/vendor 0771 root system | ||||||
|     mkdir /data/vendor/log 0771 root system |     mkdir /data/vendor/log 0771 root system | ||||||
|  | @ -104,9 +99,6 @@ on boot | ||||||
| 	chmod 755 /sys/kernel/debug | 	chmod 755 /sys/kernel/debug | ||||||
|     chown system system /sys/kernel/debug |     chown system system /sys/kernel/debug | ||||||
| #   setprop ro.radio.noril yes | #   setprop ro.radio.noril yes | ||||||
| 
 |  | ||||||
|     # Reset mDNIe scenario |  | ||||||
|     write /sys/class/mdnie/mdnie/scenario 0 |  | ||||||
| 	 | 	 | ||||||
| 	# Set permissions for ttysac2 | 	# Set permissions for ttysac2 | ||||||
| 	chown system system /dev/ttySAC2 | 	chown system system /dev/ttySAC2 | ||||||
|  | @ -827,8 +819,6 @@ on fs | ||||||
|     chown system system /sys/class/mdnie/mdnie/whiteRGB |     chown system system /sys/class/mdnie/mdnie/whiteRGB | ||||||
|     chown system system /sys/class/mdnie/mdnie/light_notification |     chown system system /sys/class/mdnie/mdnie/light_notification | ||||||
|     chown system system /sys/class/mdnie/mdnie/color_lens |     chown system system /sys/class/mdnie/mdnie/color_lens | ||||||
|     chmod 0660 /sys/class/mdnie/mdnie/lux |  | ||||||
|     chown system system /sys/class/mdnie/mdnie/lux |  | ||||||
| 
 | 
 | ||||||
| # Copy DRM Key | # Copy DRM Key | ||||||
|     copy /system/app/wv.keys /factory/wv.keys |     copy /system/app/wv.keys /factory/wv.keys | ||||||
|  | @ -930,44 +920,67 @@ on fs | ||||||
|     chmod 0660 /dev/radio0 |     chmod 0660 /dev/radio0 | ||||||
|     chown bluetooth bluetooth /sys/devices/bluetooth/lna_en |     chown bluetooth bluetooth /sys/devices/bluetooth/lna_en | ||||||
| 
 | 
 | ||||||
|  | # ARGOSD network_throughput | ||||||
|  |     chown system system /dev/network_throughput | ||||||
|  | 
 | ||||||
|  | # ARGOSD | ||||||
|  | service argos-daemon /vendor/bin/argosd | ||||||
|  |     class main | ||||||
|  |     user system | ||||||
|  |     group system radio | ||||||
|  | 
 | ||||||
| # LPM | # LPM | ||||||
| service lpm /vendor/bin/lpm |  | ||||||
|     class sec-charger |  | ||||||
|     critical |  | ||||||
| 
 |  | ||||||
| on property:ro.bootmode=charger |  | ||||||
|    mount ext4 /dev/block/platform/13540000.dwmmc0/by-name/SYSTEM /system wait ro |  | ||||||
| 
 |  | ||||||
| on property:ro.bootmode=charger | on property:ro.bootmode=charger | ||||||
|     wait /dev/block/platform/13540000.dwmmc0/by-name/EFS |     wait /dev/block/platform/13540000.dwmmc0/by-name/EFS | ||||||
|     mount ext4 /dev/block/platform/13540000.dwmmc0/by-name/EFS /efs nosuid nodev noatime noauto_da_alloc,discard,journal_async_commit |     mount ext4 /dev/block/platform/13540000.dwmmc0/by-name/EFS /efs nosuid nodev noatime noauto_da_alloc,discard,journal_async_commit | ||||||
|  |     mkdir /efs/lpm 0775 system system | ||||||
|  |     class_start sec-charger | ||||||
| 
 | 
 | ||||||
| on property:ro.bootmode=charger | # MobiCore startup | ||||||
|    mkdir /efs/lpm 0775 system system | #service mobicore /system/bin/mcDriverDaemon -r /system/app/020a0000000000000000000000000000.drbin -r /system/app/mcRegistry/FFFFFFFFD00000000000000000000016.tlbin | ||||||
|    class_start sec-charger | #    user drmrpc | ||||||
|  | #    group drmrpc | ||||||
|  | #    class core | ||||||
| 
 | 
 | ||||||
| # Bluetooth | # RPMB daemon | ||||||
| on property:wc_transport.start_hci=true | service rpmbd /system/bin/rpmbd | ||||||
|     start start_hci_filter |      user root | ||||||
| 
 |      group drmrpc | ||||||
| on property:wc_transport.start_hci=false |      class main | ||||||
|     stop start_hci_filter |  | ||||||
| 
 |  | ||||||
| service start_hci_filter /vendor/bin/wcnss_filter |  | ||||||
|     class late_start |  | ||||||
|     user bluetooth |  | ||||||
|     group bluetooth |  | ||||||
|     disabled |  | ||||||
| 
 | 
 | ||||||
| on property:sys.mobicoredaemon.enable=true | on property:sys.mobicoredaemon.enable=true | ||||||
|     start cs_service |     start cs_service | ||||||
|     write /proc/iccc_ready 1 |     write /proc/iccc_ready 1 | ||||||
| 
 | 
 | ||||||
| on property:ro.multisim.simslotcount=1 | # Modem boot daemon | ||||||
|     setprop persist.radio.multisim.config ss | #    service cpboot-daemon /system/bin/cbd -d | ||||||
|  | #    class main | ||||||
|  | #    user root | ||||||
|  | #    group radio cache inet misc audio sdcard_rw log | ||||||
| 
 | 
 | ||||||
| on property:ro.multisim.simslotcount=2 | # DM daemon | ||||||
|     setprop persist.radio.multisim.config dsds | #    service DM-daemon /system/bin/dmd | ||||||
|  | #    class main | ||||||
|  | #    user root | ||||||
|  | #    group system | ||||||
|  | 
 | ||||||
|  | # FINGERPRINT FRAMEWORK : starts fingerprintd | ||||||
|  | service fingerprintd /system/bin/fingerprintd | ||||||
|  |     class late_start | ||||||
|  |     user system | ||||||
|  |     group system | ||||||
|  | 
 | ||||||
|  | # SCE daemon | ||||||
|  | #    service SCE-daemon /system/bin/sced | ||||||
|  | #    class main | ||||||
|  | #    user root | ||||||
|  | #    group system | ||||||
|  | 
 | ||||||
|  | # diag daemon | ||||||
|  | #    service DM-daemon /system/bin/diagexe | ||||||
|  | #    class main | ||||||
|  | #    user root | ||||||
|  | #    group system | ||||||
| 
 | 
 | ||||||
| service fuse_sdcard /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard /storage/sdcard | service fuse_sdcard /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard /storage/sdcard | ||||||
|     class late_start |     class late_start | ||||||
|  | @ -976,6 +989,13 @@ service fuse_usb1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usb1 /stor | ||||||
|     class late_start |     class late_start | ||||||
|     disabled |     disabled | ||||||
| 
 | 
 | ||||||
|  | # IPSec for VOLTE | ||||||
|  | service ipsec-daemon /system/bin/IPSecService | ||||||
|  |     class main | ||||||
|  |     socket ipsec_socket stream 660 system net_admin | ||||||
|  |     user system | ||||||
|  |     group system net_raw inet net_admin | ||||||
|  | 
 | ||||||
| # Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin | # Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin | ||||||
| service watchdogd /system/bin/watchdogd 10 20 | service watchdogd /system/bin/watchdogd 10 20 | ||||||
|     class core |     class core | ||||||
|  | @ -994,15 +1014,22 @@ service swapon /vendor/bin/sswap -s -f 1536 | ||||||
|     seclabel u:r:sswap:s0 |     seclabel u:r:sswap:s0 | ||||||
|     oneshot |     oneshot | ||||||
| 
 | 
 | ||||||
| on property:init.svc.bootanim=stopped | # sem_daemon | ||||||
| # set property for touchkey light voltage table | service sem_daemon /system/bin/sem_daemon | ||||||
|     chown system system /efs/FactoryApp/tkey_light_version |     class core | ||||||
|     chown system system /efs/FactoryApp/tkey_light_crc |     user system | ||||||
|  |     group system nfc | ||||||
|  |     disabled | ||||||
| 
 | 
 | ||||||
| # GPS | on property:sys.boot_completed=1 | ||||||
| service gpsd /vendor/bin/hw/gpsd -c /vendor/etc/gnss/gps.cfg |     setprop security.semdaemonfinish 0 | ||||||
|     class main |     start sem_daemon | ||||||
|     user gps | 
 | ||||||
|     group system inet net_raw wakelock | on property:security.semdaemonfinish=1 | ||||||
|     ioprio be 0 |     stop sem_daemon | ||||||
|     seclabel u:r:gpsd:s0 | 
 | ||||||
|  | on property:ro.multisim.simslotcount=1 | ||||||
|  |     setprop persist.radio.multisim.config ss | ||||||
|  | 
 | ||||||
|  | on property:ro.multisim.simslotcount=2 | ||||||
|  |     setprop persist.radio.multisim.config dsds | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alejandro
						Alejandro