* As per the init.qcom.rc service defination has vendor prefix
* This Fixes:
I init : Command 'start rmt_storage' action=boot (/vendor/etc/init/hw/init.target.rc:161) took 0ms and failed: service rmt_storage not found
Signed-off-by: pri0818 <priyanshusinghal0818@gmail.com>
We don't have this file on the device
* init: Command 'rm /data/vendor/perfd/default_values'
action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:303) took 1ms and
failed: unlink() failed: No such file or directory
Signed-off-by: lupesoltec <dev@lupesoltec.com.br>
Fixes:
init: Command 'rm /data/vendor/radio/shmbus' action=post-fs-data
(/vendor/etc/init/hw/init.qcom.rc:278) took 0ms and failed: unlink()
failed: No such file or directory
Signed-off-by: Arturo <rtsanonynousperson@gmail.com>
* Since /persist is just link to /mnt/vendor/persist
* It fixes:
init: Command 'chown root system /persist' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:285) took 0ms and failed: lchown() failed: Read-only file system
init: Command 'chmod 0771 /persist' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:286) took 0ms and failed: fchmodat() failed: Read-only file system
Signed-off-by: Dede Dindin Qudsy <xtrymind@gmail.com>
init: Command 'mkdir /acct/uid' action=early-init (/system/etc/init/hw/init.rc:30) took 1ms and failed: mkdir() failed on /acct/uid: Read-only file system
Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: Master <mhmdeveloperofficial@gmail.com>
Change-Id: I8f4c3ce55fe206786018ffba5e3301c52158a844
QC-time-servicesDaemon:Open File: /data/vendor/time/ats_3
QC-time-servicesDaemon:Unable to open filefor read
QC-time-servicesDaemon:genoff_post_init:Error in accessing storage
Since we no longer run FM2 app as system app, we need to change
permissions on /dev/radio0 to avoid failure reading the node when
the FM2 app is run as a platform app.
Change-Id: I172444c2cd08e0113ce07bc4dd629b7bd7c715bb
* Some users reported bootanimation lags and freezes
after a while. Looking from logs it fails to exit
once boot is completed. Stopping bootanimation
service, as workaround, is preventing this issue.
Signed-off-by: improbir <ghosh_probir@yahoo.com>
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
Eliminate drmdiagapp entries in init scripts. This app was deprecated
hence these entries were causing boot time degradation.
Change-Id: Ia8b14ef200a17b37c393f3e62c7be8849d575c71
- Our device doesn't have sscrpcd, so remove it from init.qcom.rc
fixes:
init: Could not start service 'vendor.sensors' as part of class 'early_hal': Cannot find '/vendor/bin/sscrpcd': No such file or directory
Change-Id: I54e93aaa5e76c168d515d626fb7f4f5e88d30f9f
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.
To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.
I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.
Google removed the HAL interfaces in Pixel thermal HAL service after
QPR1 [1]. As a result, the pixel thermal HAL on Xiaomi sdm845 devices
cannot be started correct at boot. Override it in sdm845-common, and
restore the interface definitions.
[1] be6336211e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.
Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Those commands have moved to init.rc.
Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Ib7acc0fd83adca37e247cd9f3113c1f117e5196e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
* vendor_init isn't allowed to create files under system_data_file
context, leading to early init panic.
Change-Id: Ie344cc4ece2783bb7d372f64c2c23b4d5ea2cda0
It should be true in new versions.
uicc_se_enabled is true by default, but persist property
may remain false after ota
Bug: 149075883
Test: enable uicc_se
Change-Id: I78f8d51cb9ffb92f4eb7dea232920c2b69ce359d
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
- Add fileownership as root:system with 0660
permission for cpu_dma_latency dev node.
- Register audio service to system group to
access cpu_dma_latency node.
Change-Id: Ib832634d74f488ece0879fb05781646b1f4ee7a1
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change ownershiip of /data/vendor/tombstones to system
Change-Id: Ia8583c48c80fc97d68df912f0672ff0cd2cb6510
Signed-off-by: DennySPb <dennyspb@gmail.com>