Age | Commit message (Collapse) | Author |
|
* 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
|
|
Change-Id: Ibb373dac77f75c4962768ceed432b8f7fe175460
|
|
- Boot phone in interactive mode instead of performance
- Add TWRP config
Squashed with:
shinano-common: init: Add back init.recovery
* Add back init.recovery to copy file with the real name instead
of copy/rename at the same operation.
* Import init.qcom.power from init.recovery to allow mitigation
on recovery.
* Create bootdevice symlink as lot of zip use it.
Rework qcom.power init change ID:
Change-Id: I647c09e430bc3904ff526ed662191e7d3b833e0b
|
|
* Next to the AIDs remove credmgrd init script need some reworks.
Root perm at startup is needed for chmod/chown.
Change-Id: I9373820c8d0d2fc68e25d671ffbf638fead75316
|
|
* Camera can work without sony specific users.
Remove them.
Change-Id: Idb359fa33532c1fa2b8f042362bb027f76ec31e4
|
|
Change-Id: Ie2ed042cfc5e97a71e0485fc048580b9f04cf694
|
|
Change-Id: Iee2115a8143b501f0cf265a650351c291e8006f2
|
|
Change-Id: I12ff6e794e6993940284e6dfb48b718c40fdd3b1
|
|
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>
|
|
Change-Id: I1fee8c6ff28e2011d85cc6fa18c01560af12c8dc
|
|
Change-Id: I2d8304da9ca128e59df8e324330842ad46638e04
|
|
Change-Id: Ifa282ce22563f513cbd632084346e6f6bd2af059
|
|
* Correct some sed mistakes.
Change-Id: I9f08615c0e622740fdc7ab80b25855dc03c87a74
|
|
* Init class on post-fs has been deprecated. Use on post-fs-data instead.
* Don't create /cache/credmgr.log (it prevented initcredmgr from starting)
Change-Id: Icf275a51de665cfeb28e9f860a64a38bf4226b6a
|
|
* 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
|
|
Change-Id: I4c1d6b7201a09561240f193daab23e4ba8d39e8a
|
|
Change-Id: I4382b2e151cfa98a75a4be60c71d19a01145dc79
|
|
To allow netmgrd to acquire wakelocks correctly
we need to ensure that it belongs to system group
Bug: 24546055
Change-Id: I6231c7d1eb57a12da9be4f081e085e6f1d43b797
|
|
* 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
|
|
bluetooth group
|
|
Change-Id: Ie7c0ecaf48622c8d0bd47591d819e608c7d40fb8
|
|
Change-Id: Iab1ab0ba085d3eb59f50d97079531ab77bf58ad2
|
|
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>
|
|
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
|
|
* With the introduction of kipper widevine blobs, a shim for libwvm is
no longer necessary
Change-Id: I82c44e74dcdbb88e50536ca23c64fe2927b5f1eb
|
|
* Moved from vendor repos
* Also remove the associated product_packages copying
Change-Id: I28a906e0bd0c08bba20d22d25122f99bd84669a8
|
|
Remove "data=ordered" as this is the default value.
Remove "errors=panic"
Removed msm_sdcc.3 mount
Change-Id: Id1496dd8f69667a806eddab9b33bcfbe12590bc8
|
|
* 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
|
|
- Boot phone in interactive mode instead of performance
- Add TWRP config
Change-Id: I647c09e430bc3904ff526ed662191e7d3b833e0b
|
|
* Not sure if this worked anyway
Change-Id: Ie2910210229c7ba2c2d7d28cb5c1dcba7ad0cff5
|
|
Change-Id: I63c28db08b4a21c071a93e1b459071d253560f92
|
|
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
|
|
Rename it to reflect that the init is platform specific (i.e: shinano,
rhine, etc).
Change-Id: Ic12bedb317ebce2757c307a4de3dbc8f693f5a31
|
|
Change-Id: I4b4efddf28c00eaa3c46cf7a1cd75fbf2d015a73
|
|
These are common to all sony msm8974 devices
Change-Id: Ia5450d6997c2e71646ad0787e095b17195aa10e4
|
|
These are already defined by init.rc
Change-Id: I31d57f8b1e2a028fd25c4190d57dc6ccad7f643f
|
|
- Values taken from stock .291 kernel
Change-Id: Ia51d9ea493518b7a917e39992720ae9df18cefaa
|
|
Seems obsolete now, time syncing works fine without it.
Change-Id: I76b4e44d05c66b059497a17e1776e2255bb00549
|
|
Change-Id: I89f1d1e6c3eab501b74c273d1d7ebdca3188c063
|
|
Change-Id: I90345c3235a3feaf64148ff05f67648515ca9f34
|
|
Change-Id: I04a4d171ef95dc43c6fc59f6ee2075b827ec6c4d
|
|
- Based on msm8974 dts kernel config
- This replaces the need for the entry in thermanager.xml
Change-Id: I6973d2c21212dc1b7816b5a0174812159f6e41d9
|
|
- Reference from .291 kernel
Change-Id: Icaed3621992238c5815bdb8ca9ca0861104aa5f2
|
|
- msm-adreno-tz is set by default, this line should only be used
if we wanted to set a different governor under different
powermodes.
Change-Id: I0357e2d4e77191470c2af6121cf4273e0fd67f7a
|
|
- Add common init.device.rc for shinano devices.
Change-Id: I9793279a529551106cf31dc1c39844fa9274bb5b
|
|
- 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
|
|
- We don't use chargemon anymore (now it's healthd)
remove unused/deprecated entries.
- Remove debug_mask (doesn't exists here)
Change-Id: Ic61ec552504691a725e5a3ac89bbbf730a703474
|
|
Sony camera blobs are encrypted, so they need
com.sonyericsson.permission.CAMERA_EXTENDED permission from original
camera to be present in apk to enable Sony custom options (4k video,
iso settings, etc)
camera.qcom.so checks if this permission is available in current camera
app but it can be bypassed when "ro.build.type=eng" thus enabling Sony
camera options. The point of this shim is to make camera.qcom.so believe
that we're currently on an engineering android rom so it bypasses the
permission check allowing camera apps to have full capabilities.
-----------------------------------------------------------------------
Credits to Balázs Triszka from sony-kitakami
Change-Id: I14ef800608c7ed7a95921dd71a56702ed2d68b18
-----------------------------------------------------------------------
Change-Id: I2052aa30fbd30a730ea7b9c60b98f35f99314a51
|
|
Change-Id: I4d6263e6f475c79c68d6d5c7c7903d28822e37f0
|
|
Change-Id: I5c0a524da2c3149025f3a931e953350ea723eeb3
|
|
Change-Id: I1dbbaf3f0f4da8c7bff31210d43b27fb6f138b39
|
|
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
|
|
The new RQBalance-PowerHAL deprecates configuration through
Android properties.
Now the configuration is parsed from an XML, located at
/system/etc/rqbalance_config.xml.
Change-Id: Iebc85a4f420e9b471139063a03a3831f95be5e28
|