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
|
|
|
|
|
|
|
|
|
|
* Move common TARGET_LD_SHIM_LIBS to msm8974-common
* Drop libsonycamera, simply replace the permission
sed -i "s|com.sonyericsson.permission.CAMERA_EXTENDED|android.permission.CAMERA\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0|g" \
lib/hw/camera.vendor.qcom.so
|
|
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
|
|
|
|
* Also update DRM and TA related blobs for camera functionality
Change-Id: I9e2303dd5f0fcf176702c8cb9bc25ac40850ad5f
|
|
* Excluding camera and related DRM, as they were done in a seperate
commit
Change-Id: I8493c0afa0489fec23670b6fa3c2dcff1a6b3352
|
|
* Fix build.
* Revert GraphicBuffer method to Marshmallow (for 23.5.A.1.291 blobs).
* Apply module loading changes.
* TODO: Remove unneeded sources.
Change-Id: Ifce6a23840bd8c6170e0b8a714233d7b5e99acb4
|
|
* Copy from Pie framework sources.
Change-Id: I903eb0c3c80a752d4a8da44dec47e348c7dd23fc
Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
|
|
we need updated sources that break rhine compatibility for working cam
Change-Id: I274c91efc797b0304a2074baf4b908766d321356
Signed-off-by: Nikhil Punathil <nikhilpe@gmail.com>
|
|
|
|
|
|
|
|
Change-Id: I45c5a123c86f3a9ec1ac72011c018a937d4fc70f
|
|
- Remove the define "HCILP_INCLUDED false" to allow Android's bt stack
emitting BT_WAKE calls again.
- Switch back from using the IOCTL interface to the ProcFS interface to
make the wake asserts for BT. Since we now use the brcm ldisc driver and
the interface functionally equivalent, we do not need to implement a
special IOCTL handling in the ldics driver's code.
Change-Id: I9b8fa941619aac657c4c6d6dc3053e7c1cf1d480
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
Use ro.product.device property and naming BT dynamically.
Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Iff4f4dd51a2ad5588e35c14dbf70b63e1d69a940
|
|
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121
Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
Signed-off-by: Arian <arian.kulmer@web.de>
|
|
02-20 17:19:50.305 463 463 E MediaCodecsXmlParser: Cannot find the role for a decoder of type video/divx
02-20 17:19:50.305 463 463 E MediaCodecsXmlParser: Cannot find the role for a decoder of type video/divx311
02-20 17:19:50.305 463 463 E MediaCodecsXmlParser: Cannot find the role for a decoder of type video/divx4
02-20 17:19:50.305 463 463 E MediaCodecsXmlParser: Cannot find the role for a decoder of type video/x-ms-wmv
Change-Id: I21e6634343e106aee0a9ded8effc9461c3a45acf
|
|
Fixes double tap to wake on enforcing
Change-Id: Iaef8822a283e18ad40656bf679acea7de6075662
|
|
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>
|
|
Change-Id: I03a252ff820d5bd8dde8faac5fa293242aaef1f2
|
|
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>
|
|
* rhine also uses msm8974-common but has got problems with bluetooth impl so we move it to shinano-only
Change-Id: I49302f246a2aa9f5b1c83883a661807396b21010
|
|
* Add import_kernel_cmdline locally to avoid
build errors from weird headers dependency chain
* Rework on bacons implementation
Change-Id: I9a0c9c5d0691340f24808348e679ed2a11ac12d5
|
|
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)
|
|
Change-Id: I5779e67d305fa7720460f836ad30249147049ea3
|
|
- Enable 4k UHD
- Based on Sony .291 parameters
- Force 720p@120fps and 1080p@60fps
- Updated values from LA.BF64.1.2.3_rb1.13
Change-Id: I070f44e261c553e25376d70e3e3c4a866a853a9f
|
|
Was removed somewhere so add it back. Also present on stock.
Change-Id: Ie77ab4ef535de81d976b7652f190f7fbcffeb5fb
|
|
EDIT: Bring in line with upstream
Change-Id: Ic4435dd9a225dcc01ff73a0d9ec7078213249ea0
|
|
This fixes WiFi Display on Z3 and Z3C.
Change-Id: I9d6c3fe215d0c9de6b1fa38b68d0cf6cc5a2229b
|
|
* Fixes MHL
Change-Id: Ie97ec60eda7024cf859d98c0ed71f3e762c57975
|
|
media_profiles_V1_0.xml is created from media_profiles.xml by replacing
the dtd schema inside media_profiles.xml with an external reference to
/system/etc/media_profiles_V1_0.dtd.
Test: Compiles
Bug: 36430270
From: Pawin Vongmasa <pawin@google.com>
Date: Wed May 03 22:42:57 2017 -0700
Remove the property media.settings.xml.
This CL also removes media_profiles.xml as it should be replaced by
media_profiles_V1_0.xml.
Bug: 36430270
Merged-In: I4299abfde44ced36560736520d0be592894d00a7
Change-Id: I4299abfde44ced36560736520d0be592894d00a7
Merged-In: I2bdd38bc8e85cdb64c4729a6ebc843f5031c127c
Change-Id: I2bdd38bc8e85cdb64c4729a6ebc843f5031c127c
Signed-off-by: Chippa-a <vusal1372@gmail.com>
Signed-off-by: Adrian DC <radian.dc@gmail.com>
|
|
Change-Id: I915f6cee8ba8356eb2ea888f42f22eacd0ae3a0b
|
|
|
|
* Vold now use 'usb' instead of 'usbdisk' for OTG
storage.
Change-Id: I794a3296786cebb27942b175be3b6a9b49a11d70
Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
|
|
Change-Id: Ie60eae35dcc9c53c6a0064594689631802190a75
|
|
* 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
|
|
Change-Id: Ife08e9c41024331ca190ff6612ae8be5764a4ceb
|
|
* 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>
|
|
Already defined in device/aicp/sepolicy
|
|
|
|
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: I9a0221d16bee9bbdf99d01d658d6d81ab990f45c
|
|
Change-Id: If1180961ccdb10c1fd63fd2fac9276148047ab47
|
|
Change-Id: If00adbc448f08e0690963390ad392f28a321104e
|
|
... The policy file was missing from commit
https://github.com/omnirom/android_device_sony_shinano-common/commit/c9d825a67a3074f100a9c8486a1acdedccdbbb78
Change-Id: I530e10c1a4e41d718cf2f80f3fb91e07579c63b5
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
* 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: Id6dd04a1c7c5fa5ce6d0158ace578c614c0e1639
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
* Grand access to qseecomd.
* Grant access to bluetooth properties.
Change-Id: Iacd41d8c313e1137c66e76da2ee2c4db7b3f4883
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
Change-Id: Idea087c18e632e9d6a43ddb4b8275a9b1510d224
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
I mlog_qmi_servic: type=1400 audit(0.0:37): avc: denied { create } for scontext=u:r:mlog_qmi:s0 tcontext=u:r:mlog_qmi:s0 tclass=socket permissive=1
Change-Id: Ic659f526a436afd4509dea0a3780aa38f78b4875
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
Change-Id: If43560ba59f25a84cf7f76eeba1de203d0e6dc70
|
|
Change-Id: I77f72b9541b8adcc152fe64e45fd4528cff60f4f
|
|
Change-Id: Iab7abd2d5e43ce4cd855f8612cb7b2ebbe6b762a
|
|
* Replaced with vibrator service
Change-Id: I9aa2d3875d9cc230ec4296f5b05e0ceb5d67cb54
|
|
* Automated detection removed in following commit:
https://review.lineageos.org/#/c/192397/
Change-Id: I613c1756f52d78e5af9033a810a86968a0f3623e
|
|
Change-Id: Iee818f5a42056206e9dfd5fcc6f1c52ce3b69df3
|
|
Change-Id: Id5c596337788c329e274c5fb7db6eefa7fbb87d1
|
|
Change-Id: I553837282f0a785162b7799b65a3a6b2d406599f
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
* Label FW path (for the communication with the kernel).
* Allow the HAL (Treble) service to read the FW files.
Change-Id: I50c43882bf1837e87cc4609de74caf4ed7aa78c5
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
* 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>
|
|
* Create socket perms for the own socket.
* Allow access to qseecom.
Change-Id: Ifbd5f08f1d9bbbadc3ba94ad79d1e8f7f5286635
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: Ic57cef209a187c355feb6a509f3d9fdcfb39cdf8
|
|
Change-Id: I0d20764367926d22cf230feb6cd36a628bf90e58
|
|
Change-Id: Iac19da048794e0e802142f765827b51e05fb3d62
|
|
Change-Id: Idbc1b1a8501647a4b525beacd7f1455a74473f35
|
|
Change-Id: I3156a524132d9f1459874998aa0d4eeff2e562ca
Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
|
|
Change-Id: Ie7d708e2457928de0fe2e75054bda0dc3d66afa6
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
|
|
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
|
|
Change-Id: Ia33c2b403922198847da9773c0cf1c02e2c62597
|
|
* 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
|