summaryrefslogtreecommitdiff
path: root/init.angler.rc
AgeCommit message (Collapse)Author
2017-11-30wifi_supplicant: deprecate entropy.binJeff Vander Stoep
Wpa_supplicant's random pool is not necessary on Android. Randomness is already provided by the entropymixer service which ensures sufficient entropy is maintained across reboots. Commit b410eb1913 'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with that entropy before either wpa_supplicant or hostapd are run. Bug: 34980020 Test: Use wifi and wifi tethering on Taimen Change-Id: Ia0a8912d99274437ccdf255b9f6180963c3c8915
2017-11-21Move mkdir /data/nfc/... to rootdir init.rcTom Cherry
These are directories used by the system so they should be created by the system. Test: treehugger Change-Id: Ia725e162a67fece86e0b73329ec54c1afe215a98
2017-10-25Remove Foreground Boost CPUSetJake Weinstein
This functionality was removed at https://android.googlesource.com/platform/frameworks/base/+/a712d4058f6f85268838
2017-07-28Merge "Fix emergency dialer in Cryptkeeper screen" into oc-dev am: a5c08d4b15Jayachandran Chinnakkannu
am: fc618aeeeb Change-Id: I6bd9408d5cb8eab67f87e131a3cb6fa9a4f6f9a7
2017-07-26Fix emergency dialer in Cryptkeeper screenPaul Lawrence
Bug: 63937386 Test: Boots into CryptKeeper, getprop ril.ecclist returns list of numbers. Change-Id: I77e52ee42c46a29a583846db36f3b535559229dc
2017-07-06add rmt_storage to "shutdown critical"Keun-young Park
- should be kept to write modem data befure shutdown. bug: 37626581 Test: build only Change-Id: I23d127452f680f5cd52430e8d5580d08b66ba009
2017-03-31nfc: sepolicy: creates data/vendor/nfc/ for HAL specific dataRuchi Kandoi
Test: NFC powers up without any denials Bug: 36645109 Change-Id: Ie2fc3b5e900257b40a9ac5e7830315cbe9c7d474 Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
2017-03-30nfc: sepolicy: creates data/vendor/nfc/ for HAL specific dataRuchi Kandoi
Test: NFC powers up without any denials Bug: 36645109 Change-Id: Ie2fc3b5e900257b40a9ac5e7830315cbe9c7d474 Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
2017-03-07angler: Change ownership of wifi firmware reload sysfs paths am: c8f404e530 ↵Roshan Pius
am: 4cafe10f27 am: 9594c943ee Change-Id: I92ae9ef59068adaaaff43812ceed70cbbff0eab0
2017-03-07angler: Change ownership of wifi firmware reload sysfs pathsRoshan Pius
am: c8f404e530 Change-Id: Iba2fc6db9b0c86d23e15d6dd8bee05e4752d42b8
2017-03-01angler: Change ownership of wifi firmware reload sysfs pathsRoshan Pius
This will let the wifi hal run as "wifi" user and not need root permissions to access this path for firmware reloads. Bug: 33435250 Test: Compiles and device boots up. Change-Id: If39ebee5cb26d4545595f2669181fda21f47f315
2017-02-23angler: Move wpa_supplicant to vendor partitionRoshan Pius
Bug: 35684372 Test: Compiles Change-Id: I1bf1355c22f5fc4f6a68032f3b30cced91d0bfed
2017-01-17angler: switch to using fingerprint HIDL interfaceJim Miller
Test: enroll, unlock, navigation. Boot with no errors related to fingerprint Bug: 33199080 Change-Id: Ie07a26c648d991232d94b43498592db8dc17d275
2017-01-04Enable qcril db in anglerSooraj Sasindran
am: c2c7bbca00 Change-Id: I17058a80f810bc3397788434953472f3032dbf6c
2017-01-03Enable qcril db in anglerSooraj Sasindran
Enable pre built qcril db on angler This db will contain the custom emergency numbers [ 72.739594] init: Service radio-sh does not have a SELinux domain defined. [ 10.766726] type=1400 audit(31933229.150:6): avc: denied { search } for pid=563 comm="init.radio.sh" name="radio" dev="dm-1" ino=4079624 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=dir permissive=0 [ 72.950256] type=1400 audit(31933766.836:6): avc: denied { write } for pid=597 comm="cp" name="radio" dev="dm-1" ino=4079624 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=dir permissive=0 [ 71.945441] type=1400 audit(31934841.890:6): avc: denied { getattr } for pid=584 comm="init.radio.sh" path="/system/bin/sh" dev="dm-0" ino=489 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=0 [ 11.330693] type=1400 audit(31935225.246:7): avc: denied { getattr } for pid=558 comm="init.radio.sh" path="/system/bin/toybox" dev="dm-0" ino=521 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=file permissive=0 [ 73.562786] type=1400 audit(31935678.370:6): avc: denied { create } for pid=591 comm="cp" name="qcril.db" scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=file permissive=0 [ 73.594002] type=1400 audit(31935678.393:7): avc: denied { write } for pid=575 comm="init.radio.sh" name="db_check_done" dev="dm-1" ino=4079657 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=file permissive=0 Test: verified that updated numbers are available after image update BUG=31815511 Change-Id: I81169c2da46d9b2b4481d39a5672421a603db406
2016-12-15resolve merge conflicts of 094e97e to masterRoshan Pius
Change-Id: Idfe73800294aa7ec5a2a462983a97e6ca990e57a
2016-12-12angler: Change ownership of wifi firmware reload sysfs pathsRoshan Pius
This will let the wifi hal run as "wifi" user and not need root permissions to access this path for firmware reloads. Bug: 33435250 Test: Compiles and device boots up. Change-Id: If39ebee5cb26d4545595f2669181fda21f47f315
2016-11-29Merge "Enable qcril db in angler"Sooraj Sasindran
2016-11-28Enable qcril db in anglerSooraj Sasindran
Enable pre built qcril db on angler This db will contain the custom emergency numbers [ 72.739594] init: Service radio-sh does not have a SELinux domain defined. [ 10.766726] type=1400 audit(31933229.150:6): avc: denied { search } for pid=563 comm="init.radio.sh" name="radio" dev="dm-1" ino=4079624 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=dir permissive=0 [ 72.950256] type=1400 audit(31933766.836:6): avc: denied { write } for pid=597 comm="cp" name="radio" dev="dm-1" ino=4079624 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=dir permissive=0 [ 71.945441] type=1400 audit(31934841.890:6): avc: denied { getattr } for pid=584 comm="init.radio.sh" path="/system/bin/sh" dev="dm-0" ino=489 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=0 [ 11.330693] type=1400 audit(31935225.246:7): avc: denied { getattr } for pid=558 comm="init.radio.sh" path="/system/bin/toybox" dev="dm-0" ino=521 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=file permissive=0 [ 73.562786] type=1400 audit(31935678.370:6): avc: denied { create } for pid=591 comm="cp" name="qcril.db" scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=file permissive=0 [ 73.594002] type=1400 audit(31935678.393:7): avc: denied { write } for pid=575 comm="init.radio.sh" name="db_check_done" dev="dm-1" ino=4079657 scontext=u:r:init-radio-sh:s0 tcontext=u:object_r:radio_data_file:s0 tclass=file permissive=0 Test: verified that updated numbers are available after image update BUG=31815511 Change-Id: I81169c2da46d9b2b4481d39a5672421a603db406
2016-11-19angler: Accelerate boot by paralleling device enableWei Wang
Some QCOM devices require sysfs to trigger boot/init which are blocking the init process. [ 7.453205] init: Command 'write /sys/kernel/boot_adsp/boot 1' action=post-fs-data (/init.angler.rc:166) returned 0 took 271.936ms. This CL is to put those slow to start devices in a separate service and wait for the service to be done later on. Bug: 32712851 Test: On device Change-Id: I675702a05b1e6b0b5e9b908a9b638a074fe92018
2016-11-11angler: fs tune for boot time optimizationWei Wang
Before: StartPackageManagerService : 4843.2 373.56 StartServices : 8416.5 458.12 BootAnimEnd : 34.859 1.7238 After: StartPackageManagerService : 3735.8 219.79 StartServices : 6981.0 701.06 BootAnimEnd : 29.083 1.5274 Bug: 32627741 Test: manual Change-Id: Iea530e4c2338964075702391c572d1a363f59d91
2016-11-01angler: use /charger symlink to launch healthdSandeep Patil
Makes this consistent with other targets and maken sure any changes in healthd will be transparent to targets as long as the symlink is maintained. Update the seclabel accordingly too. Test: Tested charge-only mode on angler Change-Id: Ic71e32f52c39bc45eae8d2552259695934592fc7 Signed-off-by: Sandeep Patil <sspatil@google.com>
2016-09-20Remove net_bt_stack group and replace it with bluetoothAjay Panicker
Bug: 31549206 Change-Id: I0de2cb905695b3f2f85bb9f98364726d4182ed7d
2016-08-26Do not define superfluous wpa_supplicant serviceChristopher Wiley
Bug: 30816535 Change-Id: Ib894268fb2ea044c37bd3eaa44d7289e24d75702 (cherry picked from commit d19c39841c33cb7cf14b3e5a3d3e3c167c97ad35)
2016-06-09Tune the multi-context inflight parameter when in VR modeAdam Gousetis
Bug: 26541117 Change-Id: I0ac4c0e082ce0622bfe156147042219c5ed9e7d3
2016-05-12thermal engine: Adds a knob to throttle gpu bus speed.Ruchi Kandoi
When temperature reaches 48C, the bus min_freq will be reset to 0. This is required when the device is in VR mode, because the minimum speed for the bus is set to 7904. SELinux denials: type=1400 audit(1463009603.752:6): avc: denied { dac_override } for pid=632 comm="thermal-engine" capability=1 scontext=u:r:thermald:s0 tcontext=u:r:thermald:s0 tclass=capability permissive=0 type=1400 audit(1463018209.049:9): avc: denied { write } for pid=631 comm="thermal-engine" name="min_freq" dev="sysfs" ino=21397 scontext=u:r:thermald:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 Bug: 28540263 Change-Id: I42de827a701de9b1f6167474359ec968e7819978 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-04-25Merge "Restrict system services to system background cpuset." into nyc-devMartijn Coenen
2016-04-18Add cpuset for camera daemon, allow it to use CPUs 0-3 on Angler.Philip Cuadra
While taking a video, EIS needs more cpu horsepower. Allow the camera daemon to run on CPU 3. Camera daemon is only doing heavy work while camera is on, so it can be a static assignment. Bug 28238783 Bug 27899291 Change-Id: I4017d25d74aa1654e01f0cda6e03fb47bdb7ab1c
2016-04-15Restrict system services to system background cpuset.Martijn Coenen
Bug: 24949295 Change-Id: Ibb62bc68f28aaf3366ff136639d18a0e4e09e214
2016-04-12Delete /mnt/sdcard symlinkNick Kralevich
Bug: 28108983 Change-Id: Iab933217810fa92687e79992acdf023acdb6ad88
2016-04-06Restore default readahead window on dm-verity deviceJin Qian
Bug: 27849539 Change-Id: I3271ac0fb45ac823cd00be7af5853487ce0a1b8f
2016-04-01move to noop io scheduler and rq_affinity = 0Tim Murray
bug 27381069 Change-Id: Ibcb5ff8b82b1584478025c8ddf658192ba73f19d
2016-03-31angler: fix cnd locationPatrick Tjin
cnd was moved from /system/bin to /vendor/bin, the init file needs to be updated. Bug: 27918042 Change-Id: Ia479d7970e9553d60062a4335131673b61e587b1
2016-03-29Merge "angler: Fix build for AOSP" into nyc-devPat Tjin
2016-03-24angler: Fix build for AOSPPatrick Tjin
1) Change paths for some binaries to /vendor/bin 2) Move some configuration files to /vendor/etc 3) Update selinux policy to reflect path changes Bug: 26922603 Bug: 24946027 Change-Id: I5c864219f3d940eaff3db30cb720c81bd839534f Signed-off-by: Patrick Tjin <pattjin@google.com>
2016-03-22power: Adds the implementation for sustained performance mode and VRRuchi Kandoi
mode. Implementation for sustained performance Mode is as follows: - Hot plug out big cores - Lower the CPU max frequency for little cores - Lower the GPU max frequency Implementation for VR mode is as as follows: - Hot plug out big cores - Set minimum CPU clocks - Set minimum GPU clocks - Set minimum bus speed Change-Id: I31c1125f53f604fdd6e5cd28374afd6995c68e47 Signed-off-by: Ruchi Kandoi <kandoiruchi@gmail.com>
2016-02-25Delete dhcpcd init entries, since dhcpcd is no more.Lorenzo Colitti
Bug: 27192644 Change-Id: Ie68d350bedb1622deb094df3fce26a821e69d097
2016-02-16Add VR HAL implementation.Ruben Brunk
- Adjust the in-flight ringbuffer number for the GPU. - Add selinux context for this. Bug: 22855417 Bug: 27073591 Change-Id: I29b7a87fcf3a20f54b3b4815ad7c14ffbf96ae3c
2016-02-07Follow FBE refactoring.Jeff Sharkey
Bug: 26668510 Change-Id: Ie87b8efbaefaf85aac2196fa7a93413ef26601e1
2016-01-25Add support for top-app cpuset.Tim Murray
Reserves core 3 for the top app. Change-Id: I835623c2e803eb73897e665f116552ab30e5cb5f
2016-01-05Make FBE work on AnglerPaul Lawrence
This is an Angler port of https://googleplex-android-review.git.corp.google.com/#/c/787727 Change-Id: I297c2e63e304943e3faa6f4f99cbce224e675b95
2015-12-28Use GID "wakelock" to control access to kernel wakelockPavlin Radoslavov
Bug: 25864142 Change-Id: Ief59e26ce63b341115d42d0145a43a845b1645da
2015-11-16Added option (-z) to generate a zipfile with the bugreport.Felipe Leme
BUG: 22489826 Change-Id: I32df5d938500c363281440665aed1c406acf6c4b
2015-10-26Merge "Angler: move laser binary to vendor partition" into mnc-dr-devYin-Chia Yeh
2015-10-23Angler: move laser binary to vendor partitionYin-Chia Yeh
Bug: 25109088 Change-Id: Ibbb513da4930ab2d0e71ad7fa3533d6b3c07b196
2015-10-21add system group to netmgrd processAbhinav Kannan
To allow netmgrd to acquire wakelocks correctly we need to ensure that it belongs to system group Bug: 24546055 Change-Id: I00b9effa7351f1cd8ef9fc062de12b5276254801
2015-10-09Angler: move camera daemon to vendor partitionYin-Chia Yeh
Bug: 24570601 Change-Id: I852330e6344730cbd79b3f141c08e708f0dcdcbc
2015-10-05Enable touch boost during camera.Tim Murray
Previously, the video encode hint would hotplug the big cores off while the camera was running in order to improve thermals and power consumption. Instead, have the camera run the big cores at 384MHz so we can still apply POWER_HINT_INTERACTION. This also restricts mm-qcamera-daemon to the small cluster in order to prevent it from being boosted by touch boost. bug 24583227 Change-Id: Ifb32729f4bc47bf71ea868d22589fa37b40a3007
2015-10-01Move qseecomd to vendor so AOSP runsPaul Lawrence
Bug: 24341811 Change-Id: I3621df3fe3f1021952c89da127687d9ff351b8d2
2015-09-22init.angler.rc: remove rtp daemon service start.zhihui wu
This daemon is needed only for VT. Bug:23793548 Change-Id: Id8c3cbd27668840c8552fc40026478a6b366b103