aboutsummaryrefslogtreecommitdiff
path: root/rootdir/init.qcom.rc
AgeCommit message (Collapse)Author
2019-10-25shinano: add missing socket flag to wpa_supplicantMax Weffers
This fixes WiFi Display on Z3 and Z3C. Change-Id: I9d6c3fe215d0c9de6b1fa38b68d0cf6cc5a2229b
2019-10-25shinano: Set res_info graphics node ownershipOle Birketvedt
* Fixes MHL Change-Id: Ie97ec60eda7024cf859d98c0ed71f3e762c57975
2019-10-25shinano-common: rootdir: Add system and graphics group to chargerArian
2019-10-25shinano-common: Use wpa_supplicant for p2pCraig Tatlor
Change-Id: I61cebaf778545f0953b96b14b50874d61e062b97
2019-10-07audio: audiod is deprecated removemcgi5sr2
* remove the audiod from qcom.rc init file Change-Id: I770b757eaa4c6688a30dafbaa9055a78371da0ae
2019-10-07shinano-common: init: Remove deprecated loc_servicenailyk
Change-Id: I5504c2b631e6826454e174662146dc03632b8d87 Signed-off-by: nailyk <nailyk_git@nailyk.fr>
2019-10-07shinano: Move shell scripts to system/vendor.Alexander Diewald
* Scripts use the /system/vendor/bin/sh shebang now. * Move shell scripts from system/etc to vendor/system/bin. * Adjust init files. Change-Id: Ib0b9eb59305425b415e2681e7943f9ebfa6480d4 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com> Signed-off-by: Arian <arian.kulmer@web.de>
2019-10-07shinano: init: Change gpsone locationnailyk
* E/failed to change mode for /data/misc/location/gpsone_d/gpsone_loc_api_q, error = No such file or directory Change-Id: Ib324233c35bcefbb139fd1613f773b290a97b10b Signed-off-by: nailyk <nailyk_git@nailyk.fr>
2019-10-07shinano: sepolicy: seclabel the netmgrd service.Alexander Diewald
Change-Id: Idea087c18e632e9d6a43ddb4b8275a9b1510d224 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
2019-10-07shinano: fix led light permissionsMax Weffers
Change-Id: Iab7abd2d5e43ce4cd855f8612cb7b2ebbe6b762a
2019-10-07shinano: init: Adjust vendor service path.Alexander Diewald
* In order to be compliant with the proprietary file locations, adjust the path to the binaries in the init files. The blob binaries have been moved from "/system/bin" to "/system/vendor/bin" * The idea behind the move is to profit from qcom's sepolicy file labelling. Change-Id: I78b96730638258ffd54640f7951ceebc7f503fc4 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
2019-10-07shinano: Define SEpolicy for adsprpcd.Alexander Diewald
* Define the ioctls and grant access to the socket. * Allow access to qseecom socket. * Label adsprpcd service appropriately. Change-Id: I4a0ccd322b16c30e7f10dccc1278ed17507d56e2 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
2019-10-07shinano: Fix the loc_launcher path in init.Alexander Diewald
Change-Id: I7a4e366f1e06a569035b1ab3fc2acb7c91057a4f Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
2019-10-07shinano-common: init: Get rid of oem usersnailyk-fr
* Camera can work without sony specific users. Remove them. Change-Id: Idb359fa33532c1fa2b8f042362bb027f76ec31e4
2019-10-07shinano-common: init: Rework users for mediaservernailyk-fr
Change-Id: Ie2ed042cfc5e97a71e0485fc048580b9f04cf694
2019-10-07shianno-common: usb: rootdir: Enable FunctionFSLuK1337
Change-Id: I12ff6e794e6993940284e6dfb48b718c40fdd3b1
2019-10-07shinano: Add Timekeep.Alexander Diewald
Adds the init lines required to launch timekeep. They will be moved to msm8974-common in future along with other qcom/msm8974-specific init statements. Change-Id: If21402553dbeaf77e40885dae58e9f376fe85798 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
2019-10-07shinano-common: init: Use obscur oreo UID/GIDnailyk-fr
* With oreo all the AIDs process change. According to https://source.android.com/devices/tech/config/filesystem#using-an-oem-specific-aid user firendly names cannot be used anymore. Use oem_<uid> name instead. See msm8974-common related change for reference. Change-Id: I18294c5ba716a6c2ba038b9f624f5ae65f799e1f
2019-10-07shinano: rootdir: init: set wifi user for bcmdhd firmware pathMax Weffers
Change-Id: I4382b2e151cfa98a75a4be60c71d19a01145dc79
2019-10-07shinano-common: init: Add 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: I6231c7d1eb57a12da9be4f081e085e6f1d43b797
2019-10-07shinano-common: Replace QCOM group identifiers with oem_XXXXintervigilium
* config.fs doesn't give the ability to add AIDs to Android init such that they can can actually be used in init scripts. * Replace instances of qcom_diag, rfs, rfs_shared with the appropriate IDs (2950, 3012, 3013) Change-Id: Ided896c4ee051a9bc19fd61ae6e03624f2d54cf3
2019-10-07shinano-common: rootdir: replace net_bt_admin and net_bt_stack group with ↵Arian
bluetooth group
2019-10-07shinano: init: rename charger service pathMax Weffers
Change-Id: Ie7c0ecaf48622c8d0bd47591d819e608c7d40fb8
2019-10-07shinano: move wpa supplicant paths to vendor/bin/hwtomascus
Change-Id: Iab1ab0ba085d3eb59f50d97079531ab77bf58ad2
2019-10-07sony-common: update debugfs mount as AOSPDavid
https://android.googlesource.com/platform/system/core/+/android-6.0.1_r68/rootdir/init.rc#21 why this .... Debugfs exists as a simple way for kernel developers to make information available to user space also it is not enabled in android-6.0.1_r66 tag and not more in N but for development purposes it is needed here ..... Change-Id: Ic332aeb073edd09b38de756e89b2d98582bc5c79 Signed-off-by: David Viteri <davidteri91@gmail.com> Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
2017-09-27Grant netmgrd proper unix permsJeff Vander Stoep
Do not grant DAC override permission which would allow this daemon unix permissions to everything. avc: denied { dac_override } for capability=1 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability Adding wifi group to access /data/misc/net/rt_tables -rw-r--r-- 1 system wifi 130 2016-05-11 09:58 rt_tables wakelock group to access: /sys/power/wake_lock -rw-rw---- 1 radio wakelock 4096 1970-01-19 15:03 wake_lock radio/inet groups to access /dev/socket/netmgr/netmgr_connect_socket srw-rw---- 1 radio inet 0 1970-01-19 15:03 netmgr_connect_socket Change-Id: I7ed6a98dd85bf7efa8cab0b8a0851217f030ba8b
2017-08-05shinano-common: init: Use late_start for rild2nailyk-fr
* When encrypted the rild2 daemon is started at early stage and data are not yet decrypted. Change class to late_start to ensure data avaiablity before starting rild2 Change-Id: Ia1d5cd26032e19c1cb66f05c0a6897a363132184
2017-07-19shinano-common: remove IMS based servicesSteven Lay
* Not sure if this worked anyway Change-Id: Ie2910210229c7ba2c2d7d28cb5c1dcba7ad0cff5
2017-07-19shinano: Move idd to proprietary sony rcKeita Espinoza
Change-Id: I63c28db08b4a21c071a93e1b459071d253560f92
2017-07-07shinano-common: revert CPUQuiet infrastructureSteven Lay
As we are returning to MPDecision. * Restore MPDecision service * Remove CPUQuiet related ueventd rules * Remove RQBalance configuration file * Interactive CPUFreq settings based on Bacon Change-Id: If6cf04841083be2f3ded50c4f20d600f0c74d339
2017-07-01shinano: Rename init.device-commonxkeita
Rename it to reflect that the init is platform specific (i.e: shinano, rhine, etc). Change-Id: Ic12bedb317ebce2757c307a4de3dbc8f693f5a31
2017-07-01shinano: init: Remove duplicated entriesxkeita
These are already defined by init.rc Change-Id: I31d57f8b1e2a028fd25c4190d57dc6ccad7f643f
2017-06-30shinano-common: Add Hexagon DSP servicexkeita
- Values taken from stock .291 kernel Change-Id: Ia51d9ea493518b7a917e39992720ae9df18cefaa
2017-06-29shinano-common: remove scdnotifier_nitz serviceSteven Lay
Seems obsolete now, time syncing works fine without it. Change-Id: I76b4e44d05c66b059497a17e1776e2255bb00549
2017-06-28shinano: Make TFA9890 service shinano specificxkeita
Change-Id: I89f1d1e6c3eab501b74c273d1d7ebdca3188c063
2017-06-28shinano: Add wlan0 interface propxkeita
Change-Id: I90345c3235a3feaf64148ff05f67648515ca9f34
2017-06-25shinano: init: Set correct time-daemon groupxkeita
- Reference from .291 kernel Change-Id: Icaed3621992238c5815bdb8ca9ca0861104aa5f2
2017-06-25shinano: init: Commonize init.device.rcxkeita
- Add common init.device.rc for shinano devices. Change-Id: I9793279a529551106cf31dc1c39844fa9274bb5b
2017-06-25shinano: init: Update bluetooth initxkeita
- Based on stock .291 kernel - Removed proto entries (they aren't used with IOCTL wake controller) - bluetooth timeout ms is no longer used by libbt Change-Id: Iddafa7217ea84238cdbe218c24ecf2f85cac615c
2017-06-24shinano: init: Remove deprecated init entriesxkeita
- We don't use chargemon anymore (now it's healthd) remove unused/deprecated entries. - Remove debug_mask (doesn't exists here) Change-Id: Ic61ec552504691a725e5a3ac89bbbf730a703474
2017-06-23shinano-common: Add ril-daemon2 service for dsds modelsxkeita
Change-Id: I4d6263e6f475c79c68d6d5c7c7903d28822e37f0
2017-06-17shinano: Remove CNE propsxkeita
Change-Id: I5c0a524da2c3149025f3a931e953350ea723eeb3
2017-06-14shinano-common: move iosched setting to init.qcom.powertomascus
It feels more right to place it together with CPU freq settings Also, it's like this on almost every other device Change-Id: I2b70392acd43a30f776b17fee3b20153ff268d6a
2017-05-10shinano-common: init: Rework permissionsnailyk-fr
* Some services where start with incorrect rights. * Create tee /data folder * Keystore and qseecomd are needed for encryption/decryption and shouldnot be restarted at framework changes. Change-Id: If1c7c0ba3602dccb8cb65dbe9193221438785c0a
2017-04-27shinano-common: init: Reorder services startupnailyk-fr
* Some services where started too early and caused unexpected behaviors. Encrypt the device broke ril, sometimes initcredmgrd start after other criticals services. Moves those services to late_start class. * Remove uneeded class on disabled services. Change-Id: I5a0b7175ee3c73b62ed79adf0c35d0ea8c4f0844
2017-04-21shinano-common: init: Remove duplicate bugreportnailyk-fr
Change-Id: I541e952928cb591eaf1996f3f97ea78ba8b2a156
2017-04-21Merge "shinano-common: init: Remove unused mpdecision" into cm-14.1Max Weffers
2017-04-17Delete /mnt/sdcard symlinkNick Kralevich
Bug: 28108983 Change-Id: Iab933217810fa92687e79992acdf023acdb6ad88
2017-04-17Delete dhcpcd init entries, since dhcpcd is no more.Lorenzo Colitti
Bug: 27192644 Change-Id: I3a682a96bb14977678159c5bd6ee361b92763905
2017-04-14shinano-common: init: Remove unused mpdecisionnailyk-fr
Change-Id: I18e303a17c42657c522229889a8ac541e1eddc05
2017-04-12shinano-common: clean up init scriptstunturn
Change-Id: Ide69b8924d76154e6a7bfeb7c4b86d58568f2b5b
2017-03-27shinano-common: init: Cosmetic changesnailyk-fr
Change-Id: If8a4ced15808aabbbae91f924cd3144a62354491
2017-03-27Build and use macaddrsetupChirayu Desai
Change-Id: I6f81296829673f66bcb27f444945b9bddd54929c This fixes random mac adress at boot
2017-03-14shinano-common: cleanup rootdir ramdisk scriptstunturn
* also clean bluetooth stuff Change-Id: Ib76be395aa584553c758c23063e233b54e41a856
2017-03-14shinano-common: set ROW as iosched at bootcompletetunturn
Change-Id: I993e632eb158af22240878c1363100e5701ad5fe
2017-03-14shinano-common: set BFQ as iosched after bootcompletetunturn
Change-Id: Ib1b7c45e13cc23006a40ac56f2790deb38adbde3
2017-03-14shinano-common: move rmt_storage service back to init.qcom.rctunturn
Change-Id: I6fbc6fd3d89ab797e4e781af98baba3dc889d8ed
2017-03-14Use GID "wakelock" to control access to kernel wakelockPavlin Radoslavov
Bug: 25864142 Change-Id: I97628282a23cb7fe0936c69f3a67a81c2afed60c
2017-03-14shinano-common: add loc_launcher service for GPStunturn
Change-Id: I5d8008f0fcb4455c77fb1df4b21e56abb7819ce7
2017-03-14shinano-common: return sensors.qcom class to coretunturn
Change-Id: I00c14251e0417776d84bc3ad96ac0c397277f26c
2017-03-14shinano-common: changes to bringup broadcom FM Radio/Bluetoothtunturn
Change-Id: I633357fa8a04cf178fdee3e4471d20d5432eb230
2017-03-14shinano-common: rootdir: enable adaptive LMKtunturn
Change-Id: I837aec3285c70fabf4538611f887de6c48b3b6a8
2017-03-14shinano-common: enable ZRAMtunturn
Change-Id: I178efeca573134df78e1227f3db89cfb8ce2779d
2017-03-14shinano-common: rootdir: start mpdecision after bootcompletetunturn
Change-Id: I73aaadae219f9eee682e5cdb9bb64c237c80fd55
2017-03-14init.qcom.rc: add init-qcom-sensors.sh servicetunturn
2017-03-09shinano-common: init: Change perms for RGB ledSteven Lay
Change-Id: I89d99a4c8226c5ffc5194b2123404ed381b6cbb4
2017-03-09shinano-common: Add ril stuffsnailyk-fr
Change-Id: Idc6306fc79c34969fbb84dab87c42d4305169037
2017-03-09shinano-common: init: Remove duplicate rildaemonnailyk-fr
Change-Id: I9cfe1b3b80359ca5f423a51152bfcd3a4d03846a
2017-02-21shinano-common: sepolicies: Add camera related entriesnailyk-fr
Change-Id: Icfc6a998c6c5615351ed59111284858b9f27893c shinano-common: Rework credmgrd sepolicies Change-Id: Id922021b05ed0313b5cd7e506641632277a82105 shinano-common: Fix last camera denials Change-Id: Ibf96ebf0a136ffa40be85369896f57645c24157c
2017-02-21shinano-common: init: Separate camera servicesnailyk-fr
* Use a separated file for camera and camera dependencies Change-Id: Id8cb2242b1dffacf427dffe2dbe63628a5d2462f shinano-common: Correct typo in "Split init.qcom.rc" Change-Id: I4f2ab062af09a49c6091942ff6157838040f65d8
2017-02-21shinano-common: shim: Add MediaBufferGroupnailyk-fr
* Add shim for MediaBufferGroup workaround * Blobs have probably be built before this commit: https://github.com/LineageOS/android_frameworks_av/commit/e9a5b96e7927fd4e38623e17ac73e8e4e25877ee which cause libwvm.so not starting due to missing symbol ZN7android16MediaBufferGroupC1Ev Change-Id: I490a2d599c01cd7d8db937d3a9d6eceffaf6a7e6
2017-02-21shinano-common: Solve camera denialsnailyk-fr
Change-Id: I62e1e9b87e48b0f5d436ef44bb816eedf5328347 shinano-common: Solve camera services denials Change-Id: I36479598ada099da4949d999f7485b69ccd59c19
2017-02-21shinano-common: Adjust idd permsnailyk-fr
Change-Id: If920b5e5265aca89020bd000904d586cd879cc85
2017-02-21shinano-common: init: change permissionsnailyk-fr
Change-Id: I6735847f5f47126605f2dca135fba94263469796
2017-02-21shinano-common: init: Rework for new vendor binariesnailyk-fr
2017-02-21shinano-common: init: Add missing vendor socketsnailyk-fr
Change-Id: Iae03adb6cb3b7f185701f1eba66108c647fe9b2d
2017-02-21shinano-common: init: Change mount pathsnailyk-fr
* Add bootdevice symlink for compatibility * Clean idd mounting * Remove uneeded /rca symlink Change-Id: I4e00fb1c5d5e5d084b4c74ad72e8b2bc4a1900b2
2017-02-21shinano-common: init: Remove tad_static duplicatenailyk-fr
Change-Id: I1fcb1f6bdcc6e4de32dadcf9eb693cd947be81df
2017-02-02add sony users and use themGiulio Cervera
Change-Id: Ieb761d8717a1008742bf412a5fdedf38786d3e97
2017-02-02camera: Add credential manager and friendsShane Francis
* Welcome back, idd. * Happy troling, suntrold Change-Id: Ic447a8e7769903bfb8ec3bf4fdd4f74406671f78
2017-01-30update init scriptGiulio Cervera
* newer qmuxd need root permission for accessing wakelocks * create qmuxd nfc dir to avoid cosmetics error * move subsystems settings early Change-Id: Id0f6756f1a2265a73da5baf43694f2fb0d61889b
2017-01-30init: Update storage configurationChirayu Desai
Change-Id: I21a5505e5a34ce6b83176b5342e412ee4fdc83c0
2017-01-30update low battery shutdown nodeGiulio Cervera
Change-Id: I61a3028c63b71f63458d026e227d4fbaab614f94
2017-01-30clean update and aggregate graphics permissionsGiulio Cervera
Change-Id: I2120fe0a383cea455d0090dd1bac2e6b34133aac
2017-01-30remove unused/older init stuffGiulio Cervera
Change-Id: I56954fc6594a2fd658f8d20ba7a2f99ca723ee74
2017-01-30remove permissions for unknown persist_rw user/groupGiulio Cervera
Change-Id: I414133386234841e21b89d16161aefcac7cb4d40
2017-01-30Set s3d_mode permissionsGiulio Cervera
Change-Id: I3d4d456b8cf09e9a5b98549ce38ad9a874f5e792
2016-01-16Fix and cleanup BT permissionsGiulio Cervera
Change-Id: I3ac9bb7992aff0f3e17114c2f76692b129d900e2
2015-10-06Tweak startupSteve Kondik
* Fix the slow bootup regression. Change-Id: I94fcc9e9f1585ad9f2ea7b6bbc310b7608c7044f
2015-10-06start audiodGiulio Cervera
Change-Id: Ie3bfbfe9152c00ce01a80ba5cfe7ca21fc45d90b
2015-10-07start taimport on late_startGiulio Cervera
Change-Id: I412e1d43c53357c6e2e690c16f8a8b952a7a2dcb
2015-09-14shinano: remove bootsplash hackGiulio Cervera
Change-Id: Id38a5033270bec0efb98edb99ce64b6a34871241
2015-09-14shinano: Use the new power modes configurationGiulio Cervera
Change-Id: I20039b485b2b92c40cdca5d79524a58671b1cea3
2015-09-08shinano: Use fs_mgr to format if unformattedEthan Chen
Change-Id: I5f13c83e0b199c04f7926a7fcda8807eef4d2a03
2015-08-25update permission for thermanagerGiulio Cervera
Change-Id: I932a1e85bd363b333822fed4731a2c791781d1a4
2015-07-03nfc: Set device pathChirayu Desai
* No need to symlink anymore. Change-Id: I070f2ce24846ff4b4e4c7560bd4d9ffb3d7e7db3
2015-06-01start taimport onceGiulio Cervera
and move it early on post-fs-data Change-Id: Id7411aa4073065d70190b8bfd3f37c9155f72a44
2015-06-01init: Stop taimport when bootanimation exitsChirayu Desai
* Should be done by then, not needed afterwards. Change-Id: Ib8d0a489bec9d60b5fa18dbf102e6b239c7236bf
2015-05-14fix cpu.notify_on_migrate pathGiulio Cervera
Change-Id: I005d13584061377e21e1b337304ee7a2e422d769
2015-05-09update storage configGiulio Cervera
* set noemulated for real sdcard * set vold write permission to sd and usb disks Change-Id: I8340c9e4f379b1c89c8a8df6a7b81f30662a609e