RomanDesigner
71ae2a9336
msm8226-common: try to fix offline charging
2020-05-17 20:50:41 +03:00
RomanDesigner
dde4a9b557
msm8226-common: correct charger path
...
With Android 10, Google introduced SAR (system-as-root), so now /system is rootdir.
Charger ignores it, so system will be in /system/system
2020-05-17 14:41:33 +03:00
matteo0026
b0b25241c6
msm8226-common: Transition to consumerir HIDL hal
2020-05-16 16:22:24 +02:00
matteo0026
a714638a5a
msm8226-common: make msm8226 init files
2020-05-16 16:22:04 +02:00
RomanDesigner
4cc050c158
msm8226-common: decrease heap to 256MB
2020-05-08 10:59:06 +03:00
RomanDesigner
d483b33185
msm8226-common: Don't use Go defaults
...
* We can't set custom heap size in msm8226.mk because of it
* Set heap size to 384 MB to solve crashing apps problem
2020-05-07 14:10:44 +03:00
Roman Rihter
72b78959d0
msm8226-common: fix sepolicy build error
2020-04-23 12:19:36 +03:00
Roman Rihter
ff25828671
msm8226-common: use 512MB Go config instead of default
...
For increasing performance
2020-04-22 23:00:07 +03:00
Wei Wang
e0e6614e51
msm8226-common: skip wait for hwservicemanager
...
Wait for hwservicemanager is no longer needed
after this CL:
https://android-review.googlesource.com/#/c/356043/
Bug: 36399429
Test: nash boot
Signed off by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I12c5adab70dc519b5e834eb35262ff73d214978b
2020-04-22 22:49:04 +03:00
Wei Wang
545fca6a42
msm8226-common: Make sure graphics HAL services started before mounting data
...
Bug: 36409349
Signed off by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323
2020-04-22 22:47:50 +03:00
Chia-I Wu
20c862831e
nash: Start hwservicemanager early
...
Test: builds and boots
Bug: 35173320
Change-Id: I9f060904174103a6a145a83cbb4c100728ff6df6
2020-04-22 22:44:57 +03:00
Wei Wang
673882b27c
msm8226-common: start bootanim before mounting data partition (init part)
...
Bug: 30118894
Signed off by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: If84764e3ce51f467b2dfa867ce28e1e396422d45
2020-04-22 22:42:10 +03:00
Roman Rihter
6dfa508910
msm8226-common: sepolicy bringup for Q (FINAL PART)
2020-04-22 22:11:59 +03:00
DJABhipHop
6bb52d5a0c
msm8226-common: sepolicy: Fix even more errors
...
WiFi, Audio & Bluetooth now work 100%!!!!
2020-03-13 12:04:11 -04:00
RomanDesigner
a0c7e49b26
msm8226-common: sepolicy: Fix more errors
2020-03-11 11:11:11 +03:00
RomanDesigner
ec3ab6930e
Fix sepolicy errors
2020-03-11 11:03:44 +03:00
RomanDesigner
6ab05867f2
msm8226-common: Allow init to mount firmware_file dirs
2020-03-11 10:57:11 +03:00
RomanDesigner
82721325fa
msm8226-common: Remove non-needed allows
2020-03-11 10:47:13 +03:00
RomanDesigner
d925b0625c
msm8226-common: Remake Android Go optimizations
2020-03-10 18:58:14 +03:00
RomanDesigner
2f79cb53e0
Merge branch 'lineage-17.1' of github.com:S3NEO/android_device_samsung_msm8226-common into lineage-17.1
2020-03-10 18:33:25 +03:00
Mohammad Afaneh
1907fef93b
[SQUASH] msm8226-common: bringup sepolicy to Q
2020-03-10 18:31:46 +03:00
RomanDesigner
adf16e831a
msm8226-common: sepolicy: Add charger policy
...
* This is a copy of sepolicy/common/healthd.te file
2020-03-10 18:26:20 +03:00
Arian
5756d067a1
msm8226-common: rootdir: Set usb to mtp on charger
...
* Otherwise adb will try to start and crash the device
while offmode charging at a computer.
Change-Id: I4752de69b765c4528cedf0ce58092a882bc584a3
2020-03-10 18:26:20 +03:00
RomanDesigner
3b9c1d533f
msm8226-common: init: add charger seclabel back
2020-03-10 18:26:20 +03:00
Paul Keith
a7ec81ccbf
Revert "msm8226-common: Don't mess with APN or CDMA CarrierConfig options"
...
* It turns out, this is now necessary for Sprint
This reverts commit b1352d7bec
.
Change-Id: Ifaa71b0cfc0879d881a8ab9d1cb54aa8255a74d2
2020-03-10 18:26:20 +03:00
Roman Rihter
fb891a69fd
msm8226-common: Don't include go_defaults.mk
...
It breaks build, and ROMs with this shit are not booting
2020-03-02 14:59:34 +03:00
RomanDesigner
b4bf3e8edd
msm8226-common: sepolicy: Add charger policy
...
* This is a copy of sepolicy/common/healthd.te file
2020-02-29 18:51:49 +03:00
LuK1337
d299af582b
msm8226-common: Inherit Android Go configuration product
...
Signed-off-by: iKeramat <iKeramat80@gmail.com>
Change-Id: I5ec53a3502be28559146dbcc8ab1af850b732e8b
2020-02-29 18:46:02 +03:00
Arian
c111833eb0
msm8226-common: rootdir: Set usb to mtp on charger
...
* Otherwise adb will try to start and crash the device
while offmode charging at a computer.
Change-Id: I4752de69b765c4528cedf0ce58092a882bc584a3
2020-02-27 23:32:58 +03:00
RomanDesigner
28d885ca53
msm8226-common: init: add charger seclabel back
2020-02-27 23:31:00 +03:00
Paul Keith
4fce9c5328
Revert "msm8226-common: Don't mess with APN or CDMA CarrierConfig options"
...
* It turns out, this is now necessary for Sprint
This reverts commit b1352d7bec
.
Change-Id: Ifaa71b0cfc0879d881a8ab9d1cb54aa8255a74d2
2020-02-27 23:18:31 +03:00
Arne Coucheron
ff6ff0911a
msm8226-common: sepolicy: Resolve mediaprovider denial on external storage
...
Change-Id: I64ea2cef7c4dfad3f9ecbfb80727fc3a45e29ef8
2020-02-27 23:08:13 +03:00
Arne Coucheron
a25985218a
msm8226-common: sepolicy: Fix wifi.active.interface denial
...
selinux: avc: denied { set } for property=wifi.active.interface pid=253 uid=0 gid=1010 scontext=u:r:hal_wifi_default:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0
Change-Id: Ic06c5b6eb64a01ec5687e0a2dc778455ae0a7b59
2020-02-27 23:06:16 +03:00
RomanDesigner
6ca1b24cde
msm8226-common: sepolicy: base bringup to Q
2020-02-27 22:48:32 +03:00
RomanDesigner
e8af831705
[DNM] msm8226-common: selinux: set enforcing state back
2020-02-27 22:44:52 +03:00
Sujin Panicker
2a8ce17641
msm8226-common: media: Update opus omx codec ranking
...
Update opus omx codec ranking to give c2 implementation
higher priority.
Change-Id: Id6f1064483980e5fb9079ef19163ada083f6de60
2020-01-25 20:13:13 +03:00
ripee
eba5589d67
msm8226-common: sepolicy: Define sysfs_disk_stat
2020-01-25 20:10:19 +03:00
Demon Singur
2b78290510
msm8226-common: rootdir: Do not symlink sdcard legacy path
...
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
2020-01-25 20:06:29 +03:00
Tri Vo
f851456f2d
msm8226-common: Move device-specific entries to /vendor/ueventd.rc
...
Change-Id: I1e530edace4c5692bc1fa063eb731c6551e39da6
2020-01-25 20:00:56 +03:00
Abhishek Arpure
1daf0485a9
msm8226-common: Move ueventd.qcom.rc to /vendor
...
Change-Id: Iab2699bf26ca4402b835d1af8d4493f9b28595d9
2020-01-25 19:57:01 +03:00
RomanDesigner
e9bd7422fe
[DNM] msm8226-common: Remove charger's seclabel
2020-01-25 19:44:42 +03:00
Subbaraman Narayanamurthy
ba042ba0a3
msm8226-common: rootdir: add CAP_SYS_BOOT for charger
...
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.
Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
2020-01-25 19:43:50 +03:00
Subbaraman Narayanamurthy
87b6b7223e
msm8226-common: Change user/group permission for for charger
...
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
2020-01-25 19:42:59 +03:00
Subbaraman Narayanamurthy
a21254abcd
msm8226-common: rootdir: Update charger service path
...
charger binary is moved to /system/bin. Update it accordingly.
* also set seclabel
Change-Id: I78574238f9fc5ec028d10ab866676bfc0cd36370
2020-01-25 19:41:38 +03:00
RomanDesigner
327ee766cf
msm8226-common: Don't fix /dev/alarm permission in init
...
We are already fixed it in ueventd.rc, so this is not needed now
This reverts commit 88892c76f5
.
2020-01-25 19:36:52 +03:00
Alex Naidis
12744f193e
msm8226-common: overlay: Add missing ephemeral resolver package definition
...
GMS needs to be considered a package which contains
an ephemeral resolver to match with vendor/google.
Change-Id: Iaa839d09b436ea3f5d7015169589d34c001a721e
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2020-01-24 16:38:09 +03:00
beanstown106
a409c8b423
msm8226-common: overlay: Add the google location provider
2020-01-24 16:37:15 +03:00
Kevin Tang
57aa215504
msm8226-common: gps: Sub milli sec part in the relevant NMEA Strings
...
NMEA Strings should introduce the sub milli sec part in the
relevant NMEA Strings for NHZ Sessions
Change-Id: I9bac4caa26e87741e5e82e16a8047af20ac8012b
CRs-Fixed: 951144
2020-01-24 16:22:29 +03:00
Steven Moreland
a08bb59d7b
msm8226-common: Remove libhwbinder/libhidltransport deps
...
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I640a3f0e0839214523627bf0b59fd5ae9dd2c61c
2020-01-24 16:20:14 +03:00
dev-harsh1998
67be5b8d30
msm8226-common: rootdir: Assign gps group to camera
...
* fixes geotagging of photos
Change-Id: I79a62012d94b3e3ffb5f76aaa6d55707dc2b32c4
Signed-off-by: Ad!thya R <gh0strider.2k18.reborn@gmail.com>
2020-01-24 16:08:24 +03:00