Age | Commit message (Collapse) | Author |
|
Change-Id: I9f225f027bd8bf36ab6324fb5eddaeb866f4803f
|
|
* Qualcomm suggests 50% of RAM size for devices >2GB
Change-Id: Ie0bfec4e364c9adcaf736c0b0423a4814fddb31a
|
|
This help to save ~50ms in boot time and bootanim shown time
Bug: 62957152
Test: marlin boot and swap look normal after boot
Change-Id: Icabec31aa677bd606ca8735fe9d2acb54e88bd75
|
|
* Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram
Change-Id: Ia73d08904551dfc8d57268fc4da3f9f34d10e277
|
|
* suntrold is a oneshot service and spawns a subprocess which is required
for the rear camera. Since [1] oneshot services' process groups are
killed which prevents suntrold from working correctly.
* To work this issue around create a non-oneshot service, suntrold.sh, which
never exits, so that suntrold can be started from it and it's subprocesses
will not be killed.
[1] https://github.com/aosp-mirror/platform_system_core/commit/d89ed132a0ee1a57046286b83e64a35b71774952
[Idea of this is from LuK1337]
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Id9c4f56648168f0ffe19b2bb31c591750afe6f97
|
|
Change-Id: I4beb505d86c17ca61d13f11153dacaf7dc117f57
|
|
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
|
|
On hard resets the sensors daemon starts before the decryption is
done causing sensors to not work until a soft reset.
Move sensors to class main to avoid this issue.
Change-Id: Ibb123c40ab22a8d9bb956072597bd8f71edd57a2
|
|
This reverts commit a188d6267d2ee4e10ccf7b28e13d85493fbaebec.
Change-Id: Id5f6115f4f8a1f47a23f24f61b3e7a7314735a2b
|
|
Change-Id: If615758376413b16fcc80addd03a9ba5cd388e8a
|
|
* Sensors service is failing after fmwk restart on encrypted
devices.
* Moving it to main make it fail on each fmwk restart because it start
too early and storage is not fully avaiable.
* So place it late_start to ensure encrypted devices are fully working.
Change-Id: Ic2af7967478b3860d7028ea61d55912334bfad13
Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
|
|
* This is unused since we use the stock Audio HAL
Change-Id: I05c9a6119f55f4ba2550a4b336eb6a61350a7f1d
|
|
* Just bind mount gps.conf to gps_debug.conf
We can't directly build gps_debug.conf because it's a common target
and we're not allowed to override targets anymore.
Change-Id: Ia3c96665b50b0fe478e44186d1c65be723acbf5a
|
|
* This config needs to be modified for legacy devices. As
there is no easy way to split it, import it into device
tree and bind mount it instead.
* Head at android-10.0.0_r2
(3ac371484399da6efbd0c835aa461d3326263ab1).
Change-Id: I8d5003d7cd3a471c569844aede4b5ea4c68ae36b
|
|
Change-Id: Ic434c18314838f845bcdca5e029a127db0500070
|
|
Change-Id: I3b5206f44fbe29a90f43e0bdda48b4bd26435fb2
|
|
Change-Id: Ic72c75a4efe964758b29e71bc4263ce1b191493d
|
|
Change-Id: I849c429d6b1fd57d6593f4b9a6152f31477c71a0
|
|
Change-Id: I13e6a6523f1ce6aec0a0ddce491cd90c54635f85
|
|
Change-Id: I5ae7f5db25bd44b64a014cb1cefc40065851ac43
|
|
Recent changes to adbd have enabled nonblocking_ffs by default.
These have seeminly uncovered some bad memory corruption in the
kernel ffs gadget driver on every kernel I've tried so far.
Unfortunately I've not been able to diagnose what is going wrong,
so for now, lets disable the nonblocking_ffs.
We still need to root cause the issue as its a problem even with
the mainline kernel on HiKey, so its likely a generic kernel issue.
Change-Id: I7a0797cc9e8e5f263e533beea23642f768c0f017
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.
Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
|
|
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.
Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
|
|
charger binary is moved to /system/bin. Also the label got changed
to charger. Update it accordingly.
Change-Id: I78574238f9fc5ec028d10ab866676bfc0cd36370
|
|
Newer AOSP deprecates LOCAL_MODULE_TAGS := eng debug.
We now remove that and instead add the package to
PRODUCT_PACKAGES_ENG or PRODUCT_PACKAGES_DEBUG as applicable.
To ensure that we don't miss out on any package during this switch,
we add these explicitly, even though it might have been already
added under PRODUCT_PACKAGES at some other location.
Change-Id: I35bd67c3e7752be5bcd8f8682864062173e92724
|
|
Change-Id: Ia6f2ce370430e7329c5354cb16a84947e99e2542
|
|
Change-Id: Ifb8bb7161a04f17f93922d4df80fc50cb348d72c
|
|
Change-Id: Icdfdac046bc0bfc0ced4a2c1846579322f606153
|
|
Change-Id: I09d42c051f400840db25dcb558dc26e51bff554c
|
|
Disable backlight when blanked out.
Ref: CRACKLING-626
Change-Id: Ifc698c1470b086b0e1f083c3c234f272988d108c
|
|
* Otherwise adb will try to start and crash the device
while offmode charging at a computer.
Change-Id: I4752de69b765c4528cedf0ce58092a882bc584a3
|
|
Change-Id: I95d5f00b45c456f76b2adb3079144e8118b3ce69
|
|
Change-Id: I9db1bd8795e62f5f7cc60ea1f801b903e824d078
|
|
Change-Id: I1b2ac64116c056000bf482a613b0a4904f73b1ae
|
|
Change-Id: I64c9118fed18f250099c1bb9cffc7881c4fd5342
|
|
Change-Id: Ie3fe0d32000e03c56cd6a5998c81ce8cef84af10
|
|
Change-Id: I85db3526042ec91ba51ef82be5a666631a002457
|
|
Solves the following denial.
denied { write } for pid=548 comm="init" name="storage" dev="rootfs" ino=15996 scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
Change-Id: If246f497bd8384f0fee81469d8d29dcb528d4d4e
|
|
* The core SELinux policies for vendor_init are being restricted as to
comply with Treble. Simply adding a local rule to allow creating
folders under rootfs would be enough, but at the same time defining
the extra root folders and making use of AID/fs configuration file
to set perms is more neat and clean.
* Furthermore, with System As Root / is a read-only filesystem
so we can't create our mountpoints from init script anymore
Change-Id: Idabd7ae72e4c4fd9daac5ba3be3e6236f79f251b
|
|
Change-Id: If3761cc54f925ce7646eee95f65b0d0aa8017554
|
|
Change-Id: I5056d8f1d3d33d72abeb0129ddfe3929e18163c2
|
|
This reverts commit 398f6cc16d50754a0d5b6bc1a7235c5766c076b6.
|
|
* Glove mode should be set from the touch HAL
* Move TFA9890 AMP and Double tap to wake to init.qcom.rc
|
|
|
|
This reverts commit 7c6eeb92c503a0da01d48ce3b61fa689e16ba390.
|
|
* Move qcamerasvr to main to it restarts on decryption
* Also trigger a qcamerasvr restart when media or all services restart,
since it needs to be properly restarted with cameraservice
Change-Id: I2361c5658359ed9f2fe937a0bd3329ca9c00e66e
|
|
* Remove entries created by init.rc
* Remove obsolete & unused entries
* Remove useless chmod when proper perms are set by mkdir
Change-Id: Ifb1a2d8c915de13438393e5a0cac7706d7decd7a
|
|
To support end-to-end DRM content playback with SG List feature,
android.hardware.drm@1.0-service needs to have access permission
to /dev/qce to map & unmap ION buffer virtual address with HW Crypto
Engine. So, set /dev/qce device permission 0660 and let it be
accessible by user "system" and group "drmrpc".
Change-Id: If9c0ed70acc2bb063344692374f51441fe84eff6
|
|
Change permissions of AMR-NB device node and change owner
and group of AMR-WB node to fix failure in opening of these
nodes from OMX component.
CRs-Fixed: 2072938
Change-Id: I5508529726ce0a3b763ac1364960def32887c6a2
|
|
rmt_storage should not be automatically killed by Android during
shutdown since it is needed to actually process the peripheral
shutdown
Change-Id: I58a29fe86955f0abad944727bb4208dad89f495d
|
|
* Remove them all.
Change-Id: Iaabd720bbdd0d7120a1ac7c05ecb13e389bf74e4
|
|
|
|
* Match the new changes introduced in O
* Important sidenote: if the kernel doesn't support one of the capabilities,
that's enough for the whole capability set to fail for that particular
service. Previous to adding the full support for these capabilities into
the kernel, the following was printed in the dmesg:
init: init.variant.rc: 5: capability 'BLOCK_SUSPEND' not supported by the kernel
While checking rild's capabilities (`cat /proc/$$/status`, where $$ is the PID),
it could be seen that those were totally messed up:
Name: rild
...
Uid: 1001 1001 1001 1001
Gid: 1001 1001 1001 1001
...
Groups: 1005 1007 2001 2901 3003 3009 3010 9998
...
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: ffffffffffffffff
CapAmb: 0000000000000000
...
After adding CAP_BLOCK_SUSPEND support to the kernel, it changed to:
Name: rild
...
Uid: 1001 1001 1001 1001
Gid: 1001 1001 1001 1001
...
Groups: 1005 1007 2001 2901 3003 3009 3010 9998
...
CapInh: 0000001000003000
CapPrm: 0000001000003000
CapEff: 0000001000003000
CapBnd: fffffff000003000
CapAmb: 0000001000003000
...
In this particular case, messed up capabilities resulted in broken
mobile data.
Change-Id: I8e5888ebeb4bcf26eed85a2c4dca320faad8f7e0
|
|
The /vendor symlink is available as soon as /system
is mounted, just use /vendor.
Change-Id: I2e92ed2abe225f1366cac418b13763bb5617f704
|
|
Change-Id: Iab2699bf26ca4402b835d1af8d4493f9b28595d9
|
|
The reason these files are moved to /vendor/etc/init/hw and
not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder
for vendor service .rc fragments to import. That would either result
in duplicate imports or out-of-order imports of these hardware
specific .rc files and that *may* have unintended consequences.
In order to preserve the current import order for MTP, we move all
hardware specific .rc files to /vendor/etc/init/hw which is not
autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e.
init.qcom.rc in this case) in root for 'init' to find.
Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
|
|
Change-Id: I460888519e447da8ab3800d62d60c5600b902da1
|
|
* Allows mpdecision to work properly on boot to restore selected power profile
Change-Id: Ib92f971f28ed875481170b056ac16aad05aadcfc
Signed-off-by: Arian <arian.kulmer@web.de>
|
|
* revert e80a06f8c2632df3036818685ac2bf9fc06556b2
* don't enable adb from here
|
|
|
|
|
|
|
|
|
|
messages during build:
device/sony/shinano-common/configs/nfcee_access_debug.xml:4: namespace error : Namespace prefix android for signature on signer is not defined
Change-Id: I7f3a1588b9cf05cb6aff11ccc59d14e75cc6e98e
|
|
* Radio blobs taken from SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_legacy.zip
* NFC HAL from 8.1.0
Change-Id: Ic73bc81077cbd53cc1398b91d1a278de7e505988
|
|
|
|
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:
W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)
AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.
https://android.googlesource.com/platform/frameworks/base/+/c78a463e875d91eae2cf256042fd99d130217c38
Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
|
|
Change-Id: I00c5cf1b55c4937e2665c84be2130deb3545423d
|
|
This change is necessary for selinux permisisons
Change-Id: I67c3b1272ef147a440279d7f20418f1e268508d9
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
|
|
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.
Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
|
|
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
|
|
Treble compliance.
Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets
Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
|
|
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: Iaa2a8a42e4e3fd941c5be0f8fa691245cdb429e9
Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
|
|
Bring it in line with hardware/sony/timekeep/vendor/etc/init/timekeep.rc
Change-Id: I58a716741113b6e5afebc877a6205f8e5d63a476
|
|
* Relabel all /sys/class/rtc files from sysfs to sysfs_rtc so that
timekeep has restricted access permission.
Change-Id: I583e407fcbf0127698319f68a8f69c969e1a1b49
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
|
|
The kernel does not support aio with ffs.
Set the property so adb/mtp know to use the compatible
functions, and the same while in recovery.
Bug: 37916658
Test: Use adb / use adb in recovery
Change-Id: I540b979ee0890aa8e9b20ec7d4332c4193952c46
|
|
This is used to enabled HVDCP (Quick Charge 2.0) negotiation
Without this service, HVDCP chargers will treat the device as
a non-HVDCP-capable one.
Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Ic6921af66e86eed3e41c523a5543530c409fda18
(cherry picked from commit 1996c89092a98db01981378a18906f59e6d6f32c)
|
|
This fixes WiFi Display on Z3 and Z3C.
Change-Id: I9d6c3fe215d0c9de6b1fa38b68d0cf6cc5a2229b
|
|
* Fixes MHL
Change-Id: Ie97ec60eda7024cf859d98c0ed71f3e762c57975
|
|
|
|
* Vold now use 'usb' instead of 'usbdisk' for OTG
storage.
Change-Id: I794a3296786cebb27942b175be3b6a9b49a11d70
Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
|
|
* The cameraserver has been separated from the media-
server with Android N. Hence, camera-related files
need to be ownerd by the "camera" group.
Chown the flash sysfs to account for this. Otherwise,
flash will not work and prevent saving pictures if
flash is used.
Change-Id: I86c19e555683740db74665c0d0986462c2ef4697
Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
|
|
Change-Id: I61cebaf778545f0953b96b14b50874d61e062b97
|
|
* Limits security exposure from shims
* As a bonus, we no longer need noatsecure
to make LD_SHIM_LIBS persist through services
Change-Id: I877192422062f3e59c81a7130ad1a2b4be5d1647
|
|
* remove the audiod from qcom.rc init file
Change-Id: I770b757eaa4c6688a30dafbaa9055a78371da0ae
|
|
Change-Id: I5504c2b631e6826454e174662146dc03632b8d87
Signed-off-by: nailyk <nailyk_git@nailyk.fr>
|
|
* zramstream do not exist anymore in system/core/fs_mgr .
Use max_comp_streams instead.
Change-Id: Ic84c7b5b59eeaedcf8290c351b094bec0e83e372
Signed-off-by: nailyk <nailyk_git@nailyk.fr>
|
|
|
|
Change-Id: I40784085c259de7bb7b1ed01408df87704065a6c
Signed-off-by: nailyk <nailyk_git@nailyk.fr>
Signed-off-by: Arian <arian.kulmer@web.de>
|
|
Change-Id: I6ac02c26a39e14660b0e397abccda0680e3a53da
Signed-off-by: nailyk <nailyk_git@nailyk.fr>
Signed-off-by: Arian <arian.kulmer@web.de>
|
|
* 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>
|
|
Change-Id: If1180961ccdb10c1fd63fd2fac9276148047ab47
|
|
* 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>
|
|
Change-Id: Idea087c18e632e9d6a43ddb4b8275a9b1510d224
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
Change-Id: Iab7abd2d5e43ce4cd855f8612cb7b2ebbe6b762a
|
|
Change-Id: Iee818f5a42056206e9dfd5fcc6f1c52ce3b69df3
|
|
* 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>
|
|
* 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>
|
|
Change-Id: I7a4e366f1e06a569035b1ab3fc2acb7c91057a4f
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
Change-Id: I0d20764367926d22cf230feb6cd36a628bf90e58
|